Searched refs:mock_module_info (Results 1 – 3 of 3) sorted by relevance
/tools/asuite/aidegen/lib/ |
D | project_info_unittest.py | 112 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-py2/test_finders/ |
D | test_finder_utils_unittest.py | 228 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 …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 258 mock_module_info = mock.Mock(spec=module_info.ModuleInfo) 259 mock_module_info.path_to_module_info = {} 264 mock_module_info), 272 mock_module_info = mock.Mock(spec=module_info.ModuleInfo) 273 mock_module_info.path_to_module_info = PATH_TO_MODULE_INFO_WITH_AUTOGEN 278 mock_module_info), 291 mock_module_info = mock.Mock(spec=module_info.ModuleInfo) 292 mock_module_info.path_to_module_info = ( 298 mock_module_info), 309 mock_module_info = mock.Mock(spec=module_info.ModuleInfo) [all …]
|