langtools/test/com/sun/javadoc/testUseOption/TestUseOption.java
changeset 31297 86fe1414f12c
parent 30730 d3ce7619db2c
equal deleted inserted replaced
31296:9a8e44b62c77 31297:86fe1414f12c
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4496290 4985072 7006178 7068595 8016328 8050031 8048351
    26  * @bug 4496290 4985072 7006178 7068595 8016328 8050031 8048351 8081854
    27  * @summary A simple test to ensure class-use files are correct.
    27  * @summary A simple test to ensure class-use files are correct.
    28  * @author jamieh
    28  * @author jamieh
    29  * @library ../lib
    29  * @library ../lib
    30  * @modules jdk.javadoc
    30  * @modules jdk.javadoc
    31  * @build JavadocTester
    31  * @build JavadocTester
   134         checkOutput("class-use/UsedInC.html", true,
   134         checkOutput("class-use/UsedInC.html", true,
   135                 "Uses of <a href=\"../UsedInC.html\" title=\"class in &lt;Unnamed&gt;\">"
   135                 "Uses of <a href=\"../UsedInC.html\" title=\"class in &lt;Unnamed&gt;\">"
   136                 + "UsedInC</a> in <a href=\"../package-summary.html\">&lt;Unnamed&gt;</a>"
   136                 + "UsedInC</a> in <a href=\"../package-summary.html\">&lt;Unnamed&gt;</a>"
   137         );
   137         );
   138         checkOutput("class-use/UsedInC.html", true,
   138         checkOutput("class-use/UsedInC.html", true,
   139                 "<li class=\"blockList\"><a id=\"unnamed.package\">"
   139                 "<li class=\"blockList\"><a name=\"unnamed.package\">"
   140         );
   140         );
   141         checkOutput("package-use.html", true,
   141         checkOutput("package-use.html", true,
   142                 "<td class=\"colOne\">"
   142                 "<td class=\"colOne\">"
   143                 + "<a href=\"class-use/UsedInC.html#unnamed.package\">UsedInC</a>&nbsp;</td>"
   143                 + "<a href=\"class-use/UsedInC.html#unnamed.package\">UsedInC</a>&nbsp;</td>"
   144         );
   144         );