Package test.de.oktoflow.platform.maven
Class PomReaderTest
java.lang.Object
test.de.oktoflow.platform.maven.PomReaderTest
Tests
PomReader.- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest main POM.voidTest no-POM and non-existing file.voidReplaces the parent POM version in testPom.xml.voidReplaces POM and the parent POM version in testPom2.xml.voidReplaces the POM version in testPom3.xml.voidReplaces the POM version in testPom3.xml including property.voidTest test POM.voidTest test POM2.
-
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
Replaces the POM version in testPom3.xml.- Throws:
IOException- shall not occur
-
testReplacePom
Replaces the parent POM version in testPom.xml.- Throws:
IOException- shall not occur
-
testReplacePom2
Replaces POM and the parent POM version in testPom2.xml.- Throws:
IOException- shall not occur
-
testReplacePomProperties
Replaces the POM version in testPom3.xml including property.- Throws:
IOException- shall not occur
-