Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dosrelease_reader_unittest.cc18 CHECK(temp_dir_.CreateUniqueTempDir()); in SetUp()
19 osreleased_ = temp_dir_.GetPath().Append("etc").Append("os-release.d"); in SetUp()
20 osrelease_ = temp_dir_.GetPath().Append("etc").Append("os-release"); in SetUp()
26 base::ScopedTempDir temp_dir_; member in brillo::OsReleaseReaderTest
31 store_.LoadTestingOnly(temp_dir_.GetPath()); in TEST_F()
36 store_.LoadTestingOnly(temp_dir_.GetPath()); in TEST_F()
49 store_.LoadTestingOnly(temp_dir_.GetPath()); in TEST_F()
83 store_.LoadTestingOnly(temp_dir_.GetPath()); in TEST_F()
Dfile_utils_unittest.cc39 CHECK(temp_dir_.CreateUniqueTempDir()); in FileUtilsTest()
40 file_path_ = temp_dir_.GetPath().Append("test.temp"); in FileUtilsTest()
45 base::ScopedTempDir temp_dir_; member in brillo::FileUtilsTest
71 return temp_dir_.GetPath().Append(GetRandomSuffix()); in GetTempName()
90 file_path_ = temp_dir_.GetPath().Append("foo/bar/baz/test.temp"); in TEST_F()
109 base::FilePath symlink_target = temp_dir_.GetPath().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_.GetPath().Append("temp.conf"); in TEST_F()
45 temp_dir_.GetPath().Append("saved_temp.conf"); in TEST_F()
Dprocess_unittest.cc108 CHECK(temp_dir_.CreateUniqueTempDir()); in SetUp()
109 output_file_ = temp_dir_.GetPath().Append("fork_out").value(); in SetUp()
127 base::ScopedTempDir temp_dir_; member in brillo::ProcessTest
346 FilePath pid_path = temp_dir_.GetPath().Append("pid"); in TEST_F()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc162 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir)); in SetUp()
164 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
172 return temp_dir_.GetPath().AppendASCII("FilePathWatcherTest"); in test_file()
176 return temp_dir_.GetPath().AppendASCII("FilePathWatcherTest.lnk"); in test_link()
212 ScopedTempDir temp_dir_; member in base::__anonbec4f5360111::FilePathWatcherTest
253 FilePath source_file(temp_dir_.GetPath().AppendASCII("source")); in TEST_F()
339 FilePath dir(temp_dir_.GetPath().AppendASCII("dir")); in TEST_F()
363 FilePath path(temp_dir_.GetPath()); in TEST_F()
376 FilePath sub_path(temp_dir_.GetPath()); in TEST_F()
398 FilePath dir(temp_dir_.GetPath().AppendASCII("dir")); in TEST_F()
[all …]
Dimportant_file_writer_unittest.cc120 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
121 file_ = temp_dir_.GetPath().AppendASCII("test-file"); in SetUp()
130 ScopedTempDir temp_dir_; member in base::ImportantFileWriterTest
/external/libchrome/base/metrics/
Dpersistent_histogram_storage_unittest.cc33 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
39 const FilePath& temp_dir_path() { return temp_dir_.GetPath(); } in temp_dir_path()
45 ScopedTempDir temp_dir_; member in base::PersistentHistogramStorageTest
/external/libchrome/crypto/
Dscoped_test_nss_db.cc23 if (!temp_dir_.CreateUniqueTempDir()) in ScopedTestNSSDB()
27 slot_ = OpenSoftwareNSSDB(temp_dir_.GetPath(), kTestDescription); in ScopedTestNSSDB()
58 if (!temp_dir_.Delete()) in ~ScopedTestNSSDB()
Dscoped_test_nss_chromeos_user.cc16 if (!temp_dir_.CreateUniqueTempDir()) in ScopedTestNSSChromeOSUser()
21 InitializeNSSForChromeOSUser(username_hash, temp_dir_.GetPath()); in ScopedTestNSSChromeOSUser()
Dscoped_test_nss_db.h27 base::ScopedTempDir temp_dir_;
Dscoped_test_nss_chromeos_user.h35 base::ScopedTempDir temp_dir_; variable
/external/autotest/client/site_tests/security_Libcontainer/src/
Dlibcontainer_target_unittest.cc66 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
70 temp_dir_.GetPath(), FILE_PATH_LITERAL("rootfs"), &rootfs)); in SetUp()
90 ASSERT_TRUE(temp_dir_.Delete()); in TearDown()
101 base::ScopedTempDir temp_dir_; member in libcontainer::LibcontainerTargetTest
/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/mojo/public/cpp/platform/tests/
Dplatform_handle_unittest.cc104 CHECK(temp_dir_.CreateUniqueTempDir()); in SetUpFile()
105 base::File test_file(temp_dir_.GetPath().AppendASCII("test"), in SetUpFile()
189 base::ScopedTempDir temp_dir_; member in mojo::__anon173f059b0111::PlatformHandleTest
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc400 void SetUp() override { ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); } in SetUp()
402 ScopedTempDir temp_dir_; member in base::__anon471f36130111::JSONFileValueSerializerTest
436 temp_dir_.GetPath().AppendASCII("test_output.js"); in TEST_F()
462 temp_dir_.GetPath().AppendASCII("test_output.json"); in TEST_F()
/external/libchrome/mojo/public/cpp/system/tests/
Dfile_data_pipe_producer_unittest.cc86 FileDataPipeProducerTest() { CHECK(temp_dir_.CreateUniqueTempDir()); } in FileDataPipeProducerTest()
92 base::FilePath temp_file_path = temp_dir_.GetPath().AppendASCII( in CreateTempFileWithContents()
137 base::ScopedTempDir temp_dir_; member in mojo::__anondb6b72940111::FileDataPipeProducerTest
/external/libchrome/libchrome_tools/patch/
Dpath_service.patch58 ScopedTempDir temp_dir_;