platform_bootable_recovery/tests/testdata
Tianjie Xu fa77ee8470 Generate recovery.img for unittest during build time
The unit tests for imgpatch is comparing the compressed bytes. As
a result, these unit tests will fail with libz change.

Since the recovery image is just a gzipped ramdisk with some wrappings,
we can generate with minigzip it during the build time. This matches
the usage in the real world, where we generate the patch with the host
side libz; and apply the patch with the library on the device.

Bug: 149443852
Test: tests pass on Pixel3
Change-Id: I7885765a161c6bf765671bc55a72cfcaa04b4138
2020-02-20 23:09:44 -08:00
..
battery_scale.png minui: Fix a wrong arg in calling GRSurface::Create(). 2018-11-26 17:06:53 -08:00
bonus.file applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
boot.img applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
deflate_src.zip Fix the size mismatch in imgdiff 2017-10-31 23:31:02 -07:00
deflate_tgt.zip Fix the size mismatch in imgdiff 2017-10-31 23:31:02 -07:00
fake-eocd.zip Refactor existing tests to use gtest 2016-02-04 10:11:30 -08:00
font.png tests: Add tests for ScreenRecoveryUI. 2018-05-08 15:53:56 -07:00
gzipped_source Convert deflate image chunks to raw if the raw data is smaller 2018-05-24 10:49:54 -07:00
gzipped_target Convert deflate image chunks to raw if the raw data is smaller 2018-05-24 10:49:54 -07:00
loop00000.png tests: Add tests for ScreenRecoveryUI. 2018-05-08 15:53:56 -07:00
otasigned_4096bits.zip Allow RSA 4096 key in package verification 2019-03-26 12:28:23 -07:00
otasigned_v1.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v2.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v3.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v4.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v5.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
random.zip Refactor existing tests to use gtest 2016-02-04 10:11:30 -08:00
recovery-from-boot-with-bonus.p applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
recovery-from-boot.p applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
recovery_body Generate recovery.img for unittest during build time 2020-02-20 23:09:44 -08:00
recovery_head Generate recovery.img for unittest during build time 2020-02-20 23:09:44 -08:00
recovery_tail Generate recovery.img for unittest during build time 2020-02-20 23:09:44 -08:00
testkey_4096bits.x509.pem Allow RSA 4096 key in package verification 2019-03-26 12:28:23 -07:00
testkey_v1.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v1.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v1.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v2.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v2.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v2.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v3.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v3.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v3.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v4.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v4.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v4.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v5.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v5.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v5.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
ziptest_dummy-update.zip Replace minzip with libziparchive 2016-10-17 17:41:51 -07:00
ziptest_valid.zip Replace minzip with libziparchive 2016-10-17 17:41:51 -07:00