Class PomReaderTest

java.lang.Object
test.de.oktoflow.platform.maven.PomReaderTest

public class PomReaderTest extends Object
Tests PomReader.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • PomReaderTest

      public PomReaderTest()
  • Method Details

    • testNoPom

      public void testNoPom()
      Test no-POM and non-existing file.
    • testMainPom

      public void testMainPom()
      Test main POM.
    • testTestPom

      public void testTestPom()
      Test test POM.
    • testTestPom2

      public void testTestPom2()
      Test test POM2.
    • testReplacePom3

      public void testReplacePom3() throws IOException
      Replaces the POM version in testPom3.xml.
      Throws:
      IOException - shall not occur
    • testReplacePom

      public void testReplacePom() throws IOException
      Replaces the parent POM version in testPom.xml.
      Throws:
      IOException - shall not occur
    • testReplacePom2

      public void testReplacePom2() throws IOException
      Replaces POM and the parent POM version in testPom2.xml.
      Throws:
      IOException - shall not occur
    • testReplacePomProperties

      public void testReplacePomProperties() throws IOException
      Replaces the POM version in testPom3.xml including property.
      Throws:
      IOException - shall not occur