diff options
| author | 2024-09-19 20:47:43 +0000 | |
|---|---|---|
| committer | 2024-09-27 18:24:08 +0000 | |
| commit | 2d37d6e39f55471cb78b1baad82f451521eb455c (patch) | |
| tree | d96b111761eb4e08edb4d27d5be54fa4280fe7c2 /wifi/java/src | |
| parent | 2fe038507810606fbdd586365f81ffca52e6ff0b (diff) | |
Fixed TestWithLooperRule switch for UiThreadStatement and ExpectException
When switching from AndroidTestRunner to AndroidJUnit4, the annotation @Test(expected = <Exception> wrap the test method, which is delegated out to AndroidTestRunner if it's there, but a switch statement in wrapMethodInStatement is called in the AndroidJUnit4 case, which caused an exception for the uhandled case.
Bug: 352170965
Test: manual test with atest
Flag: TEST_ONLY
Change-Id: Ib45be25234519a22031b5774e9c83fcad59c1c47
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions