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, toString
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testUrls() throws Exception
IOException
- Model read problemException
public void testFlatUrls() throws IOException
IOException
- Model read problempublic void testNoAppendUrls() throws Exception
Exception
public void testNoAppendUrls2() throws Exception
Exception
public void testNoAppendUrls3() throws Exception
Exception
public void testFlatTrickyUrls() throws IOException
IOException
- Model read problempublic void testWithEmptyUrl() throws IOException
IOException
public void testInheritance(String baseName) throws IOException
IOException
public void testInheritance(String baseName, boolean fromRepo) throws IOException
IOException
public void testModulePathNotArtifactId() throws IOException
IOException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.