mirror of https://github.com/apache/maven.git
Test type inheritance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d4125cbafc
commit
1797335136
|
@ -70,6 +70,8 @@ public class DefaultModelInheritanceAssemblerTest
|
|||
|
||||
Model child = new Model();
|
||||
|
||||
child.setType( "plugin" );
|
||||
|
||||
Build childBuild = new Build();
|
||||
|
||||
UnitTest childUT = new UnitTest();
|
||||
|
@ -107,5 +109,8 @@ public class DefaultModelInheritanceAssemblerTest
|
|||
assertEquals( "UT resources inherited from parent should be of size 1", 1, utResources.size() );
|
||||
assertEquals( "first UT resource should have dir == src/test/resources", "src/test/resources",
|
||||
((Resource) utResources.get( 0 )).getDirectory() );
|
||||
|
||||
assertEquals( "plugin", child.getType() );
|
||||
assertEquals( "jar", parent.getType() );
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue