mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
handle suppressed exceptions
This commit is contained in:
@@ -40,6 +40,9 @@ public abstract class RestFixtureTestCase extends UsefulTestCase {
|
||||
try {
|
||||
myFixture.tearDown();
|
||||
}
|
||||
catch (Throwable e) {
|
||||
addSuppressedException(e);
|
||||
}
|
||||
finally {
|
||||
myFixture = null;
|
||||
super.tearDown();
|
||||
|
||||
Reference in New Issue
Block a user