/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/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/ |
nacl.scons | 26 ['pm_manifest_file_test.html', 'test_file.txt']) 63 ['pm_pre_init_manifest_file_test.html', 'test_file.txt']) 95 ['irt_manifest_file_test.html', 'test_file.txt'])
|
/external/compiler-rt/lib/tsan/lit_tests/ |
test_output.sh | 18 test_file() { function 51 test_file $c $COMPILER & 57 test_file $ROOTDIR/lit_tests/$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/chrome/browser/policy/ |
user_policy_cache_unittest.cc | 98 EXPECT_EQ(size, file_util::WriteFile(test_file(), data.c_str(), size)); 116 FilePath test_file() { function in class:policy::UserPolicyCacheTest 195 UserPolicyCache cache(test_file()); 203 UserPolicyCache cache(test_file()); 216 UserPolicyCache cache(test_file()); 228 UserPolicyCache cache(test_file()); 242 UserPolicyCache cache(test_file()); 251 UserPolicyCache cache(test_file()); 277 UserPolicyCache cache(test_file()); 299 UserPolicyCache cache(test_file()); [all...] |
/external/stlport/test/unit/ |
fstream_test.cpp | 98 ofstream f( "test_file.txt" ); 108 ifstream f( "test_file.txt" ); 147 ifstream s( "test_file.txt" ); 157 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 192 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 214 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); 226 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 245 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 261 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 277 ofstream o( "test_file.txt" ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
fstream_test.cpp | 98 ofstream f( "test_file.txt" ); 126 ifstream f( "test_file.txt" ); 165 ifstream s( "test_file.txt" ); 175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 232 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); 244 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 263 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 279 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 295 ofstream o( "test_file.txt" ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
fstream_test.cpp | 98 ofstream f( "test_file.txt" ); 126 ifstream f( "test_file.txt" ); 165 ifstream s( "test_file.txt" ); 175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 232 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); 244 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 263 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 279 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 295 ofstream o( "test_file.txt" ) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_refactor.py | 185 def check_file_refactoring(self, test_file, fixers=_2TO3_FIXERS, 191 shutil.copy(test_file, tmpdir) 192 test_file = os.path.join(tmpdir, os.path.basename(test_file)) 193 os.chmod(test_file, 0o644) 196 with open(test_file, "rb") as fp: 204 rt.refactor_file(test_file) 209 rt.refactor_file(test_file, True) 215 test_file = os.path.join(FIXER_DIR, "parrot_example.py") 216 self.check_file_refactoring(test_file, _DEFAULT_FIXERS [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_refactor.py | 185 def check_file_refactoring(self, test_file, fixers=_2TO3_FIXERS, 191 shutil.copy(test_file, tmpdir) 192 test_file = os.path.join(tmpdir, os.path.basename(test_file)) 193 os.chmod(test_file, 0o644) 196 with open(test_file, "rb") as fp: 204 rt.refactor_file(test_file) 209 rt.refactor_file(test_file, True) 215 test_file = os.path.join(FIXER_DIR, "parrot_example.py") 216 self.check_file_refactoring(test_file, _DEFAULT_FIXERS [all...] |
/external/chromium_org/chrome/browser/extensions/ |
image_loader_unittest.cc | 66 base::FilePath test_file; local 67 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_file)) { 71 test_file = test_file.AppendASCII("extensions") 75 JSONFileValueSerializer serializer(test_file.AppendASCII("app.json")); 88 if (!PathService::Get(chrome::DIR_RESOURCES, &test_file)) { 92 test_file = test_file.AppendASCII(name); 94 return Extension::Create(test_file, location, *valid_value,
|
stubs_apitest.cc | 26 GURL url(embedded_test_server()->GetURL("/extensions/test_file.html"));
|
extension_incognito_apitest.cc | 34 embedded_test_server()->GetURL("/extensions/test_file.html")); 76 embedded_test_server()->GetURL("/extensions/test_file.html")); 113 embedded_test_server()->GetURL("/extensions/test_file.html")); 146 embedded_test_server()->GetURL("/extensions/test_file.html")); 177 embedded_test_server()->GetURL("/extensions/test_file.html")); 204 embedded_test_server()->GetURL("/extensions/test_file.html"));
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
temporary_http_server_unittest.py | 16 self.test_file = 'bear.webm' 17 test_file_path = os.path.join(util.GetUnittestDataDir(), self.test_file) 68 """ % (browser.http_server.UrlOf('/%s' % self.test_file),
|
/frameworks/support/tests/java/android/support/v4/content/ |
FileProviderTest.java | 45 private static final String TEST_FILE = "file.test"; 170 final File file = new File(mContext.getFilesDir(), TEST_FILE); 178 assertEquals(TEST_FILE, cursor.getString(cursor.getColumnIndex(DISPLAY_NAME))); 186 final File file = new File(mContext.getFilesDir(), TEST_FILE); 196 assertEquals(TEST_FILE, cursor.getString(1)); 206 assertEquals(TEST_FILE, cursor.getString(0)); 214 final File file = new File(mContext.getFilesDir(), TEST_FILE); 224 assertEquals(TEST_FILE, cursor.getString(1)); 231 final File file = new File(mContext.getFilesDir(), TEST_FILE); 238 final File file = new File(mContext.getFilesDir(), TEST_FILE); [all...] |
/external/chromium/chrome/browser/ |
media_uitest.cc | 34 FilePath test_file(test_data_directory_); 35 test_file = test_file.AppendASCII("media/player.html"); 37 GURL player_gurl = net::FilePathToFileURL(test_file);
|
/external/chromium_org/chrome/browser/component_updater/test/ |
crx_downloader_unittest.cc | 31 base::FilePath test_file(const char* file) { function in namespace:component_updater::__anon4521 157 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 178 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 202 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 224 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 244 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 269 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 293 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx"));
|
component_updater_service_unittest.cc | 202 const base::FilePath ComponentUpdaterTest::test_file(const char* file) { function in class:component_updater::ComponentUpdaterTest 282 "updatecheck"), test_file("updatecheck_reply_1.xml"))); 284 "updatecheck"), test_file("updatecheck_reply_1.xml"))); 334 "updatecheck"), test_file("updatecheck_reply_empty"))); 336 "updatecheck"), test_file("updatecheck_reply_empty"))); 418 "updatecheck"), test_file("updatecheck_reply_1.xml"))); 421 "updatecheck"), test_file("updatecheck_reply_1.xml"))); 425 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")); 509 "updatecheck"), test_file("updatecheck_reply_2.xml"))); 513 test_file("jebgalgnebhfojomionfpkfelancnnkf.crx")) [all...] |
/external/chromium_org/chrome/browser/extensions/api/i18n/ |
i18n_apitest.cc | 46 embedded_test_server()->GetURL("/extensions/test_file.html")); 63 embedded_test_server()->GetURL("/extensions/test_file.html"));
|
/external/chromium/chrome/browser/extensions/ |
extension_incognito_apitest.cc | 30 test_server()->GetURL("files/extensions/test_file.html")); 68 test_server()->GetURL("files/extensions/test_file.html")); 104 test_server()->GetURL("files/extensions/test_file.html")); 130 test_server()->GetURL("files/extensions/test_file.html")); 158 test_server()->GetURL("files/extensions/test_file.html")); 179 test_server()->GetURL("files/extensions/test_file.html"));
|
extension_startup_browsertest.cc | 103 FilePath test_file; local 104 PathService::Get(chrome::DIR_TEST_DATA, &test_file); 105 test_file = test_file.AppendASCII("extensions") 106 .AppendASCII("test_file.html"); 108 ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_file));
|
image_loading_tracker_unittest.cc | 56 FilePath test_file; local 57 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_file)) { 61 test_file = test_file.AppendASCII("extensions") 65 JSONFileValueSerializer serializer(test_file.AppendASCII("app.json")); 77 return Extension::Create(test_file, Extension::INVALID, *valid_value,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
scm_unittest.py | 169 self._write_text_file("test_file", "test1") 170 self._svn_add("test_file") 173 self._write_text_file("test_file", "test1test2") 185 self._write_text_file("test_file", "test1test2test3\n") 193 self._write_binary_file("test_file", u"latin1 test: \u00A0\n".encode("latin-1")) 284 self.scm.delete("test_file") 285 self.assertIn("test_file", self.scm._deleted_files()) 289 self.scm.delete_list(["test_file", "test_file2"]) 290 self.assertIn("test_file", self.scm._deleted_files()) 398 test_file = self._join(self.git_checkout_path, 'test_file' [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
FileObserverTest.java | 35 private static final String TEST_FILE = "file_observer_test.txt"; 45 mTestFile = new File(dir, TEST_FILE); 126 mTestFile = new File(mTestDir, TEST_FILE); 142 mTestFile = new File(dir, TEST_FILE); 146 mMoveDestFile = new File(mTestDir, TEST_FILE);
|
/external/chromium/chrome/browser/printing/ |
print_dialog_cloud_unittest.cc | 47 FilePath test_file = test_data_directory.AppendASCII(kPDFTestFile); local 48 return test_file; 54 FilePath test_file = test_data_directory.AppendASCII(kEmptyPDFTestFile); local 55 return test_file; 61 FilePath test_file = GetTestDataFileName(); local 62 file_util::ReadFileToString(test_file, &sTestFileData);
|