Android patch: Android support for ICU4C tests (Part 2)
- Add stacktrace into the XML test report. (tested intltest only)
- Improve test reporting for Android's consumption
- Include a test id in the classname for test re-run
- intltest supports test id, e.g. utility/UnicodeStringTest/TestSizeofUnicodeString
- To run only the individual test, run cmd "intltest utility/UnicodeStringTest/TestSizeofUnicodeString"
- The test id is also useful for include-filter option configed in ICU4CTest
- May be useful for supporting test id in atest, e.g. atest intltest:ICU4CTest.
But it's NOT implemented yet.
- Call android_icu_register() to initialize the data file.
- Android has more one data file, i.e. core data (icudt64l.dat) and time zone data.
- It's important because it ensures libicuuc and libicui18n on device works
with the given data in the system image.
Bug: 120776993
Test: atest intltest (still 14 failures)
Change-Id: Ie52dab55beee98127536dd0377b5ca050f12059a
5 files changed