/external/chromium_org/chrome/browser/extensions/api/file_system/ |
file_system_apitest.cc | 151 base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt"); local 153 &test_file); 168 base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt"); local 170 &test_file); 183 base::FilePath test_file = test_path.AppendASCII("gold.txt"); local 185 EXPECT_TRUE(base::CopyFile(source, test_file)); 188 &test_file); 195 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 196 ASSERT_FALSE(test_file.empty()); 198 &test_file); 206 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 223 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 243 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 255 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 280 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 292 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 305 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 318 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 333 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 348 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 363 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 382 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 398 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 415 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 426 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 437 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 473 base::FilePath test_file = TempFilePath("save_new.txt", false); local 483 base::FilePath test_file = TempFilePath("save_existing.txt", true); local 494 base::FilePath test_file = TempFilePath("save_new.txt", false); local 505 base::FilePath test_file = TempFilePath("save_existing.txt", true); local 538 base::FilePath test_file = TempFilePath("writable.txt", true); local 548 base::FilePath test_file = TempFilePath("writable.txt", true); local 557 base::FilePath test_file = TempFilePath("writable.txt", true); local 567 base::FilePath test_file = TempFilePath("writable.txt", true); local 577 base::FilePath test_file = TempFilePath("writable.txt", true); local 592 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 608 base::FilePath test_file = TempFilePath("writable.txt", true); local 622 base::FilePath test_file = TempFilePath("writable.txt", true); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/ |
datastorefile_test.py | 43 self.test_file = datastorefile.DataStoreFile() 51 self.assertTrue(self.test_file.save_data(test_data)) 52 self.assertEqual(test_data, self.test_file.data) 54 self.assertEqual(test_data, self.test_file.load_data()) 55 self.assertEqual(test_data, self.test_file.data) 57 self.test_file.delete_data() 58 self.assertFalse(self.test_file.load_data()) 61 self.assertFalse(self.test_file.save_data(None)) 64 self.assertFalse(self.test_file.save_data(too_big_data)) 67 self.assertTrue(self.test_file.save_data(test_data) [all...] |
/external/chromium/chrome/browser/ |
iframe_uitest.cc | 14 FilePath test_file(test_data_directory_); 15 test_file = test_file.AppendASCII(url); 17 NavigateToURL(net::FilePathToFileURL(test_file));
|
images_uitest.cc | 15 FilePath test_file(test_data_directory_); 16 test_file = test_file.AppendASCII("animated-gifs.html"); 17 NavigateToURL(net::FilePathToFileURL(test_file));
|
default_plugin_uitest.cc | 26 FilePath test_file(test_data_directory_); 27 test_file = test_file.AppendASCII("default_plugin.html"); 28 NavigateToURL(net::FilePathToFileURL(test_file));
|
sanity_uitest.cc | 18 FilePath test_file = local 20 set_homepage(GURL(net::FilePathToFileURL(test_file)).spec()); 36 FilePath test_file = test_data_directory_.AppendASCII("columns.html"); local 37 set_homepage(GURL(net::FilePathToFileURL(test_file)).spec());
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator_filter_unittest.cc | 26 base::FilePath test_file(test_dir_.Append(file_path)); 29 EXPECT_TRUE(base::Move(temp_file, test_file)); 30 return test_file; 37 base::FilePath test_file(temp_sub_dir.Append(file_name)); 41 EXPECT_TRUE(base::Move(temp_file, test_file)); 42 return test_file; 75 base::FilePath test_file(CreateEmptyTestFile(input)); 76 bool observed = filter_->ShouldPackageFile(test_file); 79 "i: " << i << ", input: " << test_file.value(); 101 base::FilePath test_file(CreateEmptyTestFileInDir(cases[i].file_name [all...] |
convert_user_script_unittest.cc | 39 base::FilePath test_file; local 40 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); 41 test_file = test_file.AppendASCII("extensions") 46 test_file, GURL("http://www.google.com/foo"), 92 base::FilePath test_file; local 93 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); 94 test_file = test_file.AppendASCII("extensions") 99 test_file, GURL("http://www.google.com/foo/bar.user.js?monkey") 141 base::FilePath test_file; local 159 base::FilePath test_file; local 194 base::FilePath test_file; local 229 base::FilePath test_file; local [all...] |
/external/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/ |
irt_manifest_file.nmf | 13 "test_file": { 14 "portable": {"url": "test_file.txt"}
|
pm_manifest_file.nmf | 13 "test_file": { 14 "portable": {"url": "test_file.txt"}
|
pm_pre_init_manifest_file.nmf | 13 "test_file": { 14 "portable": {"url": "test_file.txt"}
|
/external/chromium/chrome/browser/extensions/ |
convert_user_script_unittest.cc | 18 FilePath test_file; local 19 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); 20 test_file = test_file.AppendASCII("extensions") 25 test_file, GURL("http://www.google.com/foo"), &error)); 58 FilePath test_file; local 59 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_file)); 60 test_file = test_file.AppendASCII("extensions") 65 test_file, GURL("http://www.google.com/foo/bar.user.js?monkey"), &error)) 97 FilePath test_file; local [all...] |
/external/chromium_org/chrome/common/extensions/ |
extension_test_util.cc | 57 const std::string& test_file, 66 .AppendASCII(test_file); 81 const std::string& test_file, 86 dir, test_file, location, extra_flags, std::string(), error); 90 const std::string& test_file, 95 LoadManifestUnchecked(dir, test_file, location, extra_flags, &error); 97 EXPECT_TRUE(extension.get()) << test_file << ":" << error; 102 const std::string& test_file, 104 return LoadManifest(dir, test_file, Manifest::INVALID_LOCATION, extra_flags); 108 const std::string& test_file) { [all...] |
extension_test_util.h | 37 const std::string& test_file, 45 const std::string& test_file, 52 const std::string& test_file, 57 const std::string& test_file, 62 const std::string& test_file); 65 const std::string& test_file);
|
/external/chromium_org/chrome/browser/extensions/docs/examples/apps/ |
calculator_browsertest.cc | 20 base::FilePath test_file; local 21 PathService::Get(chrome::DIR_TEST_DATA, &test_file); 22 test_file = test_file.DirName().DirName() 27 ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_file));
|
/external/chromium/chrome/browser/ui/tests/ |
browser_uitest.cc | 49 FilePath test_file(test_data_directory_); 50 test_file = test_file.AppendASCII("title1.html"); 52 NavigateToURL(net::FilePathToFileURL(test_file)); 94 FilePath test_file(test_data_directory_); 101 test_file = test_file.AppendASCII("title2.html"); 102 tab->NavigateToURL(net::FilePathToFileURL(test_file)); 148 FilePath test_file(test_data_directory_); 155 test_file = test_file.AppendASCII("title2.html") [all...] |
/external/chromium_org/content/browser/download/ |
file_metadata_unittest_linux.cc | 36 const base::FilePath& test_file() const { function in class:content::__anon7660::FileMetadataLinuxTest 67 ssize_t len = getxattr(test_file().value().c_str(), attr_name.c_str(), 73 len = getxattr(test_file().value().c_str(), attr_name.c_str(), buffer, len); 81 ssize_t len = listxattr(test_file().value().c_str(), NULL, 0); 84 len = listxattr(test_file().value().c_str(), buffer, len); 116 AddOriginMetadataToFile(test_file(), source_url(), referrer_url()); 123 AddOriginMetadataToFile(test_file(), dummy_url, dummy_url); 124 AddOriginMetadataToFile(test_file(), source_url(), referrer_url()); 132 AddOriginMetadataToFile(test_file(), invalid_url, referrer_url()); 143 AddOriginMetadataToFile(test_file(), source_url(), invalid_url) [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_file.py | 3 def test_file(): function
|
/external/chromium_org/remoting/host/ |
json_host_config_unittest.cc | 45 base::FilePath test_file = test_dir_.path().AppendASCII("read.json"); local 46 WriteTestFile(test_file); 47 JsonHostConfig target(test_file); 68 base::FilePath test_file = test_dir_.path().AppendASCII("write.json"); local 69 WriteTestFile(test_file); 70 JsonHostConfig target(test_file); 78 JsonHostConfig reader(test_file);
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
media_file_validator_browsertest.cc | 60 base::FilePath test_file; local 61 if (!PathService::Get(base::DIR_SOURCE_ROOT, &test_file)) 63 return test_file.AppendASCII("media").AppendASCII("test").AppendASCII("data"); 124 base::FilePath test_file = src_path.AppendASCII(filename); local 126 file_util::WriteFile(test_file, content.data(), test_file_size_)); 261 base::FilePath test_file = GetMediaTestDir(); local 262 ASSERT_FALSE(test_file.empty()); 263 test_file = test_file.AppendASCII("sfx.ogg"); 264 MoveTestFromFile("sfx.ogg", test_file, true) 268 base::FilePath test_file = GetMediaTestDir(); local 275 base::FilePath test_file = GetMediaTestDir(); local [all...] |
/external/chromium_org/chrome/browser/component_updater/test/ |
component_patcher_unittest.cc | 22 base::FilePath test_file(const char* file) { function 68 test_file("binary_output.bin"), 90 test_file("binary_output.bin"))); 96 test_file("binary_output.bin"), 117 test_file("binary_output.bin"))); 123 test_file("binary_input.bin"), 126 test_file("binary_courgette_patch.bin"), 149 test_file("binary_output.bin"))); 155 test_file("binary_input.bin"), 158 test_file("binary_bsdiff_patch.bin") [all...] |
/external/chromium/base/files/ |
file_path_watcher_browsertest.cc | 164 FilePath test_file() { function in class:base::files::__anon1364::FilePathWatcherTest 208 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 210 ASSERT_TRUE(WriteFile(test_file(), "content")); 216 ASSERT_TRUE(WriteFile(test_file(), "content")); 220 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 223 ASSERT_TRUE(WriteFile(test_file(), "new content")); 234 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 237 ASSERT_TRUE(file_util::Move(source_file, test_file())); 242 ASSERT_TRUE(WriteFile(test_file(), "content")); 246 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())) [all...] |
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
external_filesystem_apitest.cc | 69 // - test_file.xul 71 // - test_file.xul.foo 73 // - test_file.tiff 75 // - test_file.tiff.foo 106 base::FilePath test_file = test_dir.AppendASCII("test_file.xul"); 107 if (!google_apis::test_util::WriteStringToFile(test_file, kTestFileContent)) 110 test_file = test_dir.AppendASCII("test_file.xul.foo"); 111 if (!google_apis::test_util::WriteStringToFile(test_file, kTestFileContent) [all...] |
/external/chromium_org/base/files/ |
file_path_watcher_browsertest.cc | 165 FilePath test_file() { function in class:base::__anon3458::FilePathWatcherTest 220 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 222 ASSERT_TRUE(WriteFile(test_file(), "content")); 229 ASSERT_TRUE(WriteFile(test_file(), "content")); 233 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 236 ASSERT_TRUE(WriteFile(test_file(), "new content")); 248 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 251 ASSERT_TRUE(base::Move(source_file, test_file())); 257 ASSERT_TRUE(WriteFile(test_file(), "content")); 261 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)) [all...] |
/development/testrunner/test_defs/ |
gtest.py | 88 for test_file in test_file_list: 89 logger.SilentLog('Creating gtest suite for file %s' % test_file) 92 # expect tests in /data/nativetest/test_file/test_file 93 suite.SetTargetExecPath(os.path.join(target_root_path, test_file, test_file))
|