summaryrefslogtreecommitdiffstats
path: root/core/tests/overlaytests/README
blob: 4b3e6f235657c16393c01adebc0f0599169ce80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Unit tests for runtime resource overlay
=======================================

As of this writing, runtime resource overlay is only triggered for
/system/framework/framework-res.apk. Because of this, installation of
overlay packages require the Android platform be rebooted. However, the
regular unit tests (triggered via development/testrunner/runtest.py)
cannot handle reboots. As a workaround, this directory contains a shell
script which will trigger the tests in a non-standard way.

Once runtime resource overlay may be applied to applications, the tests
in this directory should be moved to core/tests/coretests. Also, by
applying runtime resource overlay to a dedicated test application, the
test cases would not need to assume default values for non-overlaid
resources.