mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8144009: ToolBox should have a cleanDirectory method
Added cleanDirectory method to ToolBox. Reviewed-by: jjg
This commit is contained in:
parent
68126c8ee9
commit
ea92f6bf06
14 changed files with 36 additions and 71 deletions
|
@ -46,7 +46,6 @@ public class StateDir extends SJavacTester {
|
|||
}
|
||||
|
||||
void test() throws Exception {
|
||||
clean(TEST_ROOT);
|
||||
Path BAR = TEST_ROOT.resolve("bar");
|
||||
Files.createDirectories(BAR);
|
||||
Files.createDirectories(BIN);
|
||||
|
@ -69,6 +68,5 @@ public class StateDir extends SJavacTester {
|
|||
Map<String,Long> new_bar_state = collectState(BAR);
|
||||
verifyThatFilesHaveBeenAdded(previous_bar_state, new_bar_state,
|
||||
BAR + "/javac_state");
|
||||
clean(GENSRC, BIN, BAR);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue