Home
last modified time | relevance | path

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

/external/toolchain-utils/llvm_tools/
Dpatch_manager_unittest.py367 def testExceptionThrownOnAFailedPatchInFailMode(self, mock_apply_patch, argument
408 mock_apply_patch.assert_called_once_with(src_path, abs_patch_path)
412 def testSomePatchesFailedToApplyInContinueMode(self, mock_apply_patch, argument
481 mock_apply_patch.side_effect = MultipleCallsToApplyPatches
513 self.assertEqual(mock_apply_patch.call_count, 3)
517 def testSomePatchesAreDisabled(self, mock_apply_patch, argument
587 mock_apply_patch.side_effect = MultipleCallsToApplyPatches
646 self.assertEqual(mock_apply_patch.call_count, 3)
650 def testSomePatchesAreRemoved(self, mock_apply_patch, mock_get_path_to_patch): argument
776 mock_apply_patch.assert_not_called()
[all …]