Author: hboutemy
Date: Thu May 12 19:50:29 2016
New Revision: 1743552

URL: http://svn.apache.org/viewvc?rev=1743552&view=rev
Log:
[MCHECKSTYLE-314] updated check for new errors founds now that check runs 
checkstyle before analyzing itself

Modified:
    
maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy

Modified: 
maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy?rev=1743552&r1=1743551&r2=1743552&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy
 (original)
+++ 
maven/plugins/trunk/maven-checkstyle-plugin/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy
 Thu May 12 19:50:29 2016
@@ -20,7 +20,8 @@
 def buildLog = new File( basedir, 'build.log' )
 
 // LICENSE.txt has 2 errors, src/main/resources/README.txt has 1 error
-assert buildLog.text.contains( "[INFO] There are 3 errors reported by 
Checkstyle" )
+// MCHECKSTYLE-314 added 2 errors from target/checkstyle-header.txt
+assert buildLog.text.contains( "[INFO] There are 5 errors reported by 
Checkstyle" )
 
 def checkstyle = new XmlSlurper().parse( new File( basedir, 
"target/checkstyle-result.xml" ) )
 assert 2 == checkstyle.file.size()


Reply via email to