summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEric Schwarzenbach <easchwar@google.com>2017-08-22 10:33:00 -0700
committerEric Schwarzenbach <easchwar@google.com>2017-08-22 13:40:28 -0700
commit6efd09a0eec38c6d96a5f4fb85c5e5e36b322113 (patch)
tree8c0b169511523b5f2444bfb84bc543f9f4eb5308 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3af8736334fe5747e0487137bbd868c768641b8e (diff)
Fix AccessPointPreferenceTest and add updateIcon test.
Dependency injects the getIcon() functionality in AccessPointPreference to enable mocking the method in robolectric where it normally fails to find the resource. Adds a test to verify that getIcon is called on refresh. Also modifies the constructors to reduce redundancy. Bug: 35854035, 64898200 Test: make -j40 RunSettingsLibRoboTests Change-Id: Iaf9e27651db1d9f16f58ac80ac413e9f84f08b39
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions