summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCody Kesting <ckesting@google.com>2020-01-15 16:31:08 -0800
committerCody Kesting <ckesting@google.com>2020-02-05 15:05:29 -0800
commite330fcd0705508c35d9b88cbdf531273ef671889 (patch)
treea2b6430db294e3a6bbbfcae561ad716c6445ee94 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf3626446e704bb1d1d119a3ea748b92899c43e8d (diff)
Use waitForIdle() to wait for Threaded processing.
Unit testing for ConnectivityDiagnostics API in ConnectivityServiceTest is updated to use HandlerUtilsKt#waitForIdle. In the general case, this takes the same time to run as verify-with-timeout (used previously). However, test failures due to messages not being enqueued on the handler (backed by the ConnectivityService Thread) won't incur the timeout delay, as the thread will be idle sooner. This shortens the delay in the event of a programming error. Bug: 143187964 Test: atest FrameworksNetTests Change-Id: Iae66309501bb83449ca735dfa5e972a9852cbcd0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions