diff options
| author | 2024-09-05 12:04:05 -0700 | |
|---|---|---|
| committer | 2024-09-06 14:20:16 -0700 | |
| commit | d66329098c100ce8c3e5352f916bc3ad939baac3 (patch) | |
| tree | 6ff207b9906372df7708bf5dc35a3cc29ee8b5bf /libs/androidfw/StringPool.cpp | |
| parent | 2a5d314e6c0252c067ee6f16ea27516fc4288b6f (diff) | |
Handle failures from Before/AfterClass in the runner
- Failures from @BeforeClass / @AfterClass are not properly handled
by tradefed (at least by IsolatedHostTest).
- So let's detect them and propagate failures as if each tests reported
the failure, which is a workaround that tradefed uses in a different
host test runner.
- Also, change the lambdas RavenwoodAwareTestRunner to inner classes,
so that the stacktrace would be less cryptic.
Flag: EXEMPT host test change only
Bug: 364395552
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh
Change-Id: I55299d19cd07af2fcfe71ff93b31a5b401e799e4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions