fixed wrong UT for implementation configuration

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1185847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2011-10-18 20:45:35 +00:00
parent 30fa786338
commit 47be798d5b
2 changed files with 3 additions and 2 deletions

View File

@ -94,13 +94,13 @@ public class PluginDescriptorBuilderTest
assertEquals( "${jar.finalName}", pc.getValue() );
assertEquals( "${project.build.finalName}", pc.getAttribute( "default-value" ) );
assertEquals( "java.lang.String", pc.getAttribute( "implementation" ) );
Parameter mp = md.getParameters().get( 0 );
assertEquals( "finalName", mp.getName() );
assertEquals( "jarName", mp.getAlias() );
assertEquals( "java.lang.String", mp.getType() );
assertEquals( "java.lang.String", mp.getImplementation() );
assertEquals( true, mp.isEditable() );
assertEquals( false, mp.isRequired() );
assertEquals( "parameter-description", mp.getDescription() );

View File

@ -35,6 +35,7 @@
<name>finalName</name>
<alias>jarName</alias>
<type>java.lang.String</type>
<implementation>java.lang.String</implementation>
<required>false</required>
<editable>true</editable>
<description>parameter-description</description>
@ -42,7 +43,7 @@
</parameter>
</parameters>
<configuration>
<finalName implementation="java.lang.String" default-value="${project.build.finalName}">${jar.finalName}</finalName>
<finalName default-value="${project.build.finalName}">${jar.finalName}</finalName>
</configuration>
<requirements>
<requirement>