summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2016-11-09 08:59:56 -0500
committerJason Monk <jmonk@google.com>2016-11-11 09:52:17 -0500
commite97892844a5c21c91c7f82b96f82202b18a1a24d (patch)
tree47a223cf373fdd71a98b8ef974effa47ca9895ef /tools/aapt2/java/JavaClassGenerator_test.cpp
parent67387af732f1b5e9b9bc270f03dbb1aedd5632cc (diff)
android.provider.Setting test utilities
Add a way to fake values for settings in tests. Since the content provider is cached in the NameValueCache, there is one static FakeSettingsProvider that passes through all values to the real SettingsProvider by default. Values that are required for the test can be acquired and locked for the duration of the test easily. Test: runtest systemui Change-Id: Ibc31ac8509fb31a22c522358a9c1bae6ec63553b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions