test/com/sun/javadoc/testLinkOption/TestLinkOption.java

changeset 2147
130b8c0e570e
parent 958
734144b6b22f
child 2366
5b8151ede720
equal deleted inserted replaced
2146:7de97abc4a5c 2147:130b8c0e570e
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 };

mercurial