Home
last modified time | relevance | path

Searched refs:WriteFileString (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/
Dimage_properties_chromeos_unittest.cc29 using chromeos_update_engine::test_utils::WriteFileString;
57 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F()
72 ASSERT_TRUE(WriteFileString( 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()
99 ASSERT_TRUE(WriteFileString( in TEST_F()
114 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F()
119 ASSERT_TRUE(WriteFileString( in TEST_F()
135 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F()
146 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F()
[all …]
Dhardware_chromeos_unittest.cc30 using chromeos_update_engine::test_utils::WriteFileString;
43 ASSERT_TRUE(WriteFileString(kFile.value(), config)); in WriteStatefulConfig()
49 ASSERT_TRUE(WriteFileString(kFile.value(), config)); in WriteRootfsConfig()
Domaha_request_params_unittest.cc34 using chromeos_update_engine::test_utils::WriteFileString;
108 ASSERT_TRUE(WriteFileString(tempdir_.path().Append(".nodelta").value(), "")); in TEST_F()
Domaha_response_handler_action_unittest.cc34 using chromeos_update_engine::test_utils::WriteFileString;
/system/update_engine/payload_generator/
Dblock_mapping_unittest.cc75 test_utils::WriteFileString(old_part_path_, string(block_size_, 'a')); in TEST_F()
110 test_utils::WriteFileString(old_part_path_, old_contents); in TEST_F()
117 test_utils::WriteFileString(new_part_path_, new_contents); in TEST_F()
Dmapfile_filesystem_unittest.cc79 test_utils::WriteFileString(temp_mapfile_.path(), text); in TEST_F()
111 test_utils::WriteFileString(temp_mapfile_.path(), "/some/file 1-4\n"); in TEST_F()
123 test_utils::WriteFileString(temp_mapfile_.path(), "/some/file 2-1\n"); in TEST_F()
/system/update_engine/common/
Dtest_utils.h59 bool WriteFileString(const std::string& path, const std::string& data);
Dtest_utils.cc147 bool WriteFileString(const string& path, const string& data) { in WriteFileString() function
Dhttp_fetcher_unittest.cc349 test_utils::WriteFileString(temp_file_.path(), "small contents"); in SmallUrl()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc416 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile()
440 EXPECT_TRUE(test_utils::WriteFileString( in GenerateDeltaFile()