langtools/test/com/sun/javadoc/testLinkOption/TestLinkOption.java
changeset 21478 fa4c7cda1b41
parent 9083 63f3c4d2d992
child 23971 f5ff1f5a8dee
equal deleted inserted replaced
21477:02dc78554e0c 21478:fa4c7cda1b41
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2011, 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 4720957 5020118
    26  * @bug 4720957 5020118 8026567
    27  * @summary Test to make sure that -link and -linkoffline link to
    27  * @summary Test to make sure that -link and -linkoffline link to
    28  * right files.
    28  * right files.
    29  * @author jamieh
    29  * @author jamieh
    30  * @library ../lib/
    30  * @library ../lib/
    31  * @build JavadocTester TestLinkOption
    31  * @build JavadocTester TestLinkOption
    59                                 "      int p2," + NL +
    59                                 "      int p2," + NL +
    60                                 "      <a href=\"http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true\" title=\"class or interface in java.lang\">" +
    60                                 "      <a href=\"http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true\" title=\"class or interface in java.lang\">" +
    61                                 "Object</a>&nbsp;p3)"
    61                                 "Object</a>&nbsp;p3)"
    62         },
    62         },
    63         {BUG_ID + "-1" + FS + "java" + FS + "lang" + FS + "StringBuilderChild.html",
    63         {BUG_ID + "-1" + FS + "java" + FS + "lang" + FS + "StringBuilderChild.html",
    64                 "<pre>public abstract class <span class=\"strong\">StringBuilderChild</span>" + NL +
    64                 "<pre>public abstract class <span class=\"typeNameLabel\">StringBuilderChild</span>" + NL +
    65                 "extends <a href=\"http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true\" " +
    65                 "extends <a href=\"http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true\" " +
    66                 "title=\"class or interface in java.lang\">Object</a></pre>"
    66                 "title=\"class or interface in java.lang\">Object</a></pre>"
    67         },
    67         },
    68 
    68 
    69     };
    69     };