Searched refs:source_size (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/tests/unit/ |
D | applypatch_test.cpp | 52 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 …]
|
D | updater_test.cpp | 258 size_t source_size = source_content.size(); in TEST_F() local 260 Partition source(source_file, source_size, source_hash); in TEST_F() 284 Partition bad_source(source_file, source_size + 1, source_hash); in TEST_F()
|