--- a/langtools/test/com/sun/javadoc/testAnnotationTypes/TestAnnotationTypes.java Tue Apr 22 17:41:11 2014 -0700
+++ b/langtools/test/com/sun/javadoc/testAnnotationTypes/TestAnnotationTypes.java Tue Apr 22 17:57:40 2014 -0700
@@ -34,47 +34,44 @@
public class TestAnnotationTypes extends JavadocTester {
- //Test information.
- private static final String BUG_ID = "4973609-8015249";
-
//Javadoc arguments.
private static final String[] ARGS = new String[] {
- "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"
+ "-d", OUTPUT_DIR, "-sourcepath", SRC_DIR, "pkg"
};
//Input for string search tests.
private static final String[][] TEST = {
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<li>Summary: </li>\n" +
"<li><a href=\"#annotation.type." +
"field.summary\">Field</a> | </li>"},
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<li>Detail: </li>\n" +
"<li><a href=\"#annotation.type." +
"field.detail\">Field</a> | </li>"},
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<!-- =========== ANNOTATION TYPE FIELD SUMMARY =========== -->"},
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<h3>Field Summary</h3>"},
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<td class=\"colLast\"><code><span class=\"memberNameLink\"><a href=\"../" +
"pkg/AnnotationTypeField.html#DEFAULT_NAME\">DEFAULT_NAME</a></span>" +
"</code> </td>"},
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<!-- ============ ANNOTATION TYPE FIELD DETAIL =========== -->"},
- {BUG_ID + "/pkg/AnnotationTypeField.html",
+ { "pkg/AnnotationTypeField.html",
"<h4>DEFAULT_NAME</h4>\n" +
"<pre>public static final java." +
"lang.String DEFAULT_NAME</pre>"},
- {BUG_ID + "/pkg/AnnotationType.html",
+ { "pkg/AnnotationType.html",
"<li>Summary: </li>\n" +
"<li>Field | </li>"},
- {BUG_ID + "/pkg/AnnotationType.html",
+ { "pkg/AnnotationType.html",
"<li>Detail: </li>\n" +
"<li>Field | </li>"},
};
private static final String[][] NEGATED_TEST = {
- {BUG_ID + "/pkg/AnnotationType.html",
+ { "pkg/AnnotationType.html",
"<HR>\n\n" +
"<P>\n\n" +
"<P>" +
@@ -90,18 +87,4 @@
tester.run(ARGS, TEST, NEGATED_TEST);
tester.printSummary();
}
-
- /**
- * {@inheritDoc}
- */
- public String getBugId() {
- return BUG_ID;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getBugName() {
- return getClass().getName();
- }
}