Home
last modified time | relevance | path

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

/tools/asuite/aidegen/lib/
Dmodule_info_util_unittest.py105 mock_log, mock_time, mock_build, argument
116 mock_build.side_effect = (True, True)
124 self.assertTrue(mock_build.called)
139 mock_log, mock_time, mock_build, argument
151 mock_build.side_effect = (True, False)
157 self.assertTrue(mock_build.called)
172 mock_log, mock_time, mock_build, argument
184 mock_build.side_effect = (True, False)
203 mock_time, mock_build, mock_judge, argument
213 mock_build.side_effect = (True, False)
[all …]
Dproject_info_unittest.py280 def test_build_target(self, mock_build, mock_format, mock_print): argument
285 mock_build.return_value = False
287 self.assertTrue(mock_build.called_with((build_argument, True)))
292 mock_build.reset_mock()
294 mock_build.return_value = True
296 self.assertTrue(mock_build.called_with((build_argument, True)))
301 mock_build.reset_mock()
306 def test_batch_build_dependencies(self, mock_log, mock_sep, mock_build): argument
312 self.assertEqual(mock_build.call_count, 1)
/tools/asuite/atest/test_finders/
Dmodule_finder_unittest.py461 mock_build, argument
470 mock_build.return_value = uc.CLASS_BUILD_TARGETS
490 mock_build.return_value = copy.deepcopy(uc.MODULE_BUILD_TARGETS)
494 mock_build.return_value = copy.deepcopy(uc.MODULE_BUILD_TARGETS)
499 mock_build.return_value = uc.CLASS_BUILD_TARGETS
538 mock_build, argument
550 mock_build.return_value = uc.CLASS_BUILD_TARGETS
565 mock_build.return_value = copy.deepcopy(uc.MODULE_BUILD_TARGETS)
600 mock_build, argument
612 mock_build.return_value = uc.CLASS_BUILD_TARGETS
[all …]
/tools/acloud/internal/lib/
Dandroid_build_client_test.py140 mock_build = mock.MagicMock()
141 mock_build.get.return_value = mock_api
142 self.client._service.build = mock.MagicMock(return_value=mock_build)
145 mock_build.get.assert_called_once_with(
154 mock_build = mock.MagicMock()
155 mock_build.list.return_value = mock_api
156 self.client._service.build = mock.MagicMock(return_value=mock_build)
159 mock_build.list.assert_called_once_with(