Searched refs:tempdir_ (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/ |
D | image_properties_chromeos_unittest.cc | 38 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp() 39 EXPECT_TRUE(base::CreateDirectory(tempdir_.path().Append("etc"))); in SetUp() 41 base::FilePath(tempdir_.path().value() + kStatefulPartition + "/etc"))); in SetUp() 42 test::SetImagePropertiesRootPrefix(tempdir_.path().value().c_str()); in SetUp() 53 base::ScopedTempDir tempdir_; member in chromeos_update_engine::ImagePropertiesTest 57 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 73 tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 81 WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 94 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 100 tempdir_.path().value() + kStatefulPartition + "/etc/lsb-release", in TEST_F() [all …]
|
D | omaha_request_params_unittest.cc | 46 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp() 50 params_.set_root(tempdir_.path().value()); in SetUp() 64 base::ScopedTempDir tempdir_; member in chromeos_update_engine::OmahaRequestParamsTest 108 ASSERT_TRUE(WriteFileString(tempdir_.path().Append(".nodelta").value(), "")); in TEST_F() 116 params.set_root(tempdir_.path().value()); in TEST_F() 121 params_.set_root(tempdir_.path().value()); in TEST_F() 130 params.set_root(tempdir_.path().value()); in TEST_F() 135 params_.set_root(tempdir_.path().value()); in TEST_F() 144 params.set_root(tempdir_.path().value()); in TEST_F() 154 params_.set_root(tempdir_.path().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_.path().Append("etc"))); in SetUp() 39 base::ScopedTempDir tempdir_; member in chromeos_update_engine::HwidOverrideTest 49 ASSERT_EQ(base::WriteFile(tempdir_.path().Append("etc/lsb-release"), in TEST_F() 52 EXPECT_EQ(expected_hwid, HwidOverride::Read(tempdir_.path())); in TEST_F() 57 ASSERT_EQ(base::WriteFile(tempdir_.path().Append("etc/lsb-release"), in TEST_F() 60 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.path())); in TEST_F() 64 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.path())); in TEST_F()
|