From 6cd816859e462e8741ced8dc24c00b7cd8304e2a Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Thu, 3 May 2018 21:53:11 -0700 Subject: tests: Add tests for ScreenRecoveryUI. In order to support that, this CL adds Paths::set_resource_dir() to override the default resource dir ("/res/images/") that's only available under recovery. Note that since there're external modules depending on libminui, it adds a separate function of res_set_resource_dir(), instead of requiring the dependency on libotautil for everyone. Test: mmma -j bootable/recovery Test: Run recovery_unit_test on marlin. Change-Id: I0a7dcf4476808bea9e634eaffc9676f6cbaf92b7 --- tests/testdata/font.png | Bin 0 -> 24437 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/testdata/font.png (limited to 'tests/testdata/font.png') diff --git a/tests/testdata/font.png b/tests/testdata/font.png new file mode 100644 index 000000000..d95408a93 Binary files /dev/null and b/tests/testdata/font.png differ -- cgit v1.2.3