Home
last modified time | relevance | path

Searched refs:existing_data (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc669 string existing_data; in TEST_F() local
671 existing_data += '0' + (i % 10); in TEST_F()
672 ASSERT_EQ(WriteFile(p2p_manager_->FileGetPath(file_id), existing_data.c_str(), in TEST_F()
689 EXPECT_EQ(existing_data, p2p_file_contents.substr(0, 1000)); in TEST_F()
707 string existing_data; in TEST_F() local
709 existing_data += '0' + (i % 10); in TEST_F()
710 ASSERT_EQ(WriteFile(p2p_manager_->FileGetPath(file_id), existing_data.c_str(), in TEST_F()
Ddelta_performer_unittest.cc498 brillo::Blob existing_data = brillo::Blob(4096 * 10, 'a'); in TEST_F() local
499 brillo::Blob expected_data = existing_data; in TEST_F()
516 ApplyPayloadToData(payload_data, "/dev/null", existing_data, true)); in TEST_F()