Home
last modified time | relevance | path

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

/system/update_engine/
Dimage_properties_chromeos_unittest.cc38 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()
53 base::ScopedTempDir tempdir_; member in chromeos_update_engine::ImagePropertiesTest
58 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
74 tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
82 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
96 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
102 tempdir_.GetPath().value() + kStatefulPartition + "/etc/lsb-release", in TEST_F()
[all …]
Dexcluder_chromeos_unittest.cc38 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp()
39 ASSERT_TRUE(base::PathExists(tempdir_.GetPath())); in SetUp()
40 ASSERT_TRUE(prefs_.Init(tempdir_.GetPath())); in SetUp()
44 base::ScopedTempDir tempdir_; member in chromeos_update_engine::ExcluderChromeOSTest
Domaha_request_params_unittest.cc46 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp()
47 params_.set_root(tempdir_.GetPath().value()); in SetUp()
61 base::ScopedTempDir tempdir_; member in chromeos_update_engine::OmahaRequestParamsTest
106 WriteFileString(tempdir_.GetPath().Append(".nodelta").value(), "")); in TEST_F()
114 params.set_root(tempdir_.GetPath().value()); in TEST_F()
119 params_.set_root(tempdir_.GetPath().value()); in TEST_F()
128 params.set_root(tempdir_.GetPath().value()); in TEST_F()
133 params_.set_root(tempdir_.GetPath().value()); in TEST_F()
142 params.set_root(tempdir_.GetPath().value()); in TEST_F()
153 params_.set_root(tempdir_.GetPath().value()); in TEST_F()
Dimage_properties_android_unittest.cc39 ASSERT_TRUE(tempdir_.CreateUniqueTempDir()); in SetUp()
40 osrelease_dir_ = tempdir_.GetPath().Append("etc/os-release.d"); in SetUp()
42 test::SetImagePropertiesRootPrefix(tempdir_.GetPath().value().c_str()); in SetUp()
54 WriteFileString(tempdir_.GetPath().Append("misc").value(), misc)); in WriteChannel()
59 base::ScopedTempDir tempdir_; member in chromeos_update_engine::ImagePropertiesTest
/system/update_engine/common/
Dhwid_override_unittest.cc34 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()