Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dosrelease_reader_unittest.cc18 CHECK(temp_dir_.CreateUniqueTempDir()); in SetUp()
19 osreleased_ = temp_dir_.path().Append("etc").Append("os-release.d"); in SetUp()
20 osrelease_ = temp_dir_.path().Append("etc").Append("os-release"); in SetUp()
26 base::ScopedTempDir temp_dir_; member in brillo::OsReleaseReaderTest
31 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F()
36 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F()
49 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F()
83 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F()
Dfile_utils_unittest.cc21 CHECK(temp_dir_.CreateUniqueTempDir()); in FileUtilsTest()
22 file_path_ = temp_dir_.path().Append("test.temp"); in FileUtilsTest()
27 base::ScopedTempDir temp_dir_; member in brillo::FileUtilsTest
78 file_path_ = temp_dir_.path().Append("foo/bar/baz/test.temp"); in TEST_F()
97 base::FilePath symlink_target = temp_dir_.path().Append("target.temp"); in TEST_F()
Dkey_value_store_unittest.cc41 base::ScopedTempDir temp_dir_; in TEST_F() local
42 CHECK(temp_dir_.CreateUniqueTempDir()); in TEST_F()
43 base::FilePath temp_file_ = temp_dir_.path().Append("temp.conf"); in TEST_F()
44 base::FilePath saved_temp_file_ = temp_dir_.path().Append("saved_temp.conf"); in TEST_F()
Dprocess_unittest.cc109 CHECK(temp_dir_.CreateUniqueTempDir()); in SetUp()
110 output_file_ = temp_dir_.path().Append("fork_out").value(); in SetUp()
128 base::ScopedTempDir temp_dir_; member in brillo::ProcessTest
327 FilePath pid_path = temp_dir_.path().Append("pid"); in TEST_F()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc165 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir)); in SetUp()
167 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
179 return temp_dir_.path().AppendASCII("FilePathWatcherTest"); in test_file()
183 return temp_dir_.path().AppendASCII("FilePathWatcherTest.lnk"); in test_link()
211 ScopedTempDir temp_dir_; member in base::__anonf96a742c0111::FilePathWatcherTest
259 FilePath source_file(temp_dir_.path().AppendASCII("source")); in TEST_F()
354 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
379 FilePath path(temp_dir_.path()); in TEST_F()
392 FilePath sub_path(temp_dir_.path()); in TEST_F()
415 FilePath dir(temp_dir_.path().AppendASCII("dir")); in TEST_F()
[all …]
Dimportant_file_writer_unittest.cc90 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
91 file_ = temp_dir_.path().AppendASCII("test-file"); in SetUp()
100 ScopedTempDir temp_dir_; member in base::ImportantFileWriterTest
/external/libchrome/crypto/
Dscoped_test_nss_db.cc23 if (!temp_dir_.CreateUniqueTempDir()) in ScopedTestNSSDB()
27 slot_ = OpenSoftwareNSSDB(temp_dir_.path(), kTestDescription); in ScopedTestNSSDB()
52 temp_dir_.Take(); in ~ScopedTestNSSDB()
67 if (!temp_dir_.Delete()) in ~ScopedTestNSSDB()
Dscoped_test_nss_chromeos_user.cc16 if (!temp_dir_.CreateUniqueTempDir()) in ScopedTestNSSChromeOSUser()
21 InitializeNSSForChromeOSUser(username_hash, temp_dir_.path()); in ScopedTestNSSChromeOSUser()
Dscoped_test_nss_db.h27 base::ScopedTempDir temp_dir_;
Dscoped_test_nss_chromeos_user.h35 base::ScopedTempDir temp_dir_; variable
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc116 return temp_dir_.path() + "/core"; in GetCoreFilePath()
120 return temp_dir_.path() + "/proc"; in GetDirectoryOfProcFilesCopy()
187 if (chdir(temp_dir_.path().c_str()) == -1) { in CreateChildCrash()
Dcrash_generator.h105 AutoTempDir temp_dir_; variable
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc405 void SetUp() override { ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); } in SetUp()
407 base::ScopedTempDir temp_dir_; member in base::__anon0142d9490111::JSONFileValueSerializerTest
446 temp_dir_.path().Append(FILE_PATH_LITERAL("test_output.js")); in TEST_F()
472 base::FilePath written_file_path = temp_dir_.path().Append( in TEST_F()