summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJW Wang <wangchun@google.com>2019-09-24 11:18:58 +0800
committerJW Wang <wangchun@google.com>2019-09-24 11:32:43 +0800
commitb94686bce5e3f3bee6ad9f4273aeea3ca55217c5 (patch)
tree551b7900d784e290d6f1e348b4c1baf17a115510 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentaeb356ca8494d6b6f2b0401991721c00f8c7e34d (diff)
Fix testExplicitHealthCheckFailureBeforeExpiry
The code doesn't work as intended. What we should do is: 1. set up so that health check duration is shorter than observation duration 2. move time forward so we fail the health check 3. check observer.mMitigatedPackages contains only APP_A 4. move time forward again to expire the observation duration 5. check APP_A is not notified again as a failed package Also add a similar test where the observation duration is shorter than the health check duration. Bug: 141518951 Test: atest PackageWatchdogTest Change-Id: Iba1cdc4fab8608982b416cdb463ed4b38d355c9f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions