Home
last modified time | relevance | path

Searched refs:temp_dir_ (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium/chrome/browser/
Dprocess_singleton_mac_unittest.cc28 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
29 lock_path_ = temp_dir_.path().Append(chrome::kSingletonLockFilename); in SetUp()
64 ScopedTempDir temp_dir_; member in __anona83f595c0111::ProcessSingletonMacTest
70 ProcessSingleton ps(temp_dir_.path()); in TEST_F()
82 ProcessSingleton ps(temp_dir_.path()); in TEST_F()
91 ProcessSingleton ps1(temp_dir_.path()); in TEST_F()
92 ProcessSingleton ps2(temp_dir_.path()); in TEST_F()
118 ProcessSingleton ps1(temp_dir_.path()); in TEST_F()
119 ProcessSingleton ps2(temp_dir_.path()); in TEST_F()
Dbrowser_encoding_uitest.cc40 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
41 save_dir_ = temp_dir_.path(); in SetUp()
45 ScopedTempDir temp_dir_; member in BrowserEncodingTest
/external/chromium/base/
Dfile_util_unittest.cc126 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
129 ScopedTempDir temp_dir_; member in __anon459a82220111::FileUtilTest
325 temp_dir_.path().Append(FILE_PATH_LITERAL("Old File.txt")); in TEST_F()
339 EXPECT_EQ(0, file_util::CountFilesCreatedAfter(temp_dir_.path(), now)); in TEST_F()
343 temp_dir_.path().Append(FILE_PATH_LITERAL("New File.txt")); in TEST_F()
347 EXPECT_EQ(1, file_util::CountFilesCreatedAfter(temp_dir_.path(), now)); in TEST_F()
351 EXPECT_EQ(0, file_util::CountFilesCreatedAfter(temp_dir_.path(), now)); in TEST_F()
357 FilePath file_01 = temp_dir_.path().Append(FPL("The file 01.txt")); in TEST_F()
363 FilePath subdir_path = temp_dir_.path().Append(FPL("Level2")); in TEST_F()
378 int64 computed_size = file_util::ComputeDirectorySize(temp_dir_.path()); in TEST_F()
[all …]
/external/chromium/chrome/browser/profiles/
Dprofile_manager_unittest.cc42 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
65 ScopedTempDir temp_dir_; member in ProfileManagerTest
80 FilePath dest_path = temp_dir_.path(); in TEST_F()
125 VLOG(1) << temp_dir_.path().Append( in TEST_F()
132 FilePath dest_path1 = temp_dir_.path(); in TEST_F()
135 FilePath dest_path2 = temp_dir_.path(); in TEST_F()
166 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile")); in TEST_F()
184 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile")); in TEST_F()
204 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 1")); in TEST_F()
206 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 2")); in TEST_F()
/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store_unittest.cc29 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
31 temp_dir_.path().Append(chrome::kCookieFilename)); in SetUp()
46 ScopedTempDir temp_dir_; member in SQLitePersistentCookieStoreTest
59 temp_dir_.path().Append(chrome::kCookieFilename))); in TEST_F()
61 temp_dir_.path().Append(chrome::kCookieFilename), false)); in TEST_F()
76 temp_dir_.path().Append(chrome::kCookieFilename))); in TEST_F()
91 temp_dir_.path().Append(chrome::kCookieFilename)); in TEST_F()
108 temp_dir_.path().Append(chrome::kCookieFilename)); in TEST_F()
119 FilePath path = temp_dir_.path().Append(chrome::kCookieFilename); in TEST_F()
/external/chromium/chrome/browser/extensions/
Duser_script_master_unittest.cc33 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
60 ScopedTempDir temp_dir_; member in UserScriptMasterTest
76 scoped_refptr<UserScriptMaster> master(new UserScriptMaster(temp_dir_.path(), in TEST_F()
88 FilePath path = temp_dir_.path().AppendASCII("script.user.js"); in TEST_F()
94 scoped_refptr<UserScriptMaster> master(new UserScriptMaster(temp_dir_.path(), in TEST_F()
216 FilePath path = temp_dir_.path().AppendASCII("script.user.js"); in TEST_F()
227 temp_dir_.path(), &script_list); in TEST_F()
237 FilePath path = temp_dir_.path().AppendASCII("script.user.js"); in TEST_F()
249 temp_dir_.path(), &script_list); in TEST_F()
Dsandboxed_extension_unpacker_unittest.cc58 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
83 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); in SetupUnpacker()
92 temp_dir_.path().AppendASCII("sandboxed_extension_unpacker_test_Temp"); in SetupUnpacker()
106 temp_dir_.path().AppendASCII(extension_filenames::kTempExtensionName); in PrepareUnpackerEnv()
108 if (!sandboxed_unpacker_->temp_dir_.Set(temp_dir_.path())) in PrepareUnpackerEnv()
121 return temp_dir_.path().AppendASCII( in GetInstallPath()
150 ScopedTempDir temp_dir_; member in SandboxedExtensionUnpackerTest
Dtest_extension_prefs.cc52 EXPECT_TRUE(temp_dir_.CreateUniqueTempDir()); in TestExtensionPrefs()
53 preferences_file_ = temp_dir_.path().AppendASCII("Preferences"); in TestExtensionPrefs()
54 extensions_dir_ = temp_dir_.path().AppendASCII("Extensions"); in TestExtensionPrefs()
93 temp_dir_.path(), in RecreateExtensionPrefs()
Dsandboxed_extension_unpacker.cc68 if (!temp_dir_.CreateUniqueTempDirUnderPath(user_data_temp_dir)) { in CreateTempDirectory()
91 extension_root_ = temp_dir_.path().AppendASCII( in Start()
101 FilePath temp_crx_path = temp_dir_.path().Append(crx_path_.BaseName()); in Start()
160 temp_dir_.Take(), in ~SandboxedExtensionUnpacker()
419 client_->OnUnpackSuccess(temp_dir_.Take(), extension_root_, extension_); in ReportSuccess()
462 if (!ExtensionUnpacker::ReadImagesFromFile(temp_dir_.path(), &images)) { in RewriteImageFiles()
557 if (!ExtensionUnpacker::ReadMessageCatalogsFromFile(temp_dir_.path(), in RewriteCatalogFiles()
Dtest_extension_prefs.h30 const FilePath& temp_dir() const { return temp_dir_.path(); } in temp_dir()
52 ScopedTempDir temp_dir_;
/external/chromium/chrome/common/
Djson_pref_store_unittest.cc27 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
35 ScopedTempDir temp_dir_; member in JsonPrefStoreTest
57 FilePath invalid_file = temp_dir_.path().AppendASCII("invalid.json"); in TEST_F()
67 FilePath moved_aside = temp_dir_.path().AppendASCII("invalid.bad"); in TEST_F()
75 temp_dir_.path().AppendASCII("write.json"))); in TEST_F()
78 FilePath input_file = temp_dir_.path().AppendASCII("write.json"); in TEST_F()
Dimportant_file_writer_unittest.cc47 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
48 file_ = temp_dir_.path().AppendASCII("test-file"); in SetUp()
56 ScopedTempDir temp_dir_; member in ImportantFileWriterTest
Dzip_unittest.cc24 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
25 test_dir_ = temp_dir_.path(); in SetUp()
84 ScopedTempDir temp_dir_; member in __anon764435730111::ZipTest
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc156 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
165 return temp_dir_.path().AppendASCII("FilePathWatcherTest"); in test_file()
200 ScopedTempDir temp_dir_; member in base::files::__anonc76e3d440111::FilePathWatcherTest
229 FilePath source_file(temp_dir_.path().AppendASCII("source")); in TEST_F()
311 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
335 FilePath path(temp_dir_.path()); in TEST_F()
348 FilePath sub_path(temp_dir_.path()); in TEST_F()
366 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
395 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
428 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
[all …]
/external/chromium/chrome/browser/download/
Dsave_package_unittest.cc102 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
105 temp_dir_.path().AppendASCII("testfile" HTML_EXTENSION), in SetUp()
106 temp_dir_.path().AppendASCII("testfile_files")); in SetUp()
113 kMaxFilePathLength - 9 - temp_dir_.path().value().length()); in SetUp()
116 temp_dir_.path().AppendASCII(long_file_name + HTML_EXTENSION), in SetUp()
117 temp_dir_.path().AppendASCII(long_file_name + "_files")); in SetUp()
126 ScopedTempDir temp_dir_; member in SavePackageTest
Dbase_file_unittest.cc28 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
69 ScopedTempDir temp_dir_; member in __anon2036a8bc0111::BaseFileTest
130 FilePath new_path(temp_dir_.path().AppendASCII("NewFile")); in TEST_F()
197 FilePath new_path(temp_dir_.path().AppendASCII("NewFile")); in TEST_F()
215 FilePath new_path(temp_dir_.path().AppendASCII("NewFile")); in TEST_F()
/external/chromium/app/sql/
Dconnection_unittest.cc17 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
18 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLConnectionTest.db"))); in SetUp()
28 ScopedTempDir temp_dir_; member in SQLConnectionTest
Dtransaction_unittest.cc18 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
20 temp_dir_.path().AppendASCII("SQLTransactionTest.db"))); in SetUp()
39 ScopedTempDir temp_dir_; member in SQLTransactionTest
Dstatement_unittest.cc45 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
46 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db"))); in SetUp()
66 ScopedTempDir temp_dir_; member in SQLStatementTest
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_temp_storage_unittest.cc29 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
32 file_util::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file)); in SetUp()
39 ScopedTempDir temp_dir_; member in chromeos::SignedSettingsTempStorageTest
/external/chromium/chrome/browser/parsers/
Dmetadata_parser_filebase_unittest.cc22 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
24 test_file_ = temp_dir_.path().AppendASCII("FileMetaDataParserTest"); in SetUp()
48 ScopedTempDir temp_dir_; member in __anonda9e16510111::FileMetaDataParserTest
/external/chromium/chrome/common/extensions/
Dextension_unpacker_unittest.cc31 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetupUnpacker()
33 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); in SetupUnpacker()
42 ScopedTempDir temp_dir_; member in ExtensionUnpackerTest
/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_unittest.cc19 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
22 ScopedTempDir temp_dir_; member in FirefoxProfileLockTest
26 FirefoxProfileLock lock1(temp_dir_.path()); in TEST_F()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_model_test_util.cc75 ScopedTempDir temp_dir_; member in TemplateURLModelTestingProfile
111 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
113 FilePath path = temp_dir_.path().AppendASCII("TestDataService.db"); in SetUp()
/external/chromium/chrome/browser/prefs/
Dpref_service_uitest.cc25 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
26 FilePath tmp_profile = temp_dir_.path().AppendASCII("tmp_profile"); in SetUp()
79 ScopedTempDir temp_dir_; member in PreferenceServiceTest

123