Home
last modified time | relevance | path

Searched refs:mock_isfile (Results 1 – 7 of 7) sorted by relevance

/tools/asuite/aidegen/lib/
Dmodule_info_util_unittest.py83 def test_of_build_bp_info_reuse_jsons(self, mock_json, mock_isfile, argument
89 mock_isfile.side_effect = (True, True, True)
104 def test_of_build_bp_info_rebuild_jsons(self, mock_json, mock_isfile, argument
113 mock_isfile.side_effect = (True, False, True)
135 def test_of_build_bp_info_show_build_fail(self, mock_json, mock_isfile, argument
146 mock_isfile.side_effect = (True, False, True)
166 def test_of_build_bp_info_rebuild_and_reuse(self, mock_json, mock_isfile, argument
177 mock_isfile.side_effect = (True, True, True)
195 def test_of_build_bp_info_reuse_pass(self, mock_json, mock_isfile, mock_log, argument
204 mock_isfile.side_effect = (False, True, True)
[all …]
Dide_util_unittest.py280 mock_write, mock_isfile): argument
282 mock_isfile.return_value = False
285 mock_isfile.return_value = True
302 def test_merge_symbolic_version(self, mock_isfile, mock_realpath): argument
306 mock_isfile.return_value = True
318 def test_get_application_path(self, mock_isfile, mock_cfg): argument
322 mock_isfile.return_value = True
508 def test_studio_optional_config_apply(self, mock_isfile, mock_isdir, argument
515 self.assertFalse(mock_isfile.called)
520 mock_isfile.reset_mock()
[all …]
Dnative_module_info_unittest.py210 def test_is_source_need_build_return_true(self, mock_load, mock_isfile): argument
214 mock_isfile.return_value = False
221 def test_is_source_need_build_return_false(self, mock_load, mock_isfile): argument
227 mock_isfile.return_value = True
328 mock_isfile, mock_base_load): argument
361 mock_isfile.return_value = True
Dconfig_unittest.py205 def test_deprecated_intellij_version(self, mock_open, mock_isfile): argument
215 mock_isfile.return_value = True
270 def test_idea_path_not_file(self, mock_isfile): argument
274 mock_isfile.return_value = False
/tools/asuite/aidegen/vscode/
Dvscode_native_project_file_gen_unittest.py53 def test_create_c_cpp_properties_dict(self, mock_isfile, mock_isdir): argument
55 mock_isfile.return_value = True
73 mock_isfile.return_value = False
/tools/acloud/create/
Dlocal_image_local_instance_test.py111 def testFindCvdHostBinaries(self, mock_isfile): argument
114 mock_isfile.return_value = None
122 mock_isfile.side_effect = (
/tools/acloud/list/
Dinstance_test.py118 mock_isdir, mock_listdir, mock_isfile): argument
138 mock_isfile.side_effect = lambda path: (
146 mock_isfile.assert_any_call(timestamp_path)