Ejemplo n.º 1
0
    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()
Ejemplo n.º 2
0
 def tearDownClass(cls):
     shutil.rmtree(os.path.join(calculator_project_dir(), 'randoop'))
     calculator_clean_project()
Ejemplo n.º 3
0
 def tearDown(self):
     calculator_clean_project()