mirror of
https://github.com/apache/maven.git
synced 2025-02-28 05:39:15 +00:00
ordering is not important, and can vary
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@670347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16a288c93a
commit
cec28aabe8
@ -30,6 +30,7 @@
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.StringReader;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
@ -485,9 +486,11 @@ public void testShouldMergePluginConfigurationSubItemsWithMergeAttributeSet()
|
||||
|
||||
Xpp3Dom[] item = items.getChildren();
|
||||
|
||||
assertEquals( "one", item[0].getValue() );
|
||||
assertEquals( "two", item[1].getValue() );
|
||||
assertEquals( "three", item[2].getValue() );
|
||||
List<String> actual = Arrays.asList( item[0].getValue(), item[1].getValue(), item[2].getValue() );
|
||||
List<String> expected = Arrays.asList( "one", "two", "three" );
|
||||
Collections.sort( actual );
|
||||
Collections.sort( expected );
|
||||
assertEquals( expected, actual );
|
||||
}
|
||||
|
||||
public void testShouldMergeTwoPluginDependenciesOnMergeDupePluginDefs()
|
||||
|
Loading…
x
Reference in New Issue
Block a user