Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dapplypatch_test.cpp52 source_size = boot_fc.data.size(); in SetUp()
61 source_partition = Partition(source_file, source_size, source_sha1); in SetUp()
78 size_t source_size; member in ApplyPatchTest
101 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size, bad_sha1_a))); in TEST_F()
103 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size - 1, source_sha1))); in TEST_F()
104 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size + 1, source_sha1))); in TEST_F()
111 PatchPartitionCheck(Partition(source_file, source_size - 1, source_sha1), source_partition)); in TEST_F()
114 PatchPartitionCheck(Partition(source_file, source_size + 1, source_sha1), source_partition)); in TEST_F()
119 PatchPartitionCheck(target_partition, Partition(target_file, source_size, source_sha1))); in TEST_F()
123 PatchPartitionCheck(target_partition, Partition(target_file, source_size, source_sha1))); in TEST_F()
[all …]
/bootable/recovery/tests/component/
Dupdater_test.cpp225 size_t source_size = source_content.size(); in TEST_F() local
227 Partition source(source_file, source_size, source_hash); in TEST_F()
251 Partition bad_source(source_file, source_size + 1, source_hash); in TEST_F()