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.py82 def test_of_build_bp_info_reuse_jsons(self, mock_json, mock_isfile, argument
88 mock_isfile.side_effect = (True, True, True)
104 def test_of_build_bp_info_rebuild_jsons(self, mock_json, mock_isfile, argument
114 mock_isfile.side_effect = (True, False, True)
138 def test_of_build_bp_info_show_build_fail(self, mock_json, mock_isfile, argument
149 mock_isfile.side_effect = (True, False, True)
171 def test_of_build_bp_info_rebuild_and_reuse(self, mock_json, mock_isfile, argument
182 mock_isfile.side_effect = (True, True, True)
202 def test_of_build_bp_info_reuse_pass(self, mock_json, mock_isfile, mock_log, argument
211 mock_isfile.side_effect = (False, True, True)
[all …]
Dide_util_unittest.py281 mock_write, mock_isfile): argument
283 mock_isfile.return_value = False
286 mock_isfile.return_value = True
303 def test_merge_symbolic_version(self, mock_isfile, mock_realpath): argument
307 mock_isfile.return_value = True
319 def test_get_application_path(self, mock_isfile, mock_cfg): argument
323 mock_isfile.return_value = True
509 def test_studio_optional_config_apply(self, mock_isfile, mock_isdir, argument
516 self.assertFalse(mock_isfile.called)
521 mock_isfile.reset_mock()
[all …]
Dnative_module_info_unittest.py211 def test_is_source_need_build_return_true(self, mock_load, mock_isfile): argument
215 mock_isfile.return_value = False
222 def test_is_source_need_build_return_false(self, mock_load, mock_isfile): argument
228 mock_isfile.return_value = True
329 mock_isfile, mock_base_load): argument
362 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.py47 def test_create_c_cpp_properties_dict(self, mock_get_root, mock_isfile, argument
59 mock_isfile.return_value = True # Compiler path exists.
69 mock_isfile.return_value = False # Compiler path doesn't exist.
/tools/acloud/create/
Dlocal_image_local_instance_test.py329 def testFindCvdHostBinaries(self, mock_isfile): argument
332 mock_isfile.return_value = None
338 mock_isfile.side_effect = (
/tools/acloud/list/
Dlist_test.py156 mock_isfile = self.Patch(list_instance.os.path, "isfile",
170 mock_isfile.assert_called()