Searched refs:test_dir_ (Results 1 – 5 of 5) sorted by relevance
/system/core/crash_reporter/ |
D | crash_collector_test.cc | 56 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 …]
|
D | unclean_shutdown_collector_test.cc | 60 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
|
D | user_collector_test.cc | 69 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/ |
D | omaha_request_params_unittest.cc | 50 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 …]
|
D | update_attempter_unittest.cc | 134 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
|