mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do more cleanup on error
This commit is contained in:
@@ -417,10 +417,15 @@ public abstract class PlatformTestCase extends UsefulTestCase implements DataPro
|
||||
result.add(e);
|
||||
}
|
||||
}
|
||||
for (final File fileToDelete : myFilesToDelete) {
|
||||
delete(fileToDelete);
|
||||
try {
|
||||
for (final File fileToDelete : myFilesToDelete) {
|
||||
delete(fileToDelete);
|
||||
}
|
||||
LocalFileSystem.getInstance().refreshIoFiles(myFilesToDelete);
|
||||
}
|
||||
catch (Throwable e) {
|
||||
result.add(e);
|
||||
}
|
||||
LocalFileSystem.getInstance().refreshIoFiles(myFilesToDelete);
|
||||
|
||||
if (!myAssertionsInTestDetected) {
|
||||
if (IdeaLogger.ourErrorsOccurred != null) {
|
||||
|
||||
Reference in New Issue
Block a user