@AfterClass public static void removeProjects() { PackageExplorer explorer = new PackageExplorer(); explorer.open(); for (Project project : explorer.getProjects()) { DeleteUtils.forceProjectDeletion(project, true); } }
protected static void deleteAllProjects() { ProjectExplorer projectExplorer = new ProjectExplorer(); projectExplorer.open(); List<Project> projects = projectExplorer.getProjects(); for (Project p : projects) { DeleteUtils.forceProjectDeletion(p, false); } }
@After public void tearDown() { PackageExplorer packageExplorer = new PackageExplorer(); packageExplorer.open(); if (packageExplorer.containsProject(PropertiesViewTest.TEST_PROJECT_NAME)) { DeleteUtils.forceProjectDeletion( packageExplorer.getProject(PropertiesViewTest.TEST_PROJECT_NAME), true); } }