mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8041150: Avoid silly use of static methods in JavadocTester
Reviewed-by: ksrini
This commit is contained in:
parent
a2d155dfa9
commit
04e1109b69
131 changed files with 205 additions and 204 deletions
|
@ -104,9 +104,9 @@ public class TestHelpOption extends JavadocTester {
|
|||
*/
|
||||
public static void main(String[] args) {
|
||||
TestHelpOption tester = new TestHelpOption();
|
||||
int actualExitCode = run(tester, ARGS, TEST, NEGATED_TEST);
|
||||
int actualExitCode = tester.run(ARGS, TEST, NEGATED_TEST);
|
||||
tester.checkExitCode(EXPECTED_EXIT_CODE, actualExitCode);
|
||||
run(tester, ARGS2, TEST2, NEGATED_TEST2);
|
||||
tester.run(ARGS2, TEST2, NEGATED_TEST2);
|
||||
tester.printSummary();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue