示例#1
0
 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()
示例#2
0
文件: tests.py 项目: bartdag/recodoc2
 def tearDownClass(cls):
     stop_eclipse()
示例#3
0
文件: tests.py 项目: bartdag/recodoc2
 def testEclipse(self):
     start_eclipse()
     self.assertTrue(check_eclipse())
     stop_eclipse()
示例#4
0
 def tearDownClass(cls):
     stop_eclipse()
示例#5
0
 def testEclipse(self):
     start_eclipse()
     self.assertTrue(check_eclipse())
     stop_eclipse()
示例#6
0
 def handle_noargs(self, **options):
     stop_eclipse()