1 /* |
1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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. |
74 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation()"}, |
74 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation()"}, |
75 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.method()"}, |
75 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.method()"}, |
76 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.field"}, |
76 {TARGET_FILE, "pkg.DeprecatedClassByAnnotation.field"}, |
77 |
77 |
78 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
78 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
79 "public class <span class=\"strong\">DeprecatedClassByAnnotation</span>" + NL + |
79 "public class <span class=\"typeNameLabel\">DeprecatedClassByAnnotation</span>" + NL + |
80 "extends java.lang.Object</pre>"}, |
80 "extends java.lang.Object</pre>"}, |
81 |
81 |
82 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
82 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
83 "public int field</pre>" + NL + |
83 "public int field</pre>" + NL + |
84 "<div class=\"block\"><span class=\"strong\">Deprecated.</span> </div>"}, |
84 "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span> </div>"}, |
85 |
85 |
86 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
86 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
87 "public DeprecatedClassByAnnotation()</pre>" + NL + |
87 "public DeprecatedClassByAnnotation()</pre>" + NL + |
88 "<div class=\"block\"><span class=\"strong\">Deprecated.</span> </div>"}, |
88 "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span> </div>"}, |
89 |
89 |
90 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
90 {TARGET_FILE2, "<pre>@Deprecated" + NL + |
91 "public void method()</pre>" + NL + |
91 "public void method()</pre>" + NL + |
92 "<div class=\"block\"><span class=\"strong\">Deprecated.</span> </div>"}, |
92 "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span> </div>"}, |
93 }; |
93 }; |
94 |
94 |
95 private static final String[][] NEGATED_TEST = NO_TEST; |
95 private static final String[][] NEGATED_TEST = NO_TEST; |
96 |
96 |
97 /** |
97 /** |