Searched refs:mock_build (Results 1 – 5 of 5) sorted by relevance
/tools/asuite/aidegen/lib/ |
D | module_info_util_unittest.py | 106 mock_log, mock_time, mock_build, argument 117 mock_build.side_effect = (True, True) 125 self.assertTrue(mock_build.called) 140 mock_log, mock_time, mock_build, argument 152 mock_build.side_effect = (True, False) 158 self.assertTrue(mock_build.called) 173 mock_log, mock_time, mock_build, argument 185 mock_build.side_effect = (True, False) 204 mock_time, mock_build, mock_judge, argument 214 mock_build.side_effect = (True, False) [all …]
|
D | project_info_unittest.py | 282 def test_build_target(self, mock_build, mock_format, mock_print): argument 287 mock_build.return_value = False 289 self.assertTrue(mock_build.called_with((build_argument, True))) 294 mock_build.reset_mock() 296 mock_build.return_value = True 298 self.assertTrue(mock_build.called_with((build_argument, True))) 303 mock_build.reset_mock() 327 def test_batch_build_dependencies(self, mock_log, mock_sep, mock_build): argument 333 self.assertEqual(mock_build.call_count, 1)
|
/tools/asuite/atest/test_finders/ |
D | module_finder_unittest.py | 150 mock_checkoutput, mock_build, argument 153 mock_build.return_value = uc.CLASS_BUILD_TARGETS 168 mock_build.return_value = uc.MODULE_BUILD_TARGETS 173 mock_build.return_value = uc.MODULE_BUILD_TARGETS 180 mock_build.return_value = uc.CLASS_BUILD_TARGETS 208 mock_checkoutput, mock_build, argument 216 mock_build.return_value = uc.CLASS_BUILD_TARGETS 225 mock_build.return_value = uc.MODULE_BUILD_TARGETS 250 mock_checkoutput, mock_build, argument 258 mock_build.return_value = uc.CLASS_BUILD_TARGETS [all …]
|
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder_unittest.py | 147 mock_checkoutput, mock_build, argument 150 mock_build.return_value = uc.CLASS_BUILD_TARGETS 165 mock_build.return_value = uc.MODULE_BUILD_TARGETS 170 mock_build.return_value = uc.MODULE_BUILD_TARGETS 177 mock_build.return_value = uc.CLASS_BUILD_TARGETS 205 mock_checkoutput, mock_build, argument 213 mock_build.return_value = uc.CLASS_BUILD_TARGETS 222 mock_build.return_value = uc.MODULE_BUILD_TARGETS 247 mock_checkoutput, mock_build, argument 255 mock_build.return_value = uc.CLASS_BUILD_TARGETS [all …]
|
/tools/acloud/internal/lib/ |
D | android_build_client_test.py | 138 mock_build = mock.MagicMock() 139 mock_build.get.return_value = mock_api 140 self.client._service.build = mock.MagicMock(return_value=mock_build) 143 mock_build.get.assert_called_once_with( 152 mock_build = mock.MagicMock() 153 mock_build.list.return_value = mock_api 154 self.client._service.build = mock.MagicMock(return_value=mock_build) 157 mock_build.list.assert_called_once_with(
|