test/com/sun/javadoc/testProfiles/TestProfiles.java

changeset 1952
3d4f0fa2ad05
parent 1635
e0ef84e33167
child 1993
240f424cc0d5
     1.1 --- a/test/com/sun/javadoc/testProfiles/TestProfiles.java	Wed Aug 14 18:58:39 2013 -0700
     1.2 +++ b/test/com/sun/javadoc/testProfiles/TestProfiles.java	Wed Aug 14 21:44:51 2013 -0700
     1.3 @@ -23,7 +23,7 @@
     1.4  
     1.5  /*
     1.6   * @test
     1.7 - * @bug      8006124 8009684
     1.8 + * @bug      8006124 8009684 8016921
     1.9   * @summary  Test javadoc support for profiles.
    1.10   * @author   Bhavesh Patel
    1.11   * @library  ../lib/
    1.12 @@ -33,7 +33,7 @@
    1.13  public class TestProfiles extends JavadocTester {
    1.14  
    1.15      //Test information.
    1.16 -    private static final String BUG_ID = "8006124-8009684";
    1.17 +    private static final String BUG_ID = "8006124-8009684-8016921";
    1.18      private static final String PROFILE_BUG_ID = BUG_ID + "-1";
    1.19      private static final String PACKAGE_BUG_ID = BUG_ID + "-2";
    1.20      //Javadoc arguments.
    1.21 @@ -105,6 +105,14 @@
    1.22          {PROFILE_BUG_ID + FS + "index.html",
    1.23              "<frame src=\"overview-frame.html\" name=\"packageListFrame\" " +
    1.24              "title=\"All Packages\">"
    1.25 +        },
    1.26 +        //Test for "overview-summary.html" showing the profile list.
    1.27 +        {PROFILE_BUG_ID + FS + "overview-summary.html",
    1.28 +            "<ul>" + NL +"<li><a href=\"compact1-summary.html\" target=\"classFrame\">" +
    1.29 +            "compact1</a></li>" + NL + "<li><a href=\"compact2-summary.html\" " +
    1.30 +            "target=\"classFrame\">compact2</a></li>" + NL + "<li><a href=\"" +
    1.31 +            "compact3-summary.html\" target=\"classFrame\">compact3</a></li>" + NL +
    1.32 +            "</ul>"
    1.33          }
    1.34      };
    1.35      private static final String[][] PROFILES_NEGATED_TEST = {
    1.36 @@ -159,6 +167,13 @@
    1.37          },
    1.38          {PACKAGE_BUG_ID + FS + "pkg2" + FS + "Class1Pkg2.html",
    1.39              "<div class=\"subTitle\">compact1, compact2, compact3</div>"
    1.40 +        },
    1.41 +        {PACKAGE_BUG_ID + FS + "overview-summary.html",
    1.42 +            "<ul>" + NL +"<li><a href=\"compact1-summary.html\" target=\"classFrame\">" +
    1.43 +            "compact1</a></li>" + NL + "<li><a href=\"compact2-summary.html\" " +
    1.44 +            "target=\"classFrame\">compact2</a></li>" + NL + "<li><a href=\"" +
    1.45 +            "compact3-summary.html\" target=\"classFrame\">compact3</a></li>" + NL +
    1.46 +            "</ul>"
    1.47          }
    1.48      };
    1.49  

mercurial