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:54:49 UTC

svn commit: r1148569 - in /maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus: invoker.properties verify.bsh

Author: hboutemy
Date: Tue Jul 19 21:54:48 2011
New Revision: 1148569

URL: http://svn.apache.org/viewvc?rev=1148569&view=rev
Log:
[MSITE-595] fixed IT (which was wrong, not the plugin)

Removed:
    maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus/invoker.properties
Modified:
    maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus/verify.bsh

Modified: maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus/verify.bsh?rev=1148569&r1=1148568&r2=1148569&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus/verify.bsh (original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/it/inheritedMenus/verify.bsh Tue Jul 19 21:54:48 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;