diff options
| author | 2023-07-04 09:39:38 +0000 | |
|---|---|---|
| committer | 2023-07-06 01:54:32 +0000 | |
| commit | 44f483e42807f463d57bdab09aac031c6c3ee115 (patch) | |
| tree | ee4b1e0cef14c4e25358205ac4f65332017088a3 /libs/androidfw/ApkParsing.cpp | |
| parent | b93f0585abe0009dfa0c62cebbab77301cb95437 (diff) | |
Use mockito.after() instead of Thread.sleep
Because the change moves the call to hander, the test needs to wait
for a timeout to make sure the call is called. Instead of using the
Thread.sleep(), it's better to use mockito.after().
Bug: 29385425
Test: atest PackageMonitorCallbackHelperTest
Change-Id: Id6ac8d6cdbe28f31bae0837414c6970f1df6f608
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions