maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r677318 - /maven/plugins/trunk/maven-shade-plugin/src/test/java/org/apache/maven/plugins/shade/relocation/SimpleRelocatorTest.java
Date Wed, 16 Jul 2008 15:57:12 GMT
Author: bentmann
Date: Wed Jul 16 08:57:12 2008
New Revision: 677318

URL: http://svn.apache.org/viewvc?rev=677318&view=rev
Log:
o Extended unit tests

Modified:
    maven/plugins/trunk/maven-shade-plugin/src/test/java/org/apache/maven/plugins/shade/relocation/SimpleRelocatorTest.java

Modified: maven/plugins/trunk/maven-shade-plugin/src/test/java/org/apache/maven/plugins/shade/relocation/SimpleRelocatorTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/test/java/org/apache/maven/plugins/shade/relocation/SimpleRelocatorTest.java?rev=677318&r1=677317&r2=677318&view=diff
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/test/java/org/apache/maven/plugins/shade/relocation/SimpleRelocatorTest.java
(original)
+++ maven/plugins/trunk/maven-shade-plugin/src/test/java/org/apache/maven/plugins/shade/relocation/SimpleRelocatorTest.java
Wed Jul 16 08:57:12 2008
@@ -39,6 +39,7 @@
         assertEquals( false, relocator.canRelocatePath( "org/foo/public" ) );
         assertEquals( false, relocator.canRelocatePath( "org/foo/public/Class" ) );
         assertEquals( false, relocator.canRelocatePath( "org/foo/public/Class.class" ) );
+        assertEquals( true, relocator.canRelocatePath( "org/foo/publicRELOC/Class" ) );
         assertEquals( true, relocator.canRelocatePath( "org/foo/PrivateStuff" ) );
         assertEquals( true, relocator.canRelocatePath( "org/foo/PrivateStuff.class" ) );
         assertEquals( false, relocator.canRelocatePath( "org/foo/PublicStuff" ) );
@@ -65,6 +66,7 @@
         assertEquals( false, relocator.canRelocateClass( "org.foo.Excluded" ) );
         assertEquals( false, relocator.canRelocateClass( "org.foo.public" ) );
         assertEquals( false, relocator.canRelocateClass( "org.foo.public.Class" ) );
+        assertEquals( true, relocator.canRelocateClass( "org.foo.publicRELOC.Class" ) );
         assertEquals( true, relocator.canRelocateClass( "org.foo.PrivateStuff" ) );
         assertEquals( false, relocator.canRelocateClass( "org.foo.PublicStuff" ) );
         assertEquals( false, relocator.canRelocateClass( "org.foo.PublicUtilStuff" ) );



Mime
View raw message