diff options
author | Brett Chabot <brettchabot@android.com> | 2010-07-07 17:19:08 -0700 |
---|---|---|
committer | Brett Chabot <brettchabot@android.com> | 2010-07-07 17:33:22 -0700 |
commit | 31e7ce762ccbbb747fabb4581e42a0a2fe56e780 (patch) | |
tree | f9d5ff503a6ce35c29aa2da2f9bdc6359f6640dc /native | |
parent | dacabf97c609a040ada857a7da6c560097448ae3 (diff) | |
download | frameworks_base-31e7ce762ccbbb747fabb4581e42a0a2fe56e780.zip frameworks_base-31e7ce762ccbbb747fabb4581e42a0a2fe56e780.tar.gz frameworks_base-31e7ce762ccbbb747fabb4581e42a0a2fe56e780.tar.bz2 |
Improve InstrumentationTestRunner exception handling.
This commit fixes two somewhat related problems:
- Attempting to run a method which does not exist caused a runtime
exception which stopped the test run. Change this so the runner reports
an individual test failure instead
- A runtime exception during the test run would cause it to stop
completely, with no information dumped to the logcat or stdout. Now
exceptions are trapped and reported to stdout.
Also added associated unit tests to test these two conditions.
Related bug 2812262.
Change-Id: I383f9b9bad99f14cb51071800fa9bdbf6a6a1119
Diffstat (limited to 'native')
0 files changed, 0 insertions, 0 deletions