Home
last modified time | relevance | path

Searched refs:test_dir_ (Results 1 – 5 of 5) sorted by relevance

/system/core/crash_reporter/
Dcrash_collector_test.cc56 EXPECT_TRUE(test_dir_.CreateUniqueTempDir()); in SetUp()
66 base::ScopedTempDir test_dir_; member in CrashCollectorTest
75 FilePath test_file = test_dir_.path().Append("test_new"); in TEST_F()
125 test_dir_.path().value().c_str()).c_str(); in CheckHasCapacity()
126 bool has_capacity = collector_.CheckHasCapacity(test_dir_.path()); in CheckHasCapacity()
135 base::WriteFile(test_dir_.path().Append(StringPrintf("file%d.core", i)), in TEST_F()
142 base::WriteFile(test_dir_.path().Append(StringPrintf("file%d.meta", i)), in TEST_F()
149 base::WriteFile(test_dir_.path().Append(StringPrintf("overage%d.meta", i)), in TEST_F()
158 base::WriteFile(test_dir_.path().Append(StringPrintf("file.%d.core", i)), in TEST_F()
162 base::WriteFile(test_dir_.path().Append("file.last.core"), "", 0); in TEST_F()
[all …]
Dunclean_shutdown_collector_test.cc60 EXPECT_TRUE(test_dir_.CreateUniqueTempDir()); in SetUp()
62 test_directory_ = test_dir_.path().Append("test"); in SetUp()
63 test_unclean_ = test_dir_.path().Append("test/unclean"); in SetUp()
69 test_dir_.path().Append("test/suspended"); in SetUp()
82 base::ScopedTempDir test_dir_; member in UncleanShutdownCollectorTest
Duser_collector_test.cc69 EXPECT_TRUE(test_dir_.CreateUniqueTempDir()); in SetUp()
71 mkdir(test_dir_.path().Append("test").value().c_str(), 0777); in SetUp()
91 base::ScopedTempDir test_dir_; member in UserCollectorTest
178 std::string long_link = test_dir_.path().value(); in TEST_F()
186 test_dir_.path().Append("test/this_link").value().c_str(); in TEST_F()
347 FilePath container_path(test_dir_.path().Append("test/container")); in TEST_F()
353 FilePath container_path(test_dir_.path().Append("test/container")); in TEST_F()
377 FilePath container_dir = test_dir_.path(); in TEST_F()
396 FilePath container_dir = test_dir_.path(); in TEST_F()
/system/update_engine/
Domaha_request_params_unittest.cc50 ASSERT_TRUE(utils::MakeTempDirectory(kTestDirTemplate, &test_dir_)); in SetUp()
51 EXPECT_TRUE(base::CreateDirectory(base::FilePath(test_dir_ + "/etc"))); in SetUp()
53 base::FilePath(test_dir_ + kStatefulPartition + "/etc"))); in SetUp()
58 params_.set_root(test_dir_); in SetUp()
63 EXPECT_TRUE(base::DeleteFile(base::FilePath(test_dir_), true)); in TearDown()
75 string test_dir_; member in chromeos_update_engine::OmahaRequestParamsTest
105 test_dir_ + "/etc/lsb-release", in TEST_F()
127 test_dir_ + "/etc/lsb-release", in TEST_F()
150 test_dir_ + "/etc/lsb-release", in TEST_F()
167 test_dir_ + "/etc/lsb-release", in TEST_F()
[all …]
Dupdate_attempter_unittest.cc134 CHECK(utils::MakeTempDirectory("UpdateAttempterTest-XXXXXX", &test_dir_)); in SetUp()
165 base::DeleteFile(base::FilePath(test_dir_), true); in TearDown()
212 string test_dir_; member in chromeos_update_engine::UpdateAttempterTest