mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8040904: Ensure javadoc tests do not overwrite results within tests
Reviewed-by: ksrini
This commit is contained in:
parent
e5a91499f0
commit
6c24c7e153
13 changed files with 384 additions and 293 deletions
|
@ -86,10 +86,12 @@ public class TestDocFileDir extends JavadocTester {
|
|||
*/
|
||||
public static void main(String[] args) {
|
||||
TestDocFileDir tester = new TestDocFileDir();
|
||||
tester.setCheckOutputDirectoryCheck(DirectoryCheck.NO_HTML_FILES);
|
||||
copyDir(SRC_DIR + "/pkg", ".");
|
||||
tester.run(ARGS0, TEST0, NO_TEST);
|
||||
copyDir(SRC_DIR + "/pkg", OUTPUT_DIR + "-1");
|
||||
tester.run(ARGS1, TEST1, NO_TEST);
|
||||
tester.setCheckOutputDirectoryCheck(DirectoryCheck.NONE);
|
||||
tester.run(ARGS2, NO_TEST, NO_TEST, FILE_TEST2, FILE_NEGATED_TEST2);
|
||||
tester.printSummary();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue