/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_org/chrome/browser/extensions/api/file_system/ |
file_system_apitest.cc | 146 base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt"); local 148 &test_file); 158 base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt"); local 160 &test_file); 173 base::FilePath test_file = test_path.AppendASCII("gold.txt"); local 175 EXPECT_TRUE(base::CopyFile(source, test_file)); 178 &test_file); 185 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 186 ASSERT_FALSE(test_file.empty()); 188 &test_file); 196 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 213 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 234 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 246 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 271 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 283 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 296 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 309 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 324 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 339 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 354 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 373 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 389 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 406 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 417 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 428 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 464 base::FilePath test_file = TempFilePath("save_new.txt", false); local 474 base::FilePath test_file = TempFilePath("save_existing.txt", true); local 485 base::FilePath test_file = TempFilePath("save_new.txt", false); local 496 base::FilePath test_file = TempFilePath("save_existing.txt", true); local 529 base::FilePath test_file = TempFilePath("writable.txt", true); local 539 base::FilePath test_file = TempFilePath("writable.txt", true); local 549 base::FilePath test_file = TempFilePath("writable.txt", true); local 558 base::FilePath test_file = TempFilePath("writable.txt", true); local 568 base::FilePath test_file = TempFilePath("writable.txt", true); local 578 base::FilePath test_file = TempFilePath("writable.txt", true); local 593 base::FilePath test_file = TempFilePath("open_existing.txt", true); local 609 base::FilePath test_file = TempFilePath("writable.txt", true); local 623 base::FilePath test_file = TempFilePath("writable.txt", true); local [all...] |
file_system_apitest_chromeos.cc | 125 base::FilePath test_file = drive::util::GetDriveMountPointPath( local 128 &test_file); 135 base::FilePath test_file = drive::util::GetDriveMountPointPath( local 138 &test_file); 145 base::FilePath test_file = drive::util::GetDriveMountPointPath( local 148 chrome::DIR_USER_DOCUMENTS, test_file.DirName(), true, false)); 219 base::FilePath test_file = drive::util::GetDriveMountPointPath( local 222 &test_file); 229 base::FilePath test_file = drive::util::GetDriveMountPointPath( local 232 &test_file); 239 base::FilePath test_file = drive::util::GetDriveMountPointPath( local 249 base::FilePath test_file = drive::util::GetDriveMountPointPath( 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()) 63 self.assertTrue(self.test_file.save_data(test_data)) 64 self.assertEqual(test_data, self.test_file.data) 66 self.test_file.delete_data( [all...] |
/external/chromium_org/chrome/common/extensions/ |
extension_test_util.cc | 22 const std::string& test_file, 31 .AppendASCII(test_file); 46 const std::string& test_file, 51 dir, test_file, location, extra_flags, std::string(), error); 55 const std::string& test_file, 60 LoadManifestUnchecked(dir, test_file, location, extra_flags, &error); 62 EXPECT_TRUE(extension.get()) << test_file << ":" << error; 67 const std::string& test_file, 69 return LoadManifest(dir, test_file, Manifest::INVALID_LOCATION, extra_flags); 73 const std::string& test_file) { [all...] |
extension_test_util.h | 24 const std::string& test_file, 32 const std::string& test_file, 39 const std::string& test_file, 44 const std::string& test_file, 49 const std::string& test_file); 52 const std::string& test_file);
|
/cts/tools/selinux/test/ |
testrunner.py | 167 self.test_file = open(policy_file_name, 'r') 187 self.test_file.seek(279) 188 self.failIf(SELinux_CTS.expand_brackets(self.test_file)) 191 self.test_file.seek(26123) 192 self.failUnless(SELinux_CTS.expand_brackets(self.test_file) == " entrypoint read execute ") 195 self.test_file.seek(26873) 196 self.failUnless(SELinux_CTS.expand_brackets(self.test_file) 201 self.test_file.seek(26096) 210 self.failUnless(SELinux_CTS.get_avc_rule_component(self.test_file) 212 self.failUnless(SELinux_CTS.get_avc_rule_component(self.test_file) [all...] |
/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/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 base::WriteFile(test_file, content.data(), test_file_size_)); 262 base::FilePath test_file = GetMediaTestDir(); local 263 ASSERT_FALSE(test_file.empty()); 264 test_file = test_file.AppendASCII("sfx.ogg"); 265 MoveTestFromFile("sfx.ogg", test_file, true) 269 base::FilePath test_file = GetMediaTestDir(); local 276 base::FilePath test_file = GetMediaTestDir(); local [all...] |
/external/chromium_org/content/browser/download/ |
file_metadata_unittest_linux.cc | 36 const base::FilePath& test_file() const { function in class:content::__anon11415::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/component_updater/test/ |
crx_downloader_unittest.cc | 180 const base::FilePath test_file(MakeTestFilePath(kTestFileName)); 182 interceptor.SetResponse(expected_crx_url, test_file); 194 EXPECT_TRUE(ContentsEqual(download_complete_result_.response, test_file)); 215 const base::FilePath test_file(MakeTestFilePath(kTestFileName)); 217 interceptor.SetResponse(expected_crx_url, test_file); 233 EXPECT_TRUE(ContentsEqual(download_complete_result_.response, test_file)); 247 const base::FilePath test_file(MakeTestFilePath(kTestFileName)); 249 interceptor.SetResponse(expected_crx_url, test_file); 270 const base::FilePath test_file(MakeTestFilePath(kTestFileName)); 272 interceptor.SetResponse(expected_crx_url, test_file); [all...] |
component_patcher_unittest.cc | 57 base::FilePath test_file(const char* file) { function in namespace:component_updater::__anon8025 80 test_file("binary_output.bin"), 105 test_file("binary_output.bin"))); 111 test_file("binary_output.bin"), 136 test_file("binary_output.bin"))); 142 test_file("binary_input.bin"), 144 EXPECT_TRUE(base::CopyFile(test_file("binary_courgette_patch.bin"), 171 test_file("binary_output.bin"))); 177 test_file("binary_input.bin"), 180 test_file("binary_bsdiff_patch.bin") [all...] |
component_updater_service_unittest.cc | 203 const base::FilePath ComponentUpdaterTest::test_file(const char* file) { function in class:component_updater::ComponentUpdaterTest 285 new PartialMatch("updatecheck"), test_file("updatecheck_reply_1.xml"))); 287 new PartialMatch("updatecheck"), test_file("updatecheck_reply_1.xml"))); 339 new PartialMatch("updatecheck"), test_file("updatecheck_reply_empty"))); 341 new PartialMatch("updatecheck"), test_file("updatecheck_reply_empty"))); 423 new PartialMatch("updatecheck"), test_file("updatecheck_reply_1.xml"))); 426 new PartialMatch("updatecheck"), test_file("updatecheck_reply_1.xml"))); 430 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 533 new PartialMatch("updatecheck"), test_file("updatecheck_reply_2.xml"))); 537 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
local_file_reader_unittest.cc | 71 base::FilePath test_file; local 74 temp_dir_.path(), 1024, &test_file, &expected_content)); 77 file_reader_->Open(test_file, 0, callback.callback()); 87 base::FilePath test_file; local 90 temp_dir_.path(), 1024, &test_file, &expected_content)); 97 test_file, static_cast<int64>(offset), callback.callback());
|
/external/lldb/test/arm_emulation/ |
TestEmulations.py | 24 test_file = os.path.join (test_dir, f) 25 self.run_a_single_test (test_file) 38 test_file = os.path.join (test_dir, f) 39 self.run_a_single_test (test_file)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseSvnDiffHeader.pl | 201 Index: test_file.swf 206 Property changes on: test_file.swf 217 Index: test_file.swf 223 indexPath => "test_file.swf", 226 "Property changes on: test_file.swf\n"], 233 Index: test_file.swf 237 Index: test_file.swf 239 --- test_file.swf 240 +++ test_file.swf 242 Property changes on: test_file.sw [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
memory_cache_http_server_unittest.py | 14 self.test_file = os.path.join(util.GetUnittestDataDir(), 'bear.webm') 15 self.test_file_size = os.stat(self.test_file).st_size 58 """ % (self._browser.http_server.UrlOf(self.test_file),
|
/external/compiler-rt/test/tsan/ |
test_output.sh | 18 test_file() { function 55 test_file $c $COMPILER & 61 test_file $HERE/$1 $CXX "DUMP"
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/ |
rebaselineserver.py | 44 def _get_actual_result_files(test_file, test_config): 45 test_name, _ = os.path.splitext(test_file) 46 test_directory = os.path.dirname(test_file) 59 def _rebaseline_test(test_file, baseline_target, baseline_move_to, test_config, log): 60 test_name, _ = os.path.splitext(test_file) 65 actual_result_files = _get_actual_result_files(test_file, test_config) 76 current_baselines = get_test_baselines(test_file, test_config) 99 test_file, 128 def _move_test_baselines(test_file, extensions_to_move, source_platform, destination_platform, test_config, log): 129 test_file_name = os.path.splitext(os.path.basename(test_file))[0 [all...] |
/external/chromium_org/base/files/ |
file_path_watcher_browsertest.cc | 165 FilePath test_file() { function in class:base::__anon6851::FilePathWatcherTest 218 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 220 ASSERT_TRUE(WriteFile(test_file(), "content")); 227 ASSERT_TRUE(WriteFile(test_file(), "content")); 231 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 234 ASSERT_TRUE(WriteFile(test_file(), "new content")); 246 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 249 ASSERT_TRUE(base::Move(source_file, test_file())); 255 ASSERT_TRUE(WriteFile(test_file(), "content")); 259 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)) [all...] |
/development/testrunner/test_defs/ |
gtest.py | 89 for test_file in test_file_list: 90 logger.SilentLog('Creating gtest suite for file %s' % test_file) 93 # expect tests in /data/nativetest/test_file/test_file 94 suite.SetTargetExecPath(os.path.join(target_root_path, test_file, test_file))
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
full_test.py | 107 for test_file in test_files: 108 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
|