langtools/test/com/sun/javadoc/testUseOption/TestUseOption.java
changeset 26900 dccc7a72526d
parent 26270 a3635e6d3d78
child 29957 7740f9657f56
equal deleted inserted replaced
26786:f0c5e4b732da 26900:dccc7a72526d
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4496290 4985072 7006178 7068595 8016328 8050031
    26  * @bug 4496290 4985072 7006178 7068595 8016328 8050031 8048351
    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  * @build JavadocTester
    30  * @build JavadocTester
    31  * @run main TestUseOption
    31  * @run main TestUseOption
   132 
   132 
   133         checkOutput("class-use/UsedInC.html", true,
   133         checkOutput("class-use/UsedInC.html", true,
   134                 "Uses of <a href=\"../UsedInC.html\" title=\"class in &lt;Unnamed&gt;\">"
   134                 "Uses of <a href=\"../UsedInC.html\" title=\"class in &lt;Unnamed&gt;\">"
   135                 + "UsedInC</a> in <a href=\"../package-summary.html\">&lt;Unnamed&gt;</a>"
   135                 + "UsedInC</a> in <a href=\"../package-summary.html\">&lt;Unnamed&gt;</a>"
   136         );
   136         );
       
   137         checkOutput("class-use/UsedInC.html", true,
       
   138                 "<li class=\"blockList\"><a name=\"unnamed.package\">"
       
   139         );
   137         checkOutput("package-use.html", true,
   140         checkOutput("package-use.html", true,
   138                 "<td class=\"colOne\">"
   141                 "<td class=\"colOne\">"
   139                 + "<a href=\"class-use/UsedInC.html#%3CUnnamed%3E\">UsedInC</a>&nbsp;</td>"
   142                 + "<a href=\"class-use/UsedInC.html#unnamed.package\">UsedInC</a>&nbsp;</td>"
   140         );
   143         );
   141     }
   144     }
   142 
   145 
   143     @Test
   146     @Test
   144     void test3() {
   147     void test3() {