Lines Matching refs:mock
24 from unittest import mock
97 self.args = mock.MagicMock()
111 @mock.patch('atest.module_info.ModuleInfo')
122 @mock.patch.object(project_info.ProjectInfo,
124 @mock.patch.object(project_info.ProjectInfo, 'get_dep_modules')
131 @mock.patch.object(common_util, 'get_android_root_dir')
146 @mock.patch('logging.info')
147 @mock.patch.object(common_util, 'get_android_root_dir')
148 @mock.patch('atest.module_info.ModuleInfo')
149 @mock.patch('atest.atest_utils.build')
189 @mock.patch.object(project_info, 'batch_build_dependencies')
190 @mock.patch.object(common_util, 'get_android_root_dir')
191 @mock.patch('atest.module_info.ModuleInfo')
192 @mock.patch('atest.atest_utils.build')
212 args = mock.MagicMock()
267 @mock.patch.object(project_info.ProjectInfo, 'locate_source')
268 @mock.patch('atest.module_info.ModuleInfo')
279 @mock.patch('builtins.print')
280 @mock.patch('builtins.format')
281 @mock.patch('atest.atest_utils.build')
305 @mock.patch('builtins.print')
306 @mock.patch.object(project_info.ProjectInfo, '_search_android_make_files')
307 @mock.patch('atest.module_info.ModuleInfo')
324 @mock.patch.object(project_info, '_build_target')
325 @mock.patch.object(project_info, '_separate_build_targets')
326 @mock.patch.object(logging, 'info')
339 @mock.patch.object(project_info.ProjectInfo, '__init__')
340 @mock.patch.object(project_info.ProjectInfo, 'get_dep_modules')
341 @mock.patch.object(project_info.ProjectInfo,
343 @mock.patch.object(project_info.ProjectInfo,
345 @mock.patch.object(common_util, 'get_related_paths')
361 @mock.patch.object(logging, 'debug')
362 @mock.patch.object(source_locator, 'ModuleData')
363 @mock.patch.object(project_info.ProjectInfo, '__init__')
369 module = mock.Mock()
407 @mock.patch.object(source_locator, 'ModuleData')
408 @mock.patch.object(project_info.ProjectInfo, '__init__')
413 module = mock.Mock()
436 @mock.patch.object(source_locator, 'ModuleData')
437 @mock.patch.object(project_info.ProjectInfo, '__init__')
442 module = mock.Mock()