test/com/sun/javadoc/testDeprecatedDocs/TestDeprecatedDocs.java

changeset 958
734144b6b22f
parent 798
4868a36f6fd8
child 2147
130b8c0e570e
equal deleted inserted replaced
957:46d720734db3 958:734144b6b22f
1 /* 1 /*
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2011, 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.
25 * @test 25 * @test
26 * @bug 4927552 26 * @bug 4927552
27 * @summary <DESC> 27 * @summary <DESC>
28 * @author jamieh 28 * @author jamieh
29 * @library ../lib/ 29 * @library ../lib/
30 * @build JavadocTester 30 * @build JavadocTester TestDeprecatedDocs
31 * @build TestDeprecatedDocs
32 * @run main TestDeprecatedDocs 31 * @run main TestDeprecatedDocs
33 */ 32 */
34 33
35 public class TestDeprecatedDocs extends JavadocTester { 34 public class TestDeprecatedDocs extends JavadocTester {
36 35
75 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation()"}, 74 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation()"},
76 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.method()"}, 75 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.method()"},
77 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.field"}, 76 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.field"},
78 77
79 {TARGET_FILE2, "<pre>@Deprecated" + NL + 78 {TARGET_FILE2, "<pre>@Deprecated" + NL +
80 "public class <strong>DeprecatedClassByAnnotation</strong>" + NL + 79 "public class <span class=\"strong\">DeprecatedClassByAnnotation</span>" + NL +
81 "extends java.lang.Object</pre>"}, 80 "extends java.lang.Object</pre>"},
82 81
83 {TARGET_FILE2, "<pre>@Deprecated" + NL + 82 {TARGET_FILE2, "<pre>@Deprecated" + NL +
84 "public&nbsp;int field</pre>" + NL + 83 "public&nbsp;int field</pre>" + NL +
85 "<div class=\"block\"><span class=\"strong\">Deprecated.</span>&nbsp;</div>"}, 84 "<div class=\"block\"><span class=\"strong\">Deprecated.</span>&nbsp;</div>"},

mercurial