def tearDownClass(cls): gateway = JavaGateway() workspace = gateway.jvm.org.eclipse.core.resources.ResourcesPlugin.\ getWorkspace() root = workspace.getRoot() pm = gateway.jvm.org.eclipse.core.runtime.NullProgressMonitor() project1 = root.getProject('project1core3.0') project1.delete(True, True, pm) time.sleep(1) gateway.close() stop_eclipse() clean_test_dir()
def tearDownClass(cls): stop_eclipse()
def testEclipse(self): start_eclipse() self.assertTrue(check_eclipse()) stop_eclipse()
def handle_noargs(self, **options): stop_eclipse()