summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-05-22 15:09:25 +0900
committerHugo Benichi <hugobenichi@google.com>2017-05-23 10:18:41 +0900
commit1cebba71734791dade10aeab7313ac896d9ac486 (patch)
tree542e43571f3d221a09ebb84206f41def2171ccde /tools/aapt2/java/JavaClassGenerator.cpp
parentb6f77c87c75a210a13c98e42a27364187b81e22d (diff)
Fix NetworkStatsObserversTest
This patch fixes several spurious unit tests in NetworkStatsObserversTest by using the updated waitForIdleHandler of ConnectivityServiceTest. More specifically this fixes the following tests: - testUnregister_knownRequest_releasesCaller - testUpdateStats_deviceAccess_notifies - testUpdateStats_userAccess_usageSameUser_notifies - testUpdateStats_defaultAccess_notifiesSameUid This patch also removes the dummy message with type -1 sent at the end of tests in NetworkStatsObserversTest and the associated assert, because nothing is exercised or asserted immediately after. This patch also updates NetworkStatsObserversTest to not depend on the deprecated junit.framework.TestCase. Bug: 32561414 Test: runtest -x frameworks/base/tests/../NetworkStatsObserversTest.java Change-Id: I4fc909ee9bacc964c859fa7a3db34f9dc86b89cf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions