Search in sources :

Example 1 with RunAll

use of com.intellij.testFramework.RunAll in project intellij-community by JetBrains.

the class LoadProjectTest method tearDown.

@Override
protected void tearDown() throws Exception {
    Project project = getProject();
    myProject = null;
    new RunAll(() -> ((FileEditorManagerEx) FileEditorManager.getInstance(project)).closeAllFiles(), () -> ProjectManagerEx.getInstanceEx().closeAndDispose(project), () -> checkNoPsiFilesInProjectReachable(project), () -> super.tearDown()).run();
}
Also used : Project(com.intellij.openapi.project.Project) RunAll(com.intellij.testFramework.RunAll) FileEditorManagerEx(com.intellij.openapi.fileEditor.ex.FileEditorManagerEx)

Aggregations

FileEditorManagerEx (com.intellij.openapi.fileEditor.ex.FileEditorManagerEx)1 Project (com.intellij.openapi.project.Project)1 RunAll (com.intellij.testFramework.RunAll)1