diff options
author | Christophe Rhodes <xof@google.com> | 2022-05-31 15:29:59 +0100 |
---|---|---|
committer | Maksim Lazeba <mlazeba@google.com> | 2022-06-01 12:09:19 +0000 |
commit | 9b243f800fad007950666f9f64a5f29a40de46cb (patch) | |
tree | a00e030bde5c568b81e82bd48d72fd1be35df8b8 /android-test-framework | |
parent | cf2321fb17dbc75e2d521be068aedc0a0286a423 (diff) | |
download | idea-9b243f800fad007950666f9f64a5f29a40de46cb.tar.gz |
[AUA] Add a state transition test for internal errors
Refactoring Processors generically check for write permission, so we
can trigger the CaughtException state by turning off write permission
to a file that would be altered.
Actually testing this requires wrapping the code branch used in unit
tests that runs the processor in the same try/catch that is used in
production, which is probably a good thing all round.
Bug: 217378292
Test: added in this CL
Change-Id: Ie14d90ac09fc1b9709292b743d80733988c7a803
Diffstat (limited to 'android-test-framework')
0 files changed, 0 insertions, 0 deletions