display warning on test failure

This commit is contained in:
Eric Barboni 2014-04-24 02:53:19 +02:00
parent 6028e69630
commit a106ffd8fe
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ public class LegacyToDefaultConverterTest
private void checkSuccess( ArtifactConverter converter ) private void checkSuccess( ArtifactConverter converter )
{ {
assertNotNull( "Warnings should never be null.", converter.getWarnings() ); 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 ) private void checkWarnings( ArtifactConverter converter, int count )