Searched refs:WriteFileString (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/ |
D | image_properties_chromeos_unittest.cc | 29 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 …]
|
D | hardware_chromeos_unittest.cc | 30 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()
|
D | image_properties_android_unittest.cc | 30 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()
|
D | omaha_request_params_unittest.cc | 34 using chromeos_update_engine::test_utils::WriteFileString; 106 WriteFileString(tempdir_.GetPath().Append(".nodelta").value(), "")); in TEST_F()
|
D | dynamic_partition_control_android_unittest.cc | 799 ASSERT_TRUE(test_utils::WriteFileString(fstab.path(), fstab_content)); in TEST_F() 810 ASSERT_TRUE(test_utils::WriteFileString(fstab.path(), fstab_content)); in TEST_F()
|
D | omaha_response_handler_action_unittest.cc | 38 using chromeos_update_engine::test_utils::WriteFileString;
|
/system/update_engine/payload_generator/ |
D | block_mapping_unittest.cc | 57 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()
|
D | mapfile_filesystem_unittest.cc | 79 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()
|
D | payload_file_unittest.cc | 46 EXPECT_TRUE(test_utils::WriteFileString(orig_blobs.path(), orig_data)); in TEST_F()
|
D | payload_generation_config_android_unittest.cc | 209 test_utils::WriteFileString(temp_file_.path(), "tiny"); in TEST_F()
|
/system/update_engine/common/ |
D | hash_calculator_unittest.cc | 108 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()
|
D | test_utils.h | 57 bool WriteFileString(const std::string& path, const std::string& data);
|
D | test_utils.cc | 106 bool WriteFileString(const string& path, const string& data) { in WriteFileString() function
|
D | http_fetcher_unittest.cc | 342 test_utils::WriteFileString(temp_file_.path(), big_contents); in BigUrl() 346 test_utils::WriteFileString(temp_file_.path(), "small contents"); in SmallUrl()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 456 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 480 EXPECT_TRUE(test_utils::WriteFileString( in GenerateDeltaFile()
|
D | delta_performer_unittest.cc | 1083 ASSERT_TRUE(test_utils::WriteFileString(existing_file, kExistingKey)); in TEST_F()
|