From a106ffd8fe6e377ae91c66a41b269272c5e2bf49 Mon Sep 17 00:00:00 2001 From: Eric Barboni Date: Thu, 24 Apr 2014 02:53:19 +0200 Subject: [PATCH] display warning on test failure --- .../converter/artifact/LegacyToDefaultConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )