diff -r b0845717434e -r e7549dcbc4af langtools/test/com/sun/javadoc/testRelativeLinks/TestRelativeLinks.java
--- a/langtools/test/com/sun/javadoc/testRelativeLinks/TestRelativeLinks.java Tue Apr 22 17:41:11 2014 -0700
+++ b/langtools/test/com/sun/javadoc/testRelativeLinks/TestRelativeLinks.java Tue Apr 22 17:57:40 2014 -0700
@@ -35,27 +35,24 @@
public class TestRelativeLinks extends JavadocTester {
- //Test information.
- private static final String BUG_ID = "4460354-8014636";
-
//Javadoc arguments.
private static final String[] ARGS = new String[] {
- "-d", BUG_ID, "-use", "-sourcepath", SRC_DIR, "pkg", "pkg2"
+ "-d", OUTPUT_DIR, "-use", "-sourcepath", SRC_DIR, "pkg", "pkg2"
};
//Input for string search tests.
private static final String[][] TEST = {
//These relative paths should stay relative because they appear
//in the right places.
- {BUG_ID + "/pkg/C.html",
+ { "pkg/C.html",
"relative class link"},
- {BUG_ID + "/pkg/C.html",
+ { "pkg/C.html",
"relative field link"},
- {BUG_ID + "/pkg/C.html",
+ { "pkg/C.html",
"relative method link"},
- {BUG_ID + "/pkg/package-summary.html",
+ { "pkg/package-summary.html",
"relative package link"},
- {BUG_ID + "/pkg/C.html",
+ { "pkg/C.html",
" relative-multi-line-link."},
@@ -63,38 +60,38 @@
//places.
//INDEX PAGE
- {BUG_ID + "/index-all.html",
+ { "index-all.html",
"relative class link"},
- {BUG_ID + "/index-all.html",
+ { "index-all.html",
"relative field link"},
- {BUG_ID + "/index-all.html",
+ { "index-all.html",
"relative method link"},
- {BUG_ID + "/index-all.html",
+ { "index-all.html",
"relative package link"},
- {BUG_ID + "/index-all.html",
+ { "index-all.html",
" relative-multi-line-link."},
//PACKAGE USE
- {BUG_ID + "/pkg/package-use.html",
+ { "pkg/package-use.html",
"relative package link."},
- {BUG_ID + "/pkg/package-use.html",
+ { "pkg/package-use.html",
"relative class link"},
//CLASS_USE
- {BUG_ID + "/pkg/class-use/C.html",
+ { "pkg/class-use/C.html",
"relative field link"},
- {BUG_ID + "/pkg/class-use/C.html",
+ { "pkg/class-use/C.html",
"relative method link"},
- {BUG_ID + "/pkg/class-use/C.html",
+ { "pkg/class-use/C.html",
"relative package link"},
- {BUG_ID + "/pkg/class-use/C.html",
+ { "pkg/class-use/C.html",
" relative-multi-line-link."},
//PACKAGE OVERVIEW
- {BUG_ID + "/overview-summary.html",
+ { "overview-summary.html",
"relative package link"},
};
@@ -107,18 +104,4 @@
tester.run(ARGS, TEST, NO_TEST);
tester.printSummary();
}
-
- /**
- * {@inheritDoc}
- */
- public String getBugId() {
- return BUG_ID;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getBugName() {
- return getClass().getName();
- }
}