diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2017-07-11 02:29:28 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-08-23 09:49:05 +0900 |
commit | a086800e0409a74279d1caf4141e5508b6be4aa6 (patch) | |
tree | 9d815d6fe3d19d6e8ed7ba66297e6bbdc056668b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 899398113a0f27c42baba70d27343a4412fec71f (diff) |
Make NetworkManagementServiceTest pass again.
1. Mock the service manager so that NMS can fetch mock versions
of INetd and IBatteryStats.
2. Call LocalServices.removeServiceForTest to avoid a duplicate
service registration error. // check this
3. Change the timeout from 100ms to 200ms, as otherwise the tests
that check for IfaceClass fail.
4. Convert NetworkManagementServiceTest to JUnit 4.
5. Move NetworkManagementServiceTest to tests/net
Bug: 29337859
Bug: 32163131
Bug: 32561414
Bug: 62918393
Test: runtest frameworks-net
Change-Id: Ic7371b427b35809ccd446addf35c9d8ae99ccfd3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions