summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2020-01-15 17:18:56 -0800
committerKweku Adams <kwekua@google.com>2020-01-15 17:18:56 -0800
commit7bdabfb1f4a6dd42b9c2796964ee26161edd2301 (patch)
tree50df9f3b34b2c1b2d983bee2c9345a175ab226f1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent78bfd35ae1b0266cff5325a751880b9e1f0f72c0 (diff)
Fix JobSchedulerTest.
ServiceManager wasn't being mocked so the test kept failing with "java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.compat.PlatformCompat". Adding the mocking fixes the tests. Bug: N/A Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest Change-Id: I07148319f8dd4a31a83b43410f9e06e932faa103
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions