Home
last modified time | relevance | path

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

/system/update_engine/
Dimage_properties_chromeos_unittest.cc29 using chromeos_update_engine::test_utils::WriteFileString;
58 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
73 ASSERT_TRUE(WriteFileString( 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()
101 ASSERT_TRUE(WriteFileString( in TEST_F()
117 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
122 ASSERT_TRUE(WriteFileString( in TEST_F()
139 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
151 WriteFileString(tempdir_.GetPath().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()
50 ASSERT_TRUE(WriteFileString(kFile.value(), config)); in WriteRootfsConfig()
Dimage_properties_android_unittest.cc30 using chromeos_update_engine::test_utils::WriteFileString;
46 ASSERT_TRUE(WriteFileString(osrelease_dir_.Append(key).value(), value)); in WriteOsRelease()
54 WriteFileString(tempdir_.GetPath().Append("misc").value(), misc)); in WriteChannel()
Domaha_request_params_unittest.cc34 using chromeos_update_engine::test_utils::WriteFileString;
106 WriteFileString(tempdir_.GetPath().Append(".nodelta").value(), "")); in TEST_F()
Domaha_response_handler_action_unittest.cc38 using chromeos_update_engine::test_utils::WriteFileString;
/system/update_engine/payload_generator/
Dblock_mapping_unittest.cc57 test_utils::WriteFileString(old_part_.path(), string(block_size_, 'a')); in TEST_F()
92 test_utils::WriteFileString(old_part_.path(), old_contents); in TEST_F()
99 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()
Dpayload_file_unittest.cc46 EXPECT_TRUE(test_utils::WriteFileString(orig_blobs.path(), orig_data)); in TEST_F()
Dpayload_generation_config_android_unittest.cc191 test_utils::WriteFileString(temp_file_.path(), "tiny"); in TEST_F()
/system/update_engine/common/
Dhash_calculator_unittest.cc108 ASSERT_TRUE(test_utils::WriteFileString(data_file.path(), "hi")); in TEST_F()
130 ASSERT_TRUE(test_utils::WriteFileString(data_file.path(), "hi")); in TEST_F()
Dtest_utils.h57 bool WriteFileString(const std::string& path, const std::string& data);
Dtest_utils.cc111 bool WriteFileString(const string& path, const string& data) { in WriteFileString() function
Dhttp_fetcher_unittest.cc341 test_utils::WriteFileString(temp_file_.path(), big_contents); in BigUrl()
345 test_utils::WriteFileString(temp_file_.path(), "small contents"); in SmallUrl()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc400 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile()
424 EXPECT_TRUE(test_utils::WriteFileString( in GenerateDeltaFile()
Ddelta_performer_unittest.cc1002 ASSERT_TRUE(test_utils::WriteFileString(existing_file, kExistingKey)); in TEST_F()