mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +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
|
@ -50,15 +50,12 @@ public class IncCompileNoChanges extends SJavacTester {
|
|||
Map<String,Long> previous_headers_state;
|
||||
|
||||
void test() throws Exception {
|
||||
clean(Paths.get(getClass().getSimpleName()));
|
||||
Files.createDirectories(GENSRC);
|
||||
Files.createDirectories(BIN);
|
||||
Files.createDirectories(HEADERS);
|
||||
|
||||
initialCompile();
|
||||
incrementalCompileNoChanges();
|
||||
|
||||
clean(GENSRC, BIN, HEADERS);
|
||||
}
|
||||
|
||||
// Testing that no change in sources implies no change in binaries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue