diff options
| author | Doris Liu <tianliu@google.com> | 2017-07-28 18:14:05 -0700 |
|---|---|---|
| committer | Doris Liu <tianliu@google.com> | 2017-07-29 01:39:09 +0000 |
| commit | e09d691902fb156c065f71825c2cb7589d035339 (patch) | |
| tree | 9b1033a7c002e5a5aafb09b1365d0030ff6005cc /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | de9a012aa2f7b77e70d158bdb01b535837b2a8b7 (diff) | |
Handle exception in newly spawned thread in the test
Junit catches the throwable that happen in main thread, but not in
custom threads that tests have created and started. As a result,
Errors such as AssertionErrors had led to crashes in the tests.
This CL added error catching in the new thread. The error will then
be thrown in the test thread later on.
Also, transformed the class into JUnit4 tests.
BUG: 64095896
Test: ran core tests
Change-Id: I78a1cceb405d331f6796cf7ee5f7661dc5aec7b4
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
