maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r942067 - /maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
Date Fri, 07 May 2010 13:24:03 GMT
Author: bentmann
Date: Fri May  7 13:24:02 2010
New Revision: 942067

URL: http://svn.apache.org/viewvc?rev=942067&view=rev
Log:
[MNG-466] Adjust the expected message string in MavenITmng2690MojoLoadingErrorsTest
Submitted by: Stuart McCulloch

Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java?rev=942067&r1=942066&r2=942067&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
(original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
Fri May  7 13:24:02 2010
@@ -104,7 +104,7 @@ public class MavenITmng2690MojoLoadingEr
 
         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 (i|wa)s 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()
);



Mime
View raw message