Allow roots before parent setup and disallow after teardown
This commit is contained in:
@@ -23,13 +23,13 @@ import org.jetbrains.kotlin.test.JetTestUtils;
|
|||||||
abstract public class KotlinDaemonAnalyzerTestCase extends DaemonAnalyzerTestCase {
|
abstract public class KotlinDaemonAnalyzerTestCase extends DaemonAnalyzerTestCase {
|
||||||
@Override
|
@Override
|
||||||
protected void setUp() throws Exception {
|
protected void setUp() throws Exception {
|
||||||
super.setUp();
|
|
||||||
VfsRootAccess.allowRootAccess(JetTestUtils.getHomeDirectory());
|
VfsRootAccess.allowRootAccess(JetTestUtils.getHomeDirectory());
|
||||||
|
super.setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
VfsRootAccess.disallowRootAccess(JetTestUtils.getHomeDirectory());
|
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
|
VfsRootAccess.disallowRootAccess(JetTestUtils.getHomeDirectory());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user