Home
last modified time | relevance | path

Searched refs:AppendASCII (Results 1 – 25 of 217) sorted by relevance

123456789

/external/chromium/chrome/browser/extensions/
Dextension_ui_unittest.cc91 extension_path = data_test_dir_path.AppendASCII("extensions") in TEST()
92 .AppendASCII("good") in TEST()
93 .AppendASCII("Extensions") in TEST()
94 .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj") in TEST()
95 .AppendASCII("1.0.0.0"); in TEST()
105 expected_output_path = data_test_dir_path.AppendASCII("extensions") in TEST()
106 .AppendASCII("ui") in TEST()
107 .AppendASCII("create_extension_detail_value_expected_output") in TEST()
108 .AppendASCII("good-extension1.json"); in TEST()
114 extension_path = data_test_dir_path.AppendASCII("extensions") in TEST()
[all …]
Dextension_incognito_apitest.cc24 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("incognito") in IN_PROC_BROWSER_TEST_F()
25 .AppendASCII("content_scripts"))); in IN_PROC_BROWSER_TEST_F()
53 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("content_scripts") in IN_PROC_BROWSER_TEST_F()
54 .AppendASCII("all_frames"))); in IN_PROC_BROWSER_TEST_F()
59 .AppendASCII("incognito").AppendASCII("content_scripts"))); in IN_PROC_BROWSER_TEST_F()
63 .AppendASCII("content_scripts").AppendASCII("isolated_world1"))); in IN_PROC_BROWSER_TEST_F()
107 .AppendASCII("incognito").AppendASCII("apis"))); in IN_PROC_BROWSER_TEST_F()
133 .AppendASCII("incognito").AppendASCII("split"))); in IN_PROC_BROWSER_TEST_F()
161 .AppendASCII("incognito").AppendASCII("apis_disabled"))); in IN_PROC_BROWSER_TEST_F()
174 .AppendASCII("incognito").AppendASCII("popup"))); in IN_PROC_BROWSER_TEST_F()
Dextension_browsertests_misc.cc85 test_data_dir_.AppendASCII("good").AppendASCII("Extensions") in IN_PROC_BROWSER_TEST_F()
86 .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj") in IN_PROC_BROWSER_TEST_F()
87 .AppendASCII("1.0.0.0"))); in IN_PROC_BROWSER_TEST_F()
116 test_data_dir_.AppendASCII("good").AppendASCII("Extensions") in IN_PROC_BROWSER_TEST_F()
117 .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj") in IN_PROC_BROWSER_TEST_F()
118 .AppendASCII("1.0.0.0"))); in IN_PROC_BROWSER_TEST_F()
136 test_data_dir_.AppendASCII("browsertest") in IN_PROC_BROWSER_TEST_F()
137 .AppendASCII("crash_25562"))); in IN_PROC_BROWSER_TEST_F()
140 test_data_dir_.AppendASCII("subscribe_page_action"))); in IN_PROC_BROWSER_TEST_F()
161 FilePath extension_path(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_startup_browsertest.cc41 profile_dir = profile_dir.AppendASCII("Default"); in SetUpCommandLine()
44 preferences_file_ = profile_dir.AppendASCII("Preferences"); in SetUpCommandLine()
45 user_scripts_dir_ = profile_dir.AppendASCII("User Scripts"); in SetUpCommandLine()
46 extensions_dir_ = profile_dir.AppendASCII("Extensions"); in SetUpCommandLine()
52 src_dir = src_dir.AppendASCII("extensions").AppendASCII("good"); in SetUpCommandLine()
54 file_util::CopyFile(src_dir.AppendASCII("Preferences"), in SetUpCommandLine()
56 file_util::CopyDirectory(src_dir.AppendASCII("Extensions"), in SetUpCommandLine()
105 test_file = test_file.AppendASCII("extensions") in TestInjection()
106 .AppendASCII("test_file.html"); in TestInjection()
188 .AppendASCII("extensions") in ExtensionsLoadTest()
[all …]
Dextension_management_browsertest.cc66 test_data_dir_.AppendASCII("permissions-low-v1.crx"), 1)) in InstallAndUpdateIncreasingPermissionsExtension()
75 test_data_dir_.AppendASCII("permissions-high-v2.crx"), -1)) in InstallAndUpdateIncreasingPermissionsExtension()
89 test_data_dir_.AppendASCII("install/install.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
95 test_data_dir_.AppendASCII("install/install_same_version.crx"), 0)); in IN_PROC_BROWSER_TEST_F()
107 test_data_dir_.AppendASCII("install/install.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
109 test_data_dir_.AppendASCII("install/install_older_version.crx"), 0)); in IN_PROC_BROWSER_TEST_F()
118 test_data_dir_.AppendASCII("install/install.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
121 StartInstallButCancel(test_data_dir_.AppendASCII("install/install_v2.crx")); in IN_PROC_BROWSER_TEST_F()
135 ASSERT_TRUE(InstallExtension(test_data_dir_.AppendASCII("good.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
173 test_data_dir_.AppendASCII("good").AppendASCII("Extensions") in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_toolbar_model_browsertest.cc73 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
74 .AppendASCII("browser_action") in IN_PROC_BROWSER_TEST_F()
75 .AppendASCII("none"))); in IN_PROC_BROWSER_TEST_F()
83 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
84 .AppendASCII("browser_action") in IN_PROC_BROWSER_TEST_F()
85 .AppendASCII("basics"))); in IN_PROC_BROWSER_TEST_F()
113 FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
114 .AppendASCII("browser_action") in IN_PROC_BROWSER_TEST_F()
115 .AppendASCII("basics")); in IN_PROC_BROWSER_TEST_F()
127 FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_management_api_browsertest.cc15 test_data_dir_.AppendASCII("management/install_event"))); in IN_PROC_BROWSER_TEST_F()
20 test_data_dir_.AppendASCII("api_test/management/enabled_extension"))); in IN_PROC_BROWSER_TEST_F()
28 test_data_dir_.AppendASCII("management/simple_extension"))); in IN_PROC_BROWSER_TEST_F()
30 test_data_dir_.AppendASCII("management/packaged_app"))); in IN_PROC_BROWSER_TEST_F()
32 test_data_dir_.AppendASCII("management/launch_app"))); in IN_PROC_BROWSER_TEST_F()
41 test_data_dir_.AppendASCII("management/packaged_app"))); in IN_PROC_BROWSER_TEST_F()
43 test_data_dir_.AppendASCII("management/launch_app_from_background"))); in IN_PROC_BROWSER_TEST_F()
Dextension_service_unittest.cc389 data_dir_ = test_data_dir.AppendASCII("extensions"); in ExtensionServiceTestBase()
545 crx_path = temp_dir_.path().AppendASCII("temp.crx"); in PackAndInstallCrx()
550 pem_output_path = crx_path.DirName().AppendASCII("temp.pem"); in PackAndInstallCrx()
916 .AppendASCII("good") in TEST_F()
917 .AppendASCII("Extensions"); in TEST_F()
920 .AppendASCII("Preferences"); in TEST_F()
959 FilePath expected_path(extension->path().AppendASCII("script1.js")); in TEST_F()
965 expected_path = extension->path().AppendASCII("script2.js"); in TEST_F()
975 extension->path().AppendASCII("js_files").AppendASCII("script3.js"); in TEST_F()
994 EXPECT_EQ(loaded_[1]->path().AppendASCII("content_plugin.dll").value(), in TEST_F()
[all …]
Dextension_resource_request_policy_apitest.cc23 .AppendASCII("extension_resource_request_policy") in IN_PROC_BROWSER_TEST_F()
24 .AppendASCII("extension"))); in IN_PROC_BROWSER_TEST_F()
65 test_data_dir_.AppendASCII("extension_resource_request_policy") in IN_PROC_BROWSER_TEST_F()
66 .AppendASCII("index.html"), &file_source)); in IN_PROC_BROWSER_TEST_F()
78 .AppendASCII("extension_resource_request_policy") in IN_PROC_BROWSER_TEST_F()
79 .AppendASCII("extension2"))); in IN_PROC_BROWSER_TEST_F()
93 .AppendASCII("extension_resource_request_policy") in IN_PROC_BROWSER_TEST_F()
94 .AppendASCII("extension"))); in IN_PROC_BROWSER_TEST_F()
Dwindow_open_apitest.cc20 .AppendASCII("window_open").AppendASCII("spanning"))); in IN_PROC_BROWSER_TEST_F()
57 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_blocking") in IN_PROC_BROWSER_TEST_F()
58 .AppendASCII("extension"))); in IN_PROC_BROWSER_TEST_F()
68 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_blocking") in IN_PROC_BROWSER_TEST_F()
69 .AppendASCII("hosted_app"))); in IN_PROC_BROWSER_TEST_F()
Dextension_management_apitest.cc33 FilePath basedir = test_data_dir_.AppendASCII("management"); in InstallExtensions()
36 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("enabled_extension"))); in InstallExtensions()
37 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("enabled_app"))); in InstallExtensions()
38 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("description"))); in InstallExtensions()
39 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("permissions"))); in InstallExtensions()
43 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("disabled_extension"))); in InstallExtensions()
45 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("disabled_app"))); in InstallExtensions()
54 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII(app_path))); in LoadAndWaitForLaunch()
80 test_data_dir_.AppendASCII("management/launch_on_install"))); in IN_PROC_BROWSER_TEST_F()
130 test_data_dir_.AppendASCII("management/launch_on_install"))); in IN_PROC_BROWSER_TEST_F()
Dextension_icon_source_apitest.cc20 FilePath basedir = test_data_dir_.AppendASCII("icons"); in IN_PROC_BROWSER_TEST_F()
21 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("extension_with_permission"))); in IN_PROC_BROWSER_TEST_F()
22 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("extension_no_permission"))); in IN_PROC_BROWSER_TEST_F()
49 FilePath basedir = test_data_dir_.AppendASCII("icons"); in IN_PROC_BROWSER_TEST_F()
51 basedir.AppendASCII("extension_with_permission"))); in IN_PROC_BROWSER_TEST_F()
53 basedir.AppendASCII("extension_no_permission"))); in IN_PROC_BROWSER_TEST_F()
Dall_urls_apitest.cc20 FilePath extension_dir1 = test_data_dir_.AppendASCII("all_urls") in IN_PROC_BROWSER_TEST_F()
21 .AppendASCII("content_script"); in IN_PROC_BROWSER_TEST_F()
22 FilePath extension_dir2 = test_data_dir_.AppendASCII("all_urls") in IN_PROC_BROWSER_TEST_F()
23 .AppendASCII("execute_script"); in IN_PROC_BROWSER_TEST_F()
87 FilePath extension_dir1 = test_data_dir_.AppendASCII("all_urls") in IN_PROC_BROWSER_TEST_F()
88 .AppendASCII("content_script"); in IN_PROC_BROWSER_TEST_F()
89 FilePath extension_dir2 = test_data_dir_.AppendASCII("all_urls") in IN_PROC_BROWSER_TEST_F()
90 .AppendASCII("execute_script"); in IN_PROC_BROWSER_TEST_F()
Dextension_messages_apitest.cc62 test_data_dir_.AppendASCII("..").AppendASCII("good") in IN_PROC_BROWSER_TEST_F()
63 .AppendASCII("Extensions") in IN_PROC_BROWSER_TEST_F()
64 .AppendASCII("bjafgdebaacbbbecmhlhpofkepfkgcpa") in IN_PROC_BROWSER_TEST_F()
65 .AppendASCII("1.0"))); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/common/extensions/
Dextension_file_util_unittest.cc25 FilePath src = temp.path().AppendASCII(extension_id); in TEST()
29 FilePath all_extensions = temp.path().AppendASCII("extensions"); in TEST()
38 all_extensions.AppendASCII(extension_id).AppendASCII("1.0_0") in TEST()
52 all_extensions.AppendASCII(extension_id).AppendASCII("1.0_1") in TEST()
59 FilePath().AppendASCII(extension_id).Append(version_2.BaseName()); in TEST()
74 install_dir = install_dir.AppendASCII("extensions") in TEST()
75 .AppendASCII("good") in TEST()
76 .AppendASCII("Extensions") in TEST()
77 .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj") in TEST()
78 .AppendASCII("1.0.0.0"); in TEST()
[all …]
/external/chromium/chrome/common/
Dzip_unittest.cc28 zip_contents_.insert(zip_path.AppendASCII("foo.txt")); in SetUp()
29 zip_path = zip_path.AppendASCII("foo"); in SetUp()
31 zip_contents_.insert(zip_path.AppendASCII("bar.txt")); in SetUp()
32 zip_path = zip_path.AppendASCII("bar"); in SetUp()
34 zip_contents_.insert(zip_path.AppendASCII("baz.txt")); in SetUp()
35 zip_contents_.insert(zip_path.AppendASCII("quux.txt")); in SetUp()
36 zip_contents_.insert(zip_path.AppendASCII(".hidden")); in SetUp()
47 test_dir = test_dir.AppendASCII("zip"); in TestUnzipFile()
101 path = path.AppendASCII("zip").AppendASCII("evil.zip"); in TEST_F()
104 evil_file = evil_file.AppendASCII( in TEST_F()
[all …]
Djson_pref_store_unittest.cc30 data_dir_ = data_dir_.AppendASCII("pref_service"); in SetUp()
45 FilePath bogus_input_file = data_dir_.AppendASCII("read.txt"); in TEST_F()
56 FilePath invalid_file_original = data_dir_.AppendASCII("invalid.json"); in TEST_F()
57 FilePath invalid_file = temp_dir_.path().AppendASCII("invalid.json"); in TEST_F()
67 FilePath moved_aside = temp_dir_.path().AppendASCII("invalid.bad"); in TEST_F()
74 ASSERT_TRUE(file_util::CopyFile(data_dir_.AppendASCII("read.json"), in TEST_F()
75 temp_dir_.path().AppendASCII("write.json"))); in TEST_F()
78 FilePath input_file = temp_dir_.path().AppendASCII("write.json"); in TEST_F()
156 FilePath golden_output_file = data_dir_.AppendASCII("write.golden.json"); in TEST_F()
/external/chromium/chrome/browser/ui/views/
Dbrowser_actions_container_browsertest.cc53 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
54 .AppendASCII("browser_action") in IN_PROC_BROWSER_TEST_F()
55 .AppendASCII("none"))); in IN_PROC_BROWSER_TEST_F()
60 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
61 .AppendASCII("browser_action") in IN_PROC_BROWSER_TEST_F()
62 .AppendASCII("basics"))); in IN_PROC_BROWSER_TEST_F()
79 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
80 .AppendASCII("browser_action") in IN_PROC_BROWSER_TEST_F()
81 .AppendASCII("basics"))); in IN_PROC_BROWSER_TEST_F()
92 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/chrome/browser/
Dbrowser_encoding_uitest.cc42 temp_sub_resource_dir_ = save_dir_.AppendASCII("sub_resource_files"); in SetUp()
98 FilePath test_dir_path = FilePath(kTestDir).AppendASCII(kAliasTestDir); in TEST_F()
101 test_file_path = test_file_path.AppendASCII( in TEST_F()
119 FilePath test_dir_path = FilePath(kTestDir).AppendASCII(kOverrideTestDir); in TEST_F()
120 test_dir_path = test_dir_path.AppendASCII(kTestFileName); in TEST_F()
144 FilePath full_file_name = save_dir_.AppendASCII(kTestFileName); in TEST_F()
153 FilePath expected_file_name = FilePath().AppendASCII(kOverrideTestDir); in TEST_F()
154 expected_file_name = expected_file_name.AppendASCII(kExpectedFileName); in TEST_F()
239 FilePath test_dir_path = FilePath(kTestDir).AppendASCII(kAutoDetectDir); in TEST_F()
253 test_file_path = test_file_path.AppendASCII(kTestDatas[i].test_file_name); in TEST_F()
[all …]
Dshell_integration_unittest.cc90 temp_dir.path().AppendASCII(kTemplateFilename), in TEST()
105 temp_dir.path().AppendASCII("applications"))); in TEST()
107 temp_dir.path().AppendASCII("applications") in TEST()
108 .AppendASCII(kTemplateFilename), in TEST()
122 temp_dir.path().AppendASCII("applications").value()); in TEST()
124 temp_dir.path().AppendASCII("applications"))); in TEST()
126 temp_dir.path().AppendASCII(kTemplateFilename), in TEST()
129 temp_dir.path().AppendASCII("applications") in TEST()
130 .AppendASCII(kTemplateFilename), in TEST()
322 default_user_data_dir.AppendASCII(chrome::kNotSignedInProfile); in TEST()
/external/chromium/chrome/browser/download/
Dsave_page_browsertest.cc67 FilePath dir = save_dir_.path().AppendASCII("a_files"); in IN_PROC_BROWSER_TEST_F()
95 FilePath dir = save_dir_.path().AppendASCII("a_files"); in IN_PROC_BROWSER_TEST_F()
122 FilePath dir = save_dir_.path().AppendASCII("b_files"); in IN_PROC_BROWSER_TEST_F()
134 test_dir_.Append(FilePath(kTestDir)).AppendASCII("b.saved1.htm"), in IN_PROC_BROWSER_TEST_F()
137 test_dir_.Append(FilePath(kTestDir)).AppendASCII("1.png"), in IN_PROC_BROWSER_TEST_F()
138 dir.AppendASCII("1.png"))); in IN_PROC_BROWSER_TEST_F()
140 test_dir_.Append(FilePath(kTestDir)).AppendASCII("1.css"), in IN_PROC_BROWSER_TEST_F()
141 dir.AppendASCII("1.css"))); in IN_PROC_BROWSER_TEST_F()
157 FilePath full_file_name = save_dir_.path().AppendASCII( in IN_PROC_BROWSER_TEST_F()
159 FilePath dir = save_dir_.path().AppendASCII( in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc165 return temp_dir_.path().AppendASCII("FilePathWatcherTest"); in test_file()
229 FilePath source_file(temp_dir_.path().AppendASCII("source")); in TEST_F()
311 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
312 FilePath file(dir.AppendASCII("file")); in TEST_F()
340 path = path.AppendASCII(dir); in TEST_F()
344 FilePath file(path.AppendASCII("file")); in TEST_F()
351 sub_path = sub_path.AppendASCII(*d); in TEST_F()
366 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
367 FilePath file(dir.AppendASCII("file")); in TEST_F()
395 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
[all …]
/external/chromium/net/base/
Dcert_test_util.cc17 certs_dir = certs_dir.AppendASCII("net"); in GetTestCertsDirectory()
18 certs_dir = certs_dir.AppendASCII("data"); in GetTestCertsDirectory()
19 certs_dir = certs_dir.AppendASCII("ssl"); in GetTestCertsDirectory()
20 certs_dir = certs_dir.AppendASCII("certificates"); in GetTestCertsDirectory()
27 FilePath cert_path = certs_dir.AppendASCII(cert_file); in ImportCertFromFile()
/external/chromium/chrome/browser/task_manager/
Dtask_manager_browsertest.cc228 test_data_dir_.AppendASCII("common").AppendASCII("background_page"))); in IN_PROC_BROWSER_TEST_F()
242 test_data_dir_.AppendASCII("good").AppendASCII("Extensions") in IN_PROC_BROWSER_TEST_F()
243 .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj") in IN_PROC_BROWSER_TEST_F()
244 .AppendASCII("1.0.0.0"))); in IN_PROC_BROWSER_TEST_F()
281 test_data_dir_.AppendASCII("packaged_app"))); in IN_PROC_BROWSER_TEST_F()
347 test_data_dir_.AppendASCII("common").AppendASCII("background_page"))); in IN_PROC_BROWSER_TEST_F()
370 test_data_dir_.AppendASCII("common").AppendASCII("background_page"))); in IN_PROC_BROWSER_TEST_F()
406 test_data_dir_.AppendASCII("common").AppendASCII("background_page"))); in IN_PROC_BROWSER_TEST_F()
/external/chromium/webkit/glue/
Ddom_operations_unittest.cc83 FilePath page_file_path = data_dir_.AppendASCII("dom_serializer"); in TEST_F()
100 page_file_path.AppendASCII(expected_frame_links[i]); in TEST_F()
105 page_file_path = page_file_path.AppendASCII("youtube_1.htm"); in TEST_F()
114 FilePath page_file_path = data_dir_.AppendASCII("dom_serializer"); in TEST_F()
122 page_file_path.AppendASCII(expected_frame_links[i]); in TEST_F()
127 page_file_path = page_file_path.AppendASCII("youtube_2.htm"); in TEST_F()

123456789