Remove temp directories in tests

There's new algo for temp file creation that starting to fail after ~1000 files have been created.
This commit is contained in:
Nikolay Krasko
2016-03-18 12:32:11 +03:00
parent 835c8f2c10
commit ed6aaa1138
2 changed files with 9 additions and 0 deletions
@@ -31,11 +31,13 @@ public abstract class KotlinTestWithEnvironment extends KotlinTestWithEnvironmen
@Override
protected void tearDown() throws Exception {
removeEnvironment();
environment = null;
super.tearDown();
}
protected abstract KotlinCoreEnvironment createEnvironment() throws Exception;
protected void removeEnvironment() throws Exception {}
@NotNull
public KotlinCoreEnvironment getEnvironment() {