Searched refs:WriteFileString (Results 1 – 10 of 10) sorted by relevance
/system/update_engine/ |
D | image_properties_chromeos_unittest.cc | 29 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 …]
|
D | hardware_chromeos_unittest.cc | 30 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()
|
D | omaha_request_params_unittest.cc | 34 using chromeos_update_engine::test_utils::WriteFileString; 108 ASSERT_TRUE(WriteFileString(tempdir_.path().Append(".nodelta").value(), "")); in TEST_F()
|
D | omaha_response_handler_action_unittest.cc | 34 using chromeos_update_engine::test_utils::WriteFileString;
|
/system/update_engine/payload_generator/ |
D | block_mapping_unittest.cc | 75 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()
|
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()
|
/system/update_engine/common/ |
D | test_utils.h | 59 bool WriteFileString(const std::string& path, const std::string& data);
|
D | test_utils.cc | 147 bool WriteFileString(const string& path, const string& data) { in WriteFileString() function
|
D | http_fetcher_unittest.cc | 349 test_utils::WriteFileString(temp_file_.path(), "small contents"); in SmallUrl()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 416 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 440 EXPECT_TRUE(test_utils::WriteFileString( in GenerateDeltaFile()
|