PlatformTestCase: set the flag "assertions in test detected" if setUp fails

This commit is contained in:
Kirill Likhodedov
2016-01-31 18:11:16 +03:00
parent 0dad489034
commit 03e4ec5f1c
@@ -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 {