Home
last modified time | relevance | path

Searched refs:mock_get_git_hash (Results 1 – 3 of 3) sorted by relevance

/external/toolchain-utils/llvm_tools/
Dllvm_bisection_unittest.py149 def testNoRevisionsBetweenStartAndEnd(self, mock_get_git_hash): argument
161 mock_get_git_hash.side_effect = MockGetGitHashForRevisionRaiseException
175 self, mock_get_git_hash): argument
196 self.assertEqual(mock_get_git_hash.call_count, 2)
210 mock_get_git_hash): argument
235 mock_get_git_hash.side_effect = MockGetGitHashForRevision
251 self.assertEqual(mock_get_git_hash.call_count, 3)
381 def testCompletedBisectionWhenProvidedSrcPath(self, mock_get_git_hash): argument
391 mock_get_git_hash.assert_called_once()
396 def testCompletedBisectionWhenNotProvidedSrcPath(self, mock_get_git_hash): argument
[all …]
Dget_llvm_hash_unittest.py62 def testGetGitHashWorks(self, mock_get_git_hash): argument
63 mock_get_git_hash.return_value = 'a13testhash2'
68 mock_get_git_hash.assert_called_once()
Dllvm_patch_management_unittest.py160 mock_move_head_pointer, mock_create_temp_llvm_repo, mock_get_git_hash): argument
208 mock_get_git_hash.assert_called_once()
235 mock_create_temp_llvm_repo, mock_get_git_hash, mock_clean_src_tree): argument
298 mock_get_git_hash.assert_called_once()