Searched refs:transfer_list (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/tests/unit/ |
D | commands_test.cpp | 512 TransferList transfer_list = TransferList::Parse(android::base::Join(input_lines, '\n'), &err); in TEST() local 513 ASSERT_TRUE(static_cast<bool>(transfer_list)); in TEST() 514 ASSERT_EQ(4, transfer_list.version()); in TEST() 515 ASSERT_EQ(2, transfer_list.total_blocks()); in TEST() 516 ASSERT_EQ(1, transfer_list.stash_max_entries()); in TEST() 517 ASSERT_EQ(1, transfer_list.stash_max_blocks()); in TEST() 518 ASSERT_EQ(2U, transfer_list.commands().size()); in TEST() 519 ASSERT_EQ(Command::Type::STASH, transfer_list.commands()[0].type()); in TEST() 520 ASSERT_EQ(Command::Type::MOVE, transfer_list.commands()[1].type()); in TEST() 534 TransferList transfer_list = TransferList::Parse(android::base::Join(input_lines, '\n'), &err); in TEST() local [all …]
|
/bootable/recovery/tests/component/ |
D | updater_test.cpp | 129 script += R"((")" + image_file + R"(", package_extract_file("transfer_list"), ")" + new_data + in RunBlockImageUpdate() 402 std::vector<std::string> transfer_list{ in TEST_F() local 409 { "transfer_list", android::base::Join(transfer_list, "\n") }, in TEST_F() 451 std::vector<std::string> transfer_list{ in TEST_F() local 458 { "transfer_list", android::base::Join(transfer_list, "\n") }, in TEST_F() 605 std::vector<std::string> transfer_list{ in TEST_F() local 616 { "transfer_list", android::base::Join(transfer_list, '\n') }, in TEST_F() 639 std::vector<std::string> transfer_list{ in GetEntriesForBsdiff() local 656 { "transfer_list", android::base::Join(transfer_list, '\n') }, in GetEntriesForBsdiff() 717 std::vector<std::string> transfer_list{ in TEST_F() local [all …]
|