Home
last modified time | relevance | path

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

12345678910>>...31

/external/chromium_org/chrome/browser/extensions/
Dshared_module_apitest.cc18 test_data_dir_.AppendASCII("shared_module").AppendASCII("shared"))); in IN_PROC_BROWSER_TEST_F()
23 test_data_dir_.AppendASCII("shared_module") in IN_PROC_BROWSER_TEST_F()
24 .AppendASCII("import_wrong_version"), 0)); in IN_PROC_BROWSER_TEST_F()
26 test_data_dir_.AppendASCII("shared_module") in IN_PROC_BROWSER_TEST_F()
27 .AppendASCII("import_non_existent"), 0)); in IN_PROC_BROWSER_TEST_F()
32 test_data_dir_.AppendASCII("shared_module") in IN_PROC_BROWSER_TEST_F()
33 .AppendASCII("shared_whitelist"))); in IN_PROC_BROWSER_TEST_F()
36 test_data_dir_.AppendASCII("shared_module") in IN_PROC_BROWSER_TEST_F()
37 .AppendASCII("import_not_in_whitelist"), 0)); in IN_PROC_BROWSER_TEST_F()
44 test_data_dir_.AppendASCII("shared_module").AppendASCII("shared")); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_ui_unittest.cc174 extension_path = data_test_dir_path.AppendASCII("extensions") in TEST_F()
175 .AppendASCII("good") in TEST_F()
176 .AppendASCII("Extensions") in TEST_F()
177 .AppendASCII("behllobkkfkfnphdnhnkndlbkcpglgmj") in TEST_F()
178 .AppendASCII("1.0.0.0"); in TEST_F()
188 expected_output_path = data_test_dir_path.AppendASCII("extensions") in TEST_F()
189 .AppendASCII("ui") in TEST_F()
190 .AppendASCII("create_extension_detail_value_expected_output") in TEST_F()
191 .AppendASCII("good-extension1.json"); in TEST_F()
197 extension_path = data_test_dir_path.AppendASCII("extensions") in TEST_F()
[all …]
Dextension_keybinding_apitest.cc440 AppendASCII("keybinding").AppendASCII("keybinding.pem"); in IN_PROC_BROWSER_TEST_F()
442 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") in IN_PROC_BROWSER_TEST_F()
443 .AppendASCII("v1_unassigned"), in IN_PROC_BROWSER_TEST_F()
444 scoped_temp_dir.path().AppendASCII("v1_unassigned.crx"), in IN_PROC_BROWSER_TEST_F()
448 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") in IN_PROC_BROWSER_TEST_F()
449 .AppendASCII("v2"), in IN_PROC_BROWSER_TEST_F()
450 scoped_temp_dir.path().AppendASCII("v2.crx"), in IN_PROC_BROWSER_TEST_F()
485 AppendASCII("keybinding").AppendASCII("keybinding.pem"); in IN_PROC_BROWSER_TEST_F()
487 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") in IN_PROC_BROWSER_TEST_F()
488 .AppendASCII("v1"), in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_startup_browsertest.cc80 profile_dir = profile_dir.AppendASCII(TestingProfile::kTestUserProfileDir); in SetUpUserDataDirectory()
84 user_scripts_dir_ = profile_dir.AppendASCII("User Scripts"); in SetUpUserDataDirectory()
85 extensions_dir_ = profile_dir.AppendASCII("Extensions"); in SetUpUserDataDirectory()
90 src_dir = src_dir.AppendASCII("extensions").AppendASCII("good"); in SetUpUserDataDirectory()
94 base::CopyDirectory(src_dir.AppendASCII("Extensions"), in SetUpUserDataDirectory()
151 test_file = test_file.AppendASCII("extensions") in TestInjection()
152 .AppendASCII("test_file.html"); in TestInjection()
243 .AppendASCII("extensions") in ExtensionsLoadTest()
244 .AppendASCII("good") in ExtensionsLoadTest()
245 .AppendASCII("Extensions") in ExtensionsLoadTest()
[all …]
Dextension_garbage_collector_unittest.cc91 extensions_install_dir().AppendASCII(kExtensionId); in TEST_F()
121 extensions_install_dir().AppendASCII(kExtensionId); in TEST_F()
138 data_dir().AppendASCII("pending_updates").AppendASCII("Extensions"); in TEST_F()
147 ASSERT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
154 EXPECT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
156 EXPECT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
158 EXPECT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
160 EXPECT_FALSE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
169 data_dir().AppendASCII("pending_updates").AppendASCII("Extensions"); in TEST_F()
178 ASSERT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
[all …]
Dextension_incognito_apitest.cc29 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("incognito") in IN_PROC_BROWSER_TEST_F()
30 .AppendASCII("content_scripts"))); in IN_PROC_BROWSER_TEST_F()
62 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("content_scripts") in IN_PROC_BROWSER_TEST_F()
63 .AppendASCII("all_frames"))); in IN_PROC_BROWSER_TEST_F()
68 .AppendASCII("incognito").AppendASCII("content_scripts"))); in IN_PROC_BROWSER_TEST_F()
72 .AppendASCII("content_scripts").AppendASCII("isolated_world1"))); in IN_PROC_BROWSER_TEST_F()
117 .AppendASCII("incognito").AppendASCII("apis")));
146 .AppendASCII("incognito").AppendASCII("split")));
178 .AppendASCII("incognito").AppendASCII("apis_disabled")));
197 .AppendASCII("incognito").AppendASCII("popup")));
Dwindow_open_apitest.cc57 .AppendASCII("window_open").AppendASCII("spanning"))); in IN_PROC_BROWSER_TEST_F()
121 test_data_dir_.AppendASCII("window_open").AppendASCII("browser_is_app"))); in IN_PROC_BROWSER_TEST_F()
136 test_data_dir_.AppendASCII("window_open").AppendASCII("popup"))); in IN_PROC_BROWSER_TEST_F()
149 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_iframe"))); in IN_PROC_BROWSER_TEST_F()
159 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_large"))); in IN_PROC_BROWSER_TEST_F()
170 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_small"))); in IN_PROC_BROWSER_TEST_F()
190 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_blocking") in IN_PROC_BROWSER_TEST_F()
191 .AppendASCII("extension"))); in IN_PROC_BROWSER_TEST_F()
201 test_data_dir_.AppendASCII("window_open").AppendASCII("popup_blocking") in IN_PROC_BROWSER_TEST_F()
202 .AppendASCII("hosted_app"))); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/installer/util/
Dlzma_util_unittest.cc20 data_dir_ = data_dir_.AppendASCII("installer"); in SetUp()
36 base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); in TEST_F()
42 archive = data_dir_.AppendASCII("archive2.7z"); in TEST_F()
47 archive = data_dir_.AppendASCII("archive1.7z"); in TEST_F()
51 archive = data_dir_.AppendASCII("archive.non_existent.7z"); in TEST_F()
58 extract_dir = extract_dir.AppendASCII("UnPackTest"); in TEST_F()
63 base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); in TEST_F()
69 EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("a.exe"))); in TEST_F()
70 EXPECT_TRUE(unpacked_file == extract_dir.AppendASCII("a.exe").value()); in TEST_F()
72 archive = data_dir_.AppendASCII("archive2.7z"); in TEST_F()
[all …]
Dmove_tree_work_item_unittest.cc63 from_dir1 = from_dir1.AppendASCII("From_Dir1"); in TEST_F()
68 from_dir2 = from_dir2.AppendASCII("From_Dir2"); in TEST_F()
73 from_file = from_file.AppendASCII("From_File"); in TEST_F()
79 to_dir = to_dir.AppendASCII("To_Dir"); in TEST_F()
83 to_file = to_file.AppendASCII("From_Dir2"); in TEST_F()
84 to_file = to_file.AppendASCII("From_File"); in TEST_F()
112 from_dir1 = from_dir1.AppendASCII("From_Dir1"); in TEST_F()
117 from_dir2 = from_dir2.AppendASCII("From_Dir2"); in TEST_F()
122 from_file = from_file.AppendASCII("From_File"); in TEST_F()
128 to_dir = to_dir.AppendASCII("To_Dir"); in TEST_F()
[all …]
Dcreate_dir_work_item_unittest.cc30 parent_dir = parent_dir.AppendASCII("a"); in TEST_F()
35 top_dir_to_create = top_dir_to_create.AppendASCII("b"); in TEST_F()
38 dir_to_create = dir_to_create.AppendASCII("c"); in TEST_F()
39 dir_to_create = dir_to_create.AppendASCII("d"); in TEST_F()
57 dir_to_create = dir_to_create.AppendASCII("aa"); in TEST_F()
77 dir_to_create_1 = dir_to_create_1.AppendASCII("aaa"); in TEST_F()
80 dir_to_create_2 = dir_to_create_2.AppendASCII("bbb"); in TEST_F()
83 dir_to_create_3 = dir_to_create_3.AppendASCII("ccc"); in TEST_F()
94 dir_to_create_4 = dir_to_create_4.AppendASCII("ddd"); in TEST_F()
110 dir_to_create_1 = dir_to_create_1.AppendASCII("aaaa"); in TEST_F()
[all …]
/external/chromium_org/extensions/common/
Dextension_resource_unittest.cc38 relative_path = relative_path.AppendASCII("cira.js"); in TEST()
52 base::FilePath inner_dir = temp.path().AppendASCII("directory"); in TEST()
54 base::FilePath sub_dir = inner_dir.AppendASCII("subdir"); in TEST()
56 base::FilePath inner_file = inner_dir.AppendASCII("inner"); in TEST()
57 base::FilePath outer_file = temp.path().AppendASCII("outer"); in TEST()
63 base::FilePath symlink_file = inner_dir.AppendASCII("symlink"); in TEST()
65 base::FilePath().AppendASCII("..").AppendASCII("outer"), in TEST()
72 base::FilePath().AppendASCII("inner")); in TEST()
77 base::FilePath().AppendASCII("..").AppendASCII("outer")); in TEST()
83 base::FilePath().AppendASCII("inner")); in TEST()
[all …]
/external/chromium_org/chrome/browser/policy/test/
Dlocal_policy_test_server.cc81 .AppendASCII("chrome") in LocalPolicyTestServer()
82 .AppendASCII("test") in LocalPolicyTestServer()
83 .AppendASCII("data") in LocalPolicyTestServer()
84 .AppendASCII("policy") in LocalPolicyTestServer()
85 .AppendASCII(base::StringPrintf("policy_%s.json", test_name.c_str())); in LocalPolicyTestServer()
145 base::FilePath policy_file = server_data_dir_.path().AppendASCII( in UpdatePolicy()
158 base::FilePath data_file = server_data_dir_.path().AppendASCII( in UpdatePolicyData()
188 .AppendASCII("third_party") in SetPythonPath()
189 .AppendASCII("protobuf") in SetPythonPath()
190 .AppendASCII("python")); in SetPythonPath()
[all …]
/external/chromium_org/chrome/browser/extensions/api/i18n/
Di18n_apitest.cc27 test_data_dir_.AppendASCII("i18nUpdate") in IN_PROC_BROWSER_TEST_F()
28 .AppendASCII("manifest.json"), in IN_PROC_BROWSER_TEST_F()
29 extension_dir.path().AppendASCII("manifest.json")); in IN_PROC_BROWSER_TEST_F()
31 test_data_dir_.AppendASCII("i18nUpdate") in IN_PROC_BROWSER_TEST_F()
32 .AppendASCII("contentscript.js"), in IN_PROC_BROWSER_TEST_F()
33 extension_dir.path().AppendASCII("contentscript.js")); in IN_PROC_BROWSER_TEST_F()
35 test_data_dir_.AppendASCII("i18nUpdate") in IN_PROC_BROWSER_TEST_F()
36 .AppendASCII("_locales"), in IN_PROC_BROWSER_TEST_F()
37 extension_dir.path().AppendASCII("_locales"), in IN_PROC_BROWSER_TEST_F()
56 test_data_dir_.AppendASCII("i18nUpdate") in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/third_party/zlib/google/
Dzip_unittest.cc39 zip_contents_.insert(zip_path.AppendASCII("foo.txt")); in SetUp()
40 zip_path = zip_path.AppendASCII("foo"); in SetUp()
42 zip_contents_.insert(zip_path.AppendASCII("bar.txt")); in SetUp()
43 zip_path = zip_path.AppendASCII("bar"); in SetUp()
45 zip_contents_.insert(zip_path.AppendASCII("baz.txt")); in SetUp()
46 zip_contents_.insert(zip_path.AppendASCII("quux.txt")); in SetUp()
47 zip_contents_.insert(zip_path.AppendASCII(".hidden")); in SetUp()
66 *path = path->AppendASCII("third_party"); in GetTestDataDirectory()
67 *path = path->AppendASCII("zlib"); in GetTestDataDirectory()
68 *path = path->AppendASCII("google"); in GetTestDataDirectory()
[all …]
/external/chromium_org/base/prefs/
Djson_pref_store_unittest.cc93 data_dir_ = data_dir_.AppendASCII("prefs"); in SetUp()
114 base::FilePath bogus_input_file = data_dir_.AppendASCII("read.txt"); in TEST_F()
127 base::FilePath bogus_input_file = data_dir_.AppendASCII("read.txt"); in TEST_F()
129 data_dir_.AppendASCII("read_alternate.txt"); in TEST_F()
144 base::FilePath invalid_file_original = data_dir_.AppendASCII("invalid.json"); in TEST_F()
145 base::FilePath invalid_file = temp_dir_.path().AppendASCII("invalid.json"); in TEST_F()
157 base::FilePath moved_aside = temp_dir_.path().AppendASCII("invalid.bad"); in TEST_F()
229 ASSERT_TRUE(base::CopyFile(data_dir_.AppendASCII("read.json"), in TEST_F()
230 temp_dir_.path().AppendASCII("write.json"))); in TEST_F()
233 base::FilePath input_file = temp_dir_.path().AppendASCII("write.json"); in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/
Dextension_file_util_unittest.cc25 install_dir = install_dir.AppendASCII("extensions") in TEST_F()
26 .AppendASCII("api_test") in TEST_F()
27 .AppendASCII("browser_action") in TEST_F()
28 .AppendASCII("basics"); in TEST_F()
48 base::FilePath ext_dir = install_dir.AppendASCII("extensions") in TEST_F()
49 .AppendASCII("bad") in TEST_F()
50 .AppendASCII("Extensions") in TEST_F()
51 .AppendASCII("gggggggggggggggggggggggggggggggg"); in TEST_F()
61 ext_dir = install_dir.AppendASCII("extensions") in TEST_F()
62 .AppendASCII("bad") in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/docs/examples/apps/
Dcalculator_browsertest.cc23 .AppendASCII("common").AppendASCII("extensions").AppendASCII("docs") in IN_PROC_BROWSER_TEST_F()
24 .AppendASCII("examples").AppendASCII("apps").AppendASCII("calculator") in IN_PROC_BROWSER_TEST_F()
25 .AppendASCII("tests").AppendASCII("automatic.html"); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dbrowser_actions_container_browsertest.cc64 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test")
65 .AppendASCII("browser_action")
66 .AppendASCII("none")));
71 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("api_test")
72 .AppendASCII("browser_action")
73 .AppendASCII("basics")));
89 test_data_dir_.AppendASCII("api_test").AppendASCII("browser_action");
92 LoadExtension(data_dir.AppendASCII("basics"));
95 LoadExtension(data_dir.AppendASCII("add_popup"));
98 LoadExtension(data_dir.AppendASCII("remove_popup"));
[all …]
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
Dmedia_galleries_apitest.cc122 ASSERT_TRUE(base::GetFileSize(GetCommonDataDir().AppendASCII("test.jpg"), in SetUpOnMainThread()
143 test_data_dir_.AppendASCII(kTestDir + extension_name); in RunMediaGalleriesTestWithArg()
154 GetCommonDataDir().AppendASCII("common_injected.js")); in RunMediaGalleriesTestWithArg()
156 temp_dir.path().AppendASCII(extension_name) in RunMediaGalleriesTestWithArg()
157 .AppendASCII("common_injected.js")); in RunMediaGalleriesTestWithArg()
230 AddFileToSingleFakeGallery(GetCommonDataDir().AppendASCII("test.jpg")); in MakeSingleFakeGallery()
233 AddFileToSingleFakeGallery(GetCommonDataDir().AppendASCII("test.txt")); in MakeSingleFakeGallery()
249 picasa_database_path.DirName().AppendASCII(picasa::kPicasaTempDirName); in PopulatePicasaTestData()
256 base::FilePath fake_folder_1 = folders_root.AppendASCII("folder1"); in PopulatePicasaTestData()
257 base::FilePath fake_folder_2 = folders_root.AppendASCII("folder2"); in PopulatePicasaTestData()
[all …]
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_api_browsertest.cc50 test_data_dir_.AppendASCII("management/install_event"))); in IN_PROC_BROWSER_TEST_F()
55 test_data_dir_.AppendASCII("api_test/management/enabled_extension"))); in IN_PROC_BROWSER_TEST_F()
63 test_data_dir_.AppendASCII("management/simple_extension"))); in IN_PROC_BROWSER_TEST_F()
65 test_data_dir_.AppendASCII("management/packaged_app"))); in IN_PROC_BROWSER_TEST_F()
67 test_data_dir_.AppendASCII("management/launch_app"))); in IN_PROC_BROWSER_TEST_F()
76 test_data_dir_.AppendASCII("management/packaged_app"))); in IN_PROC_BROWSER_TEST_F()
78 test_data_dir_.AppendASCII("management/launch_app_from_background"))); in IN_PROC_BROWSER_TEST_F()
86 test_data_dir_.AppendASCII("management/self_uninstall_helper"))); in IN_PROC_BROWSER_TEST_F()
88 test_data_dir_.AppendASCII("management/self_uninstall"))); in IN_PROC_BROWSER_TEST_F()
96 test_data_dir_.AppendASCII("management/self_uninstall_helper"))); in IN_PROC_BROWSER_TEST_F()
[all …]
Dmanagement_browsertest.cc121 test_data_dir_.AppendASCII("install/install.crx"), 1); in IN_PROC_BROWSER_TEST_F()
128 test_data_dir_.AppendASCII("install/install_same_version.crx"), 0); in IN_PROC_BROWSER_TEST_F()
138 test_data_dir_.AppendASCII("install/install.crx"), 1); in IN_PROC_BROWSER_TEST_F()
141 test_data_dir_.AppendASCII("install/install_older_version.crx"), 0)); in IN_PROC_BROWSER_TEST_F()
147 test_data_dir_.AppendASCII("install/install.crx"), 1); in IN_PROC_BROWSER_TEST_F()
152 test_data_dir_.AppendASCII("install/install_v2.crx"))); in IN_PROC_BROWSER_TEST_F()
168 ASSERT_FALSE(InstallExtension(test_data_dir_.AppendASCII("good.crx"), 0)); in IN_PROC_BROWSER_TEST_F()
174 test_data_dir_.AppendASCII("good.crx"), 1, browser())); in IN_PROC_BROWSER_TEST_F()
188 test_data_dir_.AppendASCII("good").AppendASCII("Extensions") in IN_PROC_BROWSER_TEST_F()
189 .AppendASCII(extension_id) in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/base/files/
Dfile_path_watcher_browsertest.cc166 return temp_dir_.path().AppendASCII("FilePathWatcherTest"); in test_file()
170 return temp_dir_.path().AppendASCII("FilePathWatcherTest.lnk"); in test_link()
241 FilePath source_file(temp_dir_.path().AppendASCII("source")); in TEST_F()
335 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
336 FilePath file(dir.AppendASCII("file")); in TEST_F()
365 path = path.AppendASCII(dir); in TEST_F()
369 FilePath file(path.AppendASCII("file")); in TEST_F()
376 sub_path = sub_path.AppendASCII(*d); in TEST_F()
396 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
397 FilePath file(dir.AppendASCII("file")); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/commands/
Dcommand_service_browsertest.cc42 AppendASCII("keybinding").AppendASCII("keybinding.pem"); in IN_PROC_BROWSER_TEST_F()
44 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") in IN_PROC_BROWSER_TEST_F()
45 .AppendASCII("v1"), in IN_PROC_BROWSER_TEST_F()
46 scoped_temp_dir.path().AppendASCII("v1.crx"), in IN_PROC_BROWSER_TEST_F()
50 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") in IN_PROC_BROWSER_TEST_F()
51 .AppendASCII("v2"), in IN_PROC_BROWSER_TEST_F()
52 scoped_temp_dir.path().AppendASCII("v2.crx"), in IN_PROC_BROWSER_TEST_F()
96 test_data_dir_.AppendASCII("keybinding").AppendASCII("basics"); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/gin/test/
Drun_js_tests.cc16 return path.AppendASCII("gin"); in BasePath()
26 .AppendASCII("test") in TEST()
27 .AppendASCII("file_unittests.js")); in TEST()
32 .AppendASCII("test") in TEST()
33 .AppendASCII("gtest_unittests.js")); in TEST()
38 .AppendASCII("modules") in TEST()
39 .AppendASCII("module_registry_unittests.js")); in TEST()
/external/chromium_org/extensions/browser/guest_view/extension_options/
Dextension_options_apitest.cc42 test_data_dir_.AppendASCII("extension_options").AppendASCII("embed_self"); in IN_PROC_BROWSER_TEST_F()
49 base::FilePath dir = test_data_dir_.AppendASCII("extension_options") in IN_PROC_BROWSER_TEST_F()
50 .AppendASCII("embed_other"); in IN_PROC_BROWSER_TEST_F()
52 const Extension* embedder = InstallExtension(dir.AppendASCII("embedder"), 1); in IN_PROC_BROWSER_TEST_F()
53 const Extension* embedded = InstallExtension(dir.AppendASCII("embedded"), 1); in IN_PROC_BROWSER_TEST_F()
75 ASSERT_TRUE(InstallExtension(test_data_dir_.AppendASCII("extension_options") in IN_PROC_BROWSER_TEST_F()
76 .AppendASCII("embed_invalid"), in IN_PROC_BROWSER_TEST_F()

12345678910>>...31