You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/03/13 09:28:17 UTC

svn commit: r1081058 - /maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java

Author: hboutemy
Date: Sun Mar 13 08:28:17 2011
New Revision: 1081058

URL: http://svn.apache.org/viewvc?rev=1081058&view=rev
Log:
improved error message, since this tests fails sometimes on grid on Windows

Modified:
    maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java

Modified: maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java?rev=1081058&r1=1081057&r2=1081058&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java Sun Mar 13 08:28:17 2011
@@ -525,7 +525,8 @@ public class TestUnpackMojo
 
         assertTrue( time == unpackedFile.lastModified() );
         mojo.execute();
-        assertTrue( time != unpackedFile.lastModified() );
+        assertTrue( "unpackedFile '" + unpackedFile + "' lastModified() == " + time + ": should be different",
+                    time != unpackedFile.lastModified() );
     }
 
     public void assertUnpacked( ArtifactItem item, boolean overWrite )