Home
last modified time | relevance | path

Searched refs:mock_isfile (Results 1 – 5 of 5) sorted by relevance

/external/toolchain-utils/llvm_tools/
Dllvm_patch_management_unittest.py104 def testInvalidFileForPatchMetadataPath(self, mock_isfile): argument
116 mock_isfile.assert_called_once()
121 def testPatchMetadataFileDoesNotEndInJson(self, mock_isfile): argument
133 mock_isfile.assert_called_once()
136 def testValidPatchMetadataFile(self, mock_isfile): argument
141 mock_isfile.return_value = True
145 mock_isfile.assert_called_once()
Dpatch_manager_unittest.py57 self, mock_isfile): argument
70 mock_isfile.assert_called_once()
75 def testPatchMetadataFileDoesNotEndInJson(self, mock_isfile): argument
88 mock_isfile.assert_called_once()
93 def testValidPatchMetadataFilePassedAsCommandLineArgument(self, mock_isfile): argument
100 mock_isfile.assert_called_once()
127 def testConstructedPathToPatchDoesNotExist(self, mock_isfile, mock_isdir): argument
145 mock_isfile.assert_called_once()
153 def testConstructedPathToPatchSuccessfully(self, mock_isfile, mock_isdir): argument
166 mock_isfile.assert_called_once()
[all …]
Dupdate_chromeos_llvm_hash_unittest.py36 def testFailedToUpdateLLVMHashForInvalidEbuildPath(self, mock_isfile): argument
50 mock_isfile.assert_called_once()
54 def testFailedToUpdateLLVMHash(self, mock_isfile): argument
78 self.assertEqual(mock_isfile.call_count, 2)
82 def testFailedToUpdateLLVMNextHash(self, mock_isfile): argument
104 self.assertEqual(mock_isfile.call_count, 2)
109 self, mock_stage_commit_command, mock_isfile): argument
139 self.assertEqual(mock_isfile.call_count, 2)
146 self, mock_stage_commit_command, mock_isfile): argument
178 self.assertEqual(mock_isfile.call_count, 2)
[all …]
/external/toolchain-utils/heatmaps/
Dheat_map_test.py125 def test_main_arg_format(self, mock_IsARepoRoot, mock_isfile): argument
137 mock_isfile.return_value = False
143 mock_isfile.return_value = True
/external/toolchain-utils/crosperf/
Dexperiment_runner_unittest.py121 def setUp(self, mock_isfile, _mock_addmachine): argument
122 mock_isfile.return_value = True