Author: jdcasey
Date: Fri Oct  3 20:24:08 2014
New Revision: 1629309

URL: http://svn.apache.org/r1629309
Log:
now that plexus-compiler-api messages are being cleaned up (PR#24) we can make 
the integration test verification more strict

Modified:
    maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-224/verify.groovy

Modified: 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-224/verify.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-224/verify.groovy?rev=1629309&r1=1629308&r2=1629309&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-224/verify.groovy 
(original)
+++ 
maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-224/verify.groovy 
Fri Oct  3 20:24:08 2014
@@ -18,10 +18,10 @@
  */
 def log = new File( basedir, 'build.log').text
 
-def noteExists = log =~ /\[INFO\] (\w+: )?NOTE Test message\./
-def otherExists =  log =~ /\[INFO\] (\w+: )?OTHER Test message\./
-def warningExists = log =~ /\[WARNING\] (\w+: )?WARNING Test message\./
-def mandatoryWarningExists = log =~ /\[WARNING\] (\w+: )?MANDATORY_WARNING 
Test message\./
+def noteExists = log.contains("[INFO] NOTE Test message.")
+def otherExists =  log.contains("[INFO] OTHER Test message.")
+def warningExists = log.contains("[WARNING] WARNING Test message.")
+def mandatoryWarningExists = log.contains("[WARNING] MANDATORY_WARNING Test 
message.")
 
 def fail = false
 def messages = "The following assertions were violated:"


Reply via email to