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
|
@ -38,12 +38,9 @@
|
|||
|
||||
public class TestDocEncoding extends JavadocTester {
|
||||
|
||||
//Test information.
|
||||
private static final String BUG_ID = "8000743";
|
||||
|
||||
//Javadoc arguments.
|
||||
private static final String[] ARGS = new String[] {
|
||||
"-d", BUG_ID,
|
||||
"-d", OUTPUT_DIR,
|
||||
"-docencoding", "Cp930",
|
||||
"-sourcepath", SRC_DIR,
|
||||
"-notimestamp",
|
||||
|
@ -51,7 +48,7 @@ public class TestDocEncoding extends JavadocTester {
|
|||
};
|
||||
|
||||
private static final String[][] NEGATED_TEST = {
|
||||
{BUG_ID + "/stylesheet.css",
|
||||
{ "stylesheet.css",
|
||||
"body {\n" +
|
||||
" background-color:#ffffff;"}
|
||||
};
|
||||
|
@ -65,19 +62,5 @@ public class TestDocEncoding extends JavadocTester {
|
|||
tester.run(ARGS, NO_TEST, NEGATED_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