test/langtools/jdk/javadoc/doclet/testPackagePage/TestPackagePage.java
changeset 48654 36f58bd6269f
parent 47216 71c04702a3d5
child 50167 cc705c956798
equal deleted inserted replaced
48653:89111a0e6355 48654:36f58bd6269f
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    51         checkOutput("com/pkg/package-summary.html", true,
    51         checkOutput("com/pkg/package-summary.html", true,
    52             "This is a package page.");
    52             "This is a package page.");
    53 
    53 
    54         // With just one package, all general pages link to the single package page.
    54         // With just one package, all general pages link to the single package page.
    55         checkOutput("com/pkg/C.html", true,
    55         checkOutput("com/pkg/C.html", true,
    56             "<a href=\"../../com/pkg/package-summary.html\">Package</a>");
    56             "<a href=\"package-summary.html\">Package</a>");
    57         checkOutput("com/pkg/package-tree.html", true,
    57         checkOutput("com/pkg/package-tree.html", true,
    58             "<li><a href=\"../../com/pkg/package-summary.html\">Package</a></li>");
    58             "<li><a href=\"package-summary.html\">Package</a></li>");
    59         checkOutput("deprecated-list.html", true,
    59         checkOutput("deprecated-list.html", true,
    60             "<li><a href=\"com/pkg/package-summary.html\">Package</a></li>");
    60             "<li><a href=\"com/pkg/package-summary.html\">Package</a></li>");
    61         checkOutput("index-all.html", true,
    61         checkOutput("index-all.html", true,
    62             "<li><a href=\"com/pkg/package-summary.html\">Package</a></li>");
    62             "<li><a href=\"com/pkg/package-summary.html\">Package</a></li>");
    63         checkOutput("help-doc.html", true,
    63         checkOutput("help-doc.html", true,