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/19 23:55:31 UTC
svn commit: r1148570 - in
/maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus:
invoker.properties verify.bsh
Author: hboutemy
Date: Tue Jul 19 21:55:30 2011
New Revision: 1148570
URL: http://svn.apache.org/viewvc?rev=1148570&view=rev
Log:
[MSITE-595] fixed IT (which was wrong, not the plugin) (merged from 3.x branch)
Removed:
maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus/invoker.properties
Modified:
maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus/verify.bsh
Modified: maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus/verify.bsh?rev=1148570&r1=1148569&r2=1148570&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus/verify.bsh (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/inheritedMenus/verify.bsh Tue Jul 19 21:55:30 2011
@@ -128,10 +128,9 @@ try
}
index1 = content.indexOf( "<a href=\"grandChildNotAsRef/index.html\" title=\"GrandChild Not As Ref\">GrandChild Not As Ref</a>" );
- index2 = content.indexOf( "<a href=\"project-summary.html\" title=\"Project Summary\">Project Summary</a>" );
- index3 = content.indexOf( "<a href=\"../index.html\" title=\"Parent Not As Ref\">Parent Not As Ref</a>" );
+ index2 = content.indexOf( "<a href=\"../index.html\" title=\"Parent Not As Ref\">Parent Not As Ref</a>" );
- if ( index1 < 0 || index2 < 0 || index3 < 0 )
+ if ( index1 < 0 || index2 < 0 )
{
System.err.println( "child index.html has wrong reference menu items!" );
result = false;
@@ -186,10 +185,8 @@ try
}
index1 = content.indexOf( "<a href=\"../index.html\" title=\"Child Not As Ref\">Child Not As Ref</a>" );
- index2 = content.indexOf( "<a href=\"source-repository.html\" title=\"Source Repository\">Source Repository</a>" );
- index3 = content.indexOf( "<h5>Modules</h5>" );
- if ( index1 < 0 || index2 < 0 || index3 >= 0 )
+ if ( index1 < 0 )
{
System.err.println( "grandchild index.html has wrong reference menu items!" );
result = false;