def test_isAutoToolsProject1(self): self.assertTrue( autoTools.isAutoToolsProject( "cases/simpleGraphAutoTools/TestCaseA"), "Failed to detect AutoTools project.") self.assertFalse( autoTools.isAutoToolsProject("cases/cmake/hello/main"), "False positive when given CMake project.")
def test_isAutoToolsProject4(self): try: tempDir = mdTestUtilities.makeTempDir() tempFile = os.path.join(tempDir, "configure.ac") mdTestUtilities.createBlankFile(tempFile) self.assertTrue(autoTools.isAutoToolsProject(tempDir), "Failed to detect AutoTools project.") finally: utilityFunctions.removeDir(tempDir)
def test_isAutoToolsProject1(self): self.assertTrue(autoTools.isAutoToolsProject("cases/simpleGraphAutoTools/TestCaseA"), "Failed to detect AutoTools project.") self.assertFalse(autoTools.isAutoToolsProject("cases/cmake/hello/main"), "False positive when given CMake project.")