You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/07/30 14:15:15 UTC
svn commit: r1152459 -
/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy
Author: hboutemy
Date: Sat Jul 30 12:15:15 2011
New Revision: 1152459
URL: http://svn.apache.org/viewvc?rev=1152459&view=rev
Log:
make the IT fail if the assert is wrong since invoker.properties already skips the IT for Maven < 2.2.2
Modified:
maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy
Modified: maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy?rev=1152459&r1=1152458&r2=1152459&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy Sat Jul 30 12:15:15 2011
@@ -78,14 +78,14 @@ for ( String report : reports )
println "Wrong order for first report link: expected $previousReportLink -> $link, but found $i1 < $index1";
println " previous report link: " + info.substring( index1 - 10, index1 + 70 );
println " actual report link: " + info.substring( i1 - 10, i1 + 70 );
- //return false; // does not work with Maven 2.2 for the moment
+ return false;
}
if ( i2 < index2 )
{
println "Wrong order for second report link: expected $previousReportLink -> $link, but found $i2 < $index2";
println " previous report link: " + info.substring( index2 - 10, index2 + 70 );
println " actual report link: " + info.substring( i2 - 10, i2 + 70 );
- //return false; // does not work with Maven 2.2 for the moment
+ return false;
}
index1 = i1;
index2 = i2;