]> source.dussan.org Git - archiva.git/commitdiff
display warning on test failure
authorEric Barboni <skygo@apache.org>
Thu, 24 Apr 2014 00:53:19 +0000 (02:53 +0200)
committerEric Barboni <skygo@apache.org>
Thu, 24 Apr 2014 00:53:19 +0000 (02:53 +0200)
archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java

index 6333b4d9ef8a7461cb8a5c05bea9581a94f0738f..a737e845e36565ae6180e30d30ce8b3c3f2f89db 100644 (file)
@@ -1001,7 +1001,7 @@ public class LegacyToDefaultConverterTest
     private void checkSuccess( ArtifactConverter converter )
     {
         assertNotNull( "Warnings should never be null.", converter.getWarnings() );
-        assertEquals( "Should have no warnings.", 0, countWarningMessages( converter ) );
+        assertEquals( "Should have no warnings. " + converter.getWarnings(), 0, countWarningMessages( converter ) );
     }
 
     private void checkWarnings( ArtifactConverter converter, int count )