def test_compile_in_maven_project_dir(self): project_dir = os.path.join(calculator_project_dir(), '..', 'example') calculator_clean_project() maven = Maven(java=self.java, maven_home=self.maven_home) maven.compile(project_dir, timeout=10) self.assertTrue(os.path.exists(os.path.join(project_dir, 'target'))) calculator_clean_project()
def tearDownClass(cls): shutil.rmtree(os.path.join(calculator_project_dir(), 'randoop')) calculator_clean_project()
def tearDown(self): calculator_clean_project()