Searched refs:tempdir_ (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/cros/ |
D | image_properties_chromeos_unittest.cc | 38 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp() 39 EXPECT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp() 41 tempdir_.GetPath().value() + kStatefulPartition + "/etc"))); in SetUp() 42 test::SetImagePropertiesRootPrefix(tempdir_.GetPath().value().c_str()); in SetUp() 52 base::ScopedTempDir tempdir_; member in chromeos_update_engine::ImagePropertiesTest 57 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 73 tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 81 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 95 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 101 tempdir_.GetPath().value() + kStatefulPartition + "/etc/lsb-release", in TEST_F() [all …]
|
D | omaha_request_params_unittest.cc | 45 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp() 46 params_.set_root(tempdir_.GetPath().value()); in SetUp() 57 base::ScopedTempDir tempdir_; member in chromeos_update_engine::OmahaRequestParamsTest 102 WriteFileString(tempdir_.GetPath().Append(".nodelta").value(), "")); in TEST_F() 110 params.set_root(tempdir_.GetPath().value()); in TEST_F() 115 params_.set_root(tempdir_.GetPath().value()); in TEST_F() 124 params.set_root(tempdir_.GetPath().value()); in TEST_F() 129 params_.set_root(tempdir_.GetPath().value()); in TEST_F() 138 params.set_root(tempdir_.GetPath().value()); in TEST_F() 149 params_.set_root(tempdir_.GetPath().value()); in TEST_F()
|
/system/update_engine/common/ |
D | hwid_override_unittest.cc | 34 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp() 35 ASSERT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp() 39 base::ScopedTempDir tempdir_; member in chromeos_update_engine::HwidOverrideTest 49 ASSERT_EQ(base::WriteFile(tempdir_.GetPath().Append("etc/lsb-release"), in TEST_F() 53 EXPECT_EQ(expected_hwid, HwidOverride::Read(tempdir_.GetPath())); in TEST_F() 58 ASSERT_EQ(base::WriteFile(tempdir_.GetPath().Append("etc/lsb-release"), in TEST_F() 62 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); in TEST_F() 66 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); in TEST_F()
|