protected void readProjects(VirtualFile... files) { List<MavenProject> projects = new ArrayList<MavenProject>(); for (VirtualFile each : files) { projects.add(myProjectsManager.findProject(each)); } myProjectsManager.forceUpdateProjects(projects); waitForReadingCompletion(); }
protected void readProjects(List<VirtualFile> files, String... profiles) { myProjectsManager.resetManagedFilesAndProfilesInTests(files, Arrays.asList(profiles)); waitForReadingCompletion(); }