Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
OverlayTest/ | 03-May-2024 | - | 157 | 121 | ||
OverlayTestOverlay/ | 03-May-2024 | - | 39 | 28 | ||
Android.mk | D | 03-May-2024 | 108 | 5 | 2 | |
README | D | 03-May-2024 | 781 | 16 | 13 | |
runtests.sh | D | 03-May-2024 | 2.7 KiB | 130 | 99 |
README
1Unit tests for runtime resource overlay 2======================================= 3 4As of this writing, runtime resource overlay is only triggered for 5/system/framework/framework-res.apk. Because of this, installation of 6overlay packages require the Android platform be rebooted. However, the 7regular unit tests (triggered via development/testrunner/runtest.py) 8cannot handle reboots. As a workaround, this directory contains a shell 9script which will trigger the tests in a non-standard way. 10 11Once runtime resource overlay may be applied to applications, the tests 12in this directory should be moved to core/tests/coretests. Also, by 13applying runtime resource overlay to a dedicated test application, the 14test cases would not need to assume default values for non-overlaid 15resources. 16