mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8040903: Clean up use of BUG_ID in javadoc tests
Reviewed-by: ksrini
This commit is contained in:
parent
187dbd343c
commit
3acf463dc4
133 changed files with 1298 additions and 3431 deletions
|
@ -33,17 +33,14 @@
|
|||
|
||||
public class TestHelpFile extends JavadocTester {
|
||||
|
||||
//Test information.
|
||||
private static final String BUG_ID = "7132631";
|
||||
|
||||
//Javadoc arguments.
|
||||
private static final String[] ARGS = new String[] {
|
||||
"-d", BUG_ID, "-sourcepath", SRC_DIR,
|
||||
"-d", OUTPUT_DIR, "-sourcepath", SRC_DIR,
|
||||
SRC_DIR + "/TestHelpFile.java"
|
||||
};
|
||||
|
||||
private static final String[][] TEST = {
|
||||
{BUG_ID + "/help-doc.html",
|
||||
{ "help-doc.html",
|
||||
"<a href=\"constant-values.html\">Constant Field Values</a>"
|
||||
},
|
||||
};
|
||||
|
@ -57,18 +54,4 @@ public class TestHelpFile extends JavadocTester {
|
|||
tester.run(ARGS, TEST, NO_TEST);
|
||||
tester.printSummary();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public String getBugId() {
|
||||
return BUG_ID;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public String getBugName() {
|
||||
return getClass().getName();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue