mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
UpdateCacheTest: on failure, don't bring down other tests
This commit is contained in:
@@ -161,9 +161,10 @@ public class UpdateCacheTest extends PsiTestCase {
|
||||
final VirtualFile content = ModuleRootManager.getInstance(getModule()).getContentRoots()[0];
|
||||
Project project = myProject;
|
||||
ProjectUtil.closeAndDispose(project);
|
||||
myProject = null;
|
||||
InjectedLanguageManagerImpl.checkInjectorsAreDisposed(project);
|
||||
|
||||
assertTrue("Project was not disposed", myProject.isDisposed());
|
||||
assertTrue("Project was not disposed", project.isDisposed());
|
||||
myModule = null;
|
||||
|
||||
final File file = new File(root.getPath(), "1.java");
|
||||
|
||||
Reference in New Issue
Block a user