Home
last modified time | relevance | path

Searched refs:mock_exists (Results 1 – 15 of 15) sorted by relevance

/aosp_15_r20/tools/asuite/aidegen/lib/
H A Dclion_project_file_gen_unittest.py56 def test_init_with_mod_info_without_mod_name(self, mock_exists): argument
60 mock_exists.return_value = True
65 def test_init_with_mod_info_without_mod_path(self, mock_exists): argument
69 mock_exists.return_value = True
80 self, mock_get_path, mock_get_cmake, mock_exists, mock_mkdirs): argument
86 mock_exists.return_value = True
90 mock_exists.return_value = False
95 def test_write_header(self, mock_exists): argument
98 mock_exists.return_value = True
117 def test_write_c_compiler_paths(self, mock_exists): argument
[all …]
H A Dsource_locator_unittest.py132 def test_collect_r_src_path(self, mock_android_root_dir, mock_exists): argument
134 mock_exists.return_value = True
173 mock_exists.return_value = False
411 def test_collect_all_srcjar_path(self, mock_exists): argument
413 mock_exists.return_value = True
431 mock_exists.return_value = False
H A Declipse_project_file_gen_unittest.py126 def test_gen_bin_link(self, mock_exists, mock_mkdir): argument
128 mock_exists.return_value = True
131 mock_exists.return_value = False
H A Dide_util_unittest.py614 def test_eclipse_get_ide_cmd(self, mock_exists, mock_input): argument
619 mock_exists.return_value = True
628 mock_exists.return_value = False
/aosp_15_r20/system/extras/torq/tests/
H A Dvalidate_simpleperf_unit_test.py43 def test_create_parser_valid_symbols(self, mock_isdir, mock_exists): argument
45 mock_exists.return_value = True
63 mock_isdir, mock_exists): argument
65 mock_exists.return_value = True
81 mock_isdir, mock_exists): argument
83 mock_exists.return_value = False
102 mock_isdir, mock_exists): argument
104 mock_exists.return_value = False
122 mock_exists): argument
124 mock_exists.return_value = False
[all …]
H A Dtorq_unit_test.py96 def test_create_parser_valid_profiler_names(self, mock_isdir, mock_exists): argument
98 mock_exists.return_value = True
494 mock_isdir, mock_exists): argument
496 mock_exists.return_value = True
726 mock_exists): argument
728 mock_exists.return_value = True
945 def test_create_parser_valid_open_subcommand(self, mock_exists): argument
946 mock_exists.return_value = True
962 def test_create_parser_open_subcommand_invalid_file(self, mock_exists): argument
963 mock_exists.return_value = False
/aosp_15_r20/tools/asuite/aidegen/idea/
H A Dxml_gen_unittest.py101 mock_file_gen, mock_exists): argument
106 mock_exists.return_value = False
109 mock_exists.return_value = True
H A Diml_unittest.py158 def test_generate_facet(self, mock_exists): argument
160 mock_exists.return_value = False
163 mock_exists.return_value = True
/aosp_15_r20/external/pytorch/tools/test/heuristics/
H A Dtest_heuristics.py120 def test_cache_does_not_exist(self, mock_exists: Any) -> None:
129 def test_empty_cache(self, mock_exists: Any, mock_open: Any) -> None:
149 def test_dedupes_failing_test_files(self, mock_exists: Any, mock_open: Any) -> None:
/aosp_15_r20/tools/asuite/aidegen/sdk/
H A Djdk_table_unittest.py61 def test_init(self, mock_parse, mock_exists, mock_gen_file): argument
66 mock_exists.return_value = True
70 mock_exists.return_value = False
/aosp_15_r20/external/toolchain-utils/crosperf/
H A Dexperiment_factory_unittest.py547 def test_check_crosfleet_tool(self, mock_exists, mock_runcmd): argument
552 mock_exists.return_value = True
556 mock_exists.return_value = False
H A Dresults_cache_unittest.py850 self, mock_exists, mock_get_total_samples, mock_getpath argument
865 mock_exists.return_value = True
/aosp_15_r20/external/angle/build/fuchsia/
H A Dupdate_product_bundles_test.py73 mock_exists): argument
88 mock_exists.side_effect = [True, False]
/aosp_15_r20/external/cronet/build/fuchsia/
H A Dupdate_product_bundles_test.py72 mock_exists): argument
87 mock_exists.side_effect = [True, False]
/aosp_15_r20/tools/acloud/create/
H A Dremote_image_local_instance_test.py77 mock_exists = self.Patch(
149 mock_exists.side_effect = lambda p: p in (