o Relaxed log parsing

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@811359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-09-04 12:05:00 +00:00
parent 99e67b151d
commit 0ba2089726

View File

@ -104,7 +104,7 @@ public void testNoClassDefFromMojoConfiguration()
List lines = verifier.loadFile( new File( testDir, "log.txt" ), false );
int msg = indexOf( lines, "(?i).*required class was missing during mojo configuration.*" );
int msg = indexOf( lines, "(?i).*required class was missing during (mojo )?configuration.*" );
assertTrue( "User-friendly message was not found in output.", msg >= 0 );
int cls = lines.get( msg ).toString().replace( '/', '.' ).indexOf( TestCase.class.getName() );