Home
last modified time | relevance | path

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

/tools/asuite/aidegen/lib/
Dproject_info_unittest.py112 def test_get_dep_modules(self, mock_module_info): argument
114 mock_module_info.name_to_module_info = _MODULE_INFO
115 mock_module_info.is_module.return_value = True
116 mock_module_info.get_paths.return_value = ['m1']
117 mock_module_info.get_module_names.return_value = ['m1']
118 project_info.ProjectInfo.modules_info = mock_module_info
150 def test_locate_source(self, mock_atest_utils_build, mock_module_info, argument
161 mock_module_info.is_module.return_value = True
162 mock_module_info.get_paths.return_value = [
165 mock_module_info.get_module_names.return_value = [
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py231 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
232 mock_module_info.path_to_module_info = {}
237 mock_module_info),
245 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
246 mock_module_info.path_to_module_info = PATH_TO_MODULE_INFO_WITH_AUTOGEN
251 mock_module_info),
264 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
265 mock_module_info.path_to_module_info = (
271 mock_module_info),
282 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
[all …]
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py228 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
229 mock_module_info.path_to_module_info = {}
234 mock_module_info),
242 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
243 mock_module_info.path_to_module_info = PATH_TO_MODULE_INFO_WITH_AUTOGEN
248 mock_module_info),
261 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
262 mock_module_info.path_to_module_info = (
268 mock_module_info),
279 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
[all …]