/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_action_icon_factory_unittest.cc | 102 base::FilePath test_file; local 103 if (!PathService::Get(chrome::DIR_TEST_DATA, &test_file)) { 107 test_file = test_file.AppendASCII("extensions/api_test").AppendASCII(name); 110 JSONFileValueSerializer serializer(test_file.AppendASCII("manifest.json")); 123 Extension::Create(test_file, location, *valid_value,
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | 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"); 125 base::FilePath test_file = src_path.AppendASCII(filename); local 127 base::WriteFile(test_file, content.data(), test_file_size_)); 267 base::FilePath test_file = GetMediaTestDir(); local 268 ASSERT_FALSE(test_file.empty()); 269 test_file = test_file.AppendASCII("sfx.ogg"); 270 MoveTestFromFile("sfx.ogg", test_file, tru 274 base::FilePath test_file = GetMediaTestDir(); local 281 base::FilePath test_file = GetMediaTestDir(); local [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
H A D | select_file_dialog_extension_browsertest.cc | 268 base::FilePath test_file = local 272 FILE* fp = base::OpenFile(test_file, "w"); 284 test_file, owning_window, 293 ASSERT_EQ(test_file, listener_->path()); 301 base::FilePath test_file = local 312 test_file, owning_window, 321 ASSERT_EQ(test_file, listener_->path());
|
/external/chromium_org/chrome/installer/setup/ |
H A D | setup_util_unittest.cc | 139 base::FilePath test_file; local 140 base::CreateTemporaryFileInDir(test_dir_.path(), &test_file); 141 ASSERT_TRUE(base::PathExists(test_file)); 142 base::WriteFile(test_file, "foo", 3); 143 EXPECT_TRUE(installer::DeleteFileFromTempProcess(test_file, 0)); 145 EXPECT_FALSE(base::PathExists(test_file));
|
/external/chromium_org/chrome/test/nacl/ |
H A D | nacl_browsertest_util.cc | 231 const base::FilePath::StringType& test_file) { 233 base::FilePath::StringType test_file_with_pnacl = test_file; 235 AddPnaclParm(test_file, &test_file_with_pnacl); 230 RunLoadTest( const base::FilePath::StringType& test_file) argument
|
/external/chromium_org/extensions/browser/ |
H A D | extension_icon_image_unittest.cc | 145 base::FilePath test_file; local 146 if (!PathService::Get(DIR_TEST_DATA, &test_file)) { 150 test_file = test_file.AppendASCII(name); 153 JSONFileValueSerializer serializer(test_file.AppendASCII("manifest.json")); 165 return Extension::Create(test_file, location, *valid_value,
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/ |
H A D | vie_video_verification_test.cc | 63 const std::string& test_file, 66 int error = I420PSNRFromFiles(reference_file.c_str(), test_file.c_str(), 73 error = I420SSIMFromFiles(reference_file.c_str(), test_file.c_str(), 62 CompareFiles(const std::string& reference_file, const std::string& test_file, double* psnr_result, double *ssim_result) argument
|
/external/chromium_org/base/files/ |
H A D | file_path_watcher_browsertest.cc | 165 FilePath test_file() { function in class:base::__anon2250::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(), [all...] |
/external/chromium_org/components/bookmarks/browser/ |
H A D | bookmark_codec_unittest.cc | 358 base::FilePath test_file = local 360 ASSERT_TRUE(base::PathExists(test_file)); 362 JSONFileValueSerializer serializer(test_file); 445 base::FilePath test_file = local 447 ASSERT_TRUE(base::PathExists(test_file)); 449 JSONFileValueSerializer serializer(test_file);
|
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_browsertest.cc | 605 std::string test_file = s_corrupt_db_test_prefix + local 607 SimpleTest(embedded_test_server()->GetURL(test_file)); 609 test_file = s_corrupt_db_test_prefix + "corrupted_open_db_recovery.html"; 610 SimpleTest(embedded_test_server()->GetURL(test_file));
|
/external/chromium_org/skia/ext/ |
H A D | vector_canvas_unittest.cc | 253 base::FilePath test_file(const base::FilePath::StringType& filename) const { function in class:skia::__anon10684::ImageTest 293 Image image2(test_file(filename)); 301 Image(canvas).SaveToFile(test_file(filename)); 804 LoadPngFileToSkBitmap(test_file(L"bitmap_opaque.png"), &bitmap, true); 812 LoadPngFileToSkBitmap(test_file(L"bitmap_alpha.png"), &bitmap, false); 821 LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, 838 LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, 852 LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, 874 LoadPngFileToSkBitmap(test_file(L"..\\bitmaps\\bitmap_opaque.png"), &bitmap, 896 LoadPngFileToSkBitmap(test_file( [all...] |
/external/lldb/source/Core/ |
H A D | Disassembler.cpp | 855 FILE *test_file = fopen (file_name, "r"); local 856 if (!test_file) 863 if (!fgets (buffer, 255, test_file)) 866 fclose (test_file); 873 fclose (test_file); 879 OptionValueSP data_dictionary_sp (ReadDictionary (test_file, out_stream)); 883 fclose (test_file); 887 fclose (test_file);
|
/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_browsertest.cc | 4071 base::FilePath test_file = GetTestPath("prerender_session_storage.html"); local 4076 kTestURL, test_file, counter.AsWeakPtr())); 4121 base::FilePath test_file = GetTestPath("prerender_session_storage.html"); local 4126 kTestURL, test_file, counter.AsWeakPtr()));
|
/external/chromium_org/net/url_request/ |
H A D | url_request_unittest.cc | 874 base::FilePath test_file; local 875 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &test_file)); 877 base::WriteFile(test_file, test_data.data(), test_data.size()); 878 GURL test_file_url = FilePathToFileURL(test_file); 3723 std::string test_file = local 3733 test_server_.GetURL(test_file), DEFAULT_PRIORITY, &d, NULL)); 3746 << " Parameter = \"" << test_file << "\""; 3750 << " Parameter = \"" << test_file << "\"";
|