mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PlatformTestCase: set the flag "assertions in test detected" if setUp fails
This commit is contained in:
@@ -647,7 +647,9 @@ public abstract class PlatformTestCase extends UsefulTestCase implements DataPro
|
||||
ourTestTime = DEFAULT_TEST_TIME;
|
||||
try {
|
||||
try {
|
||||
myAssertionsInTestDetected = true;
|
||||
setUp();
|
||||
myAssertionsInTestDetected = false;
|
||||
}
|
||||
catch (Throwable e) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user