public class DefaultInheritanceAssemblerTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
DefaultInheritanceAssemblerTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testFlatTrickyUrls()
Tricky case: flat directory structure, but child directory != artifactId.
|
void |
testFlatUrls()
Flat directory structure: parent & child POMs in sibling directories, child directory == artifactId.
|
void |
testInheritance(String baseName) |
void |
testInheritance(String baseName,
boolean fromRepo) |
void |
testModulePathNotArtifactId() |
void |
testNoAppendUrls()
MNG-5951 MNG-6059 child.x.y.inherit.append.path="false" test
|
void |
testNoAppendUrls2()
MNG-5951 special case test: inherit with partial override
|
void |
testNoAppendUrls3()
MNG-5951 special case test: child.x.y.inherit.append.path="true" in child should not reset content
|
void |
testPluginConfiguration() |
void |
testUrls()
Check most classical urls inheritance: directory structure where parent POM in parent directory
and child directory == artifactId
|
void |
testWithEmptyUrl() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toStringprotected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void testUrls()
throws Exception
IOException - Model read problemExceptionpublic void testFlatUrls()
throws IOException
IOException - Model read problempublic void testNoAppendUrls()
throws Exception
Exceptionpublic void testNoAppendUrls2()
throws Exception
Exceptionpublic void testNoAppendUrls3()
throws Exception
Exceptionpublic void testFlatTrickyUrls()
throws IOException
IOException - Model read problempublic void testWithEmptyUrl()
throws IOException
IOExceptionpublic void testInheritance(String baseName) throws IOException
IOExceptionpublic void testInheritance(String baseName, boolean fromRepo) throws IOException
IOExceptionpublic void testModulePathNotArtifactId()
throws IOException
IOExceptionCopyright © 2001–2019 The Apache Software Foundation. All rights reserved.