From: Eric Barboni Date: Thu, 24 Apr 2014 00:53:19 +0000 (+0200) Subject: display warning on test failure X-Git-Tag: archiva-2.1.0~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a106ffd8fe6e377ae91c66a41b269272c5e2bf49;p=archiva.git display warning on test failure --- diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java b/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java index 6333b4d9e..a737e845e 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java +++ b/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java @@ -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 )