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: I5c2b37339a02e444d0659d951b7bb112f3cf1558
5 files changed