MÃ¥rten Kongstad | 57f4b77 | 2011-03-17 14:13:41 +0100 | [diff] [blame] | 1 | Unit tests for runtime resource overlay |
| 2 | ======================================= |
| 3 | |
| 4 | As of this writing, runtime resource overlay is only triggered for |
| 5 | /system/framework/framework-res.apk. Because of this, installation of |
| 6 | overlay packages require the Android platform be rebooted. However, the |
| 7 | regular unit tests (triggered via development/testrunner/runtest.py) |
| 8 | cannot handle reboots. As a workaround, this directory contains a shell |
| 9 | script which will trigger the tests in a non-standard way. |
| 10 | |
| 11 | Once runtime resource overlay may be applied to applications, the tests |
| 12 | in this directory should be moved to core/tests/coretests. Also, by |
| 13 | applying runtime resource overlay to a dedicated test application, the |
| 14 | test cases would not need to assume default values for non-overlaid |
| 15 | resources. |