langtools/test/com/sun/javadoc/testUseOption/TestUseOption.java
changeset 20257 9da4f6c30089
parent 14060 ae69cea86e83
child 23971 f5ff1f5a8dee
equal deleted inserted replaced
20256:9154c5cc0d9f 20257:9da4f6c30089
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2013, 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.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4496290 4985072 7006178 7068595
    26  * @bug 4496290 4985072 7006178 7068595 8016328
    27  * @summary A simple test to determine if -use works.
    27  * @summary A simple test to determine if -use works.
    28  * @author jamieh
    28  * @author jamieh
    29  * @library ../lib/
    29  * @library ../lib/
    30  * @build JavadocTester
    30  * @build JavadocTester
    31  * @build TestUseOption
    31  * @build TestUseOption
    58         {BUG_ID + "-3" + FS + "class-use" + FS + "UsedInC.html", "Uses of <a href=" +
    58         {BUG_ID + "-3" + FS + "class-use" + FS + "UsedInC.html", "Uses of <a href=" +
    59                  "\"../UsedInC.html\" title=\"class in &lt;Unnamed&gt;\">" +
    59                  "\"../UsedInC.html\" title=\"class in &lt;Unnamed&gt;\">" +
    60                  "UsedInC</a> in <a href=\"../package-summary.html\">&lt;Unnamed&gt;</a>"
    60                  "UsedInC</a> in <a href=\"../package-summary.html\">&lt;Unnamed&gt;</a>"
    61         },
    61         },
    62         {BUG_ID + "-3" + FS + "package-use.html", "<td class=\"colOne\">" +
    62         {BUG_ID + "-3" + FS + "package-use.html", "<td class=\"colOne\">" +
    63                  "<a href=\"class-use/UsedInC.html#&lt;Unnamed&gt;\">UsedInC</a>&nbsp;</td>"
    63                  "<a href=\"class-use/UsedInC.html#%3CUnnamed%3E\">UsedInC</a>&nbsp;</td>"
    64         }
    64         }
    65     };
    65     };
    66 
    66 
    67     private static final String[][] TEST4 = {
    67     private static final String[][] TEST4 = {
    68         {BUG_ID + "-4" + FS + "pkg2" + FS + "class-use" + FS + "C3.html", "<a href=" +
    68         {BUG_ID + "-4" + FS + "pkg2" + FS + "class-use" + FS + "C3.html", "<a href=" +