mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not swallow exceptions in tearDown()
This commit is contained in:
@@ -85,6 +85,9 @@ public abstract class BaseCompilerTestCase extends ModuleTestCase {
|
||||
}
|
||||
CompilerTestUtil.disableExternalCompiler(getProject());
|
||||
}
|
||||
catch (Throwable e) {
|
||||
addSuppressedException(e);
|
||||
}
|
||||
finally {
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
@@ -435,6 +435,9 @@ public abstract class CompilerTestCase extends ModuleTestCase {
|
||||
myOriginalSourceDir = null;
|
||||
CompilerTestUtil.disableExternalCompiler(myProject);
|
||||
}
|
||||
catch (Throwable e) {
|
||||
addSuppressedException(e);
|
||||
}
|
||||
finally {
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
@@ -46,6 +46,9 @@ public class ModuleCompilerUtilTest extends ModuleTestCase {
|
||||
try {
|
||||
myTempDirTestFixture.tearDown();
|
||||
}
|
||||
catch (Throwable e) {
|
||||
addSuppressedException(e);
|
||||
}
|
||||
finally {
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user