mirror of https://github.com/apache/archiva.git
display warning on test failure
This commit is contained in:
parent
6028e69630
commit
a106ffd8fe
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue