mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
BaseParseTestCase#tearDown: more safe
This commit is contained in:
@@ -53,9 +53,13 @@ public abstract class BaseParseTestCase extends UsefulTestCase {
|
||||
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
myFixture.tearDown();
|
||||
myFixture = null;
|
||||
super.tearDown();
|
||||
try {
|
||||
myFixture.tearDown();
|
||||
}
|
||||
finally {
|
||||
myFixture = null;
|
||||
super.tearDown();
|
||||
}
|
||||
}
|
||||
|
||||
public static String getTestDataRoot() {
|
||||
|
||||
Reference in New Issue
Block a user