summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAbodunrinwa Toki <toki@google.com>2018-11-26 17:37:59 +0000
committerAbodunrinwa Toki <toki@google.com>2018-11-27 12:06:06 +0000
commit6a211991f5a4dfdde441797cf1b10eca8b89b241 (patch)
treee573f2fc98526a56e14c729ea19e80c1aa2c5a24 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent96a62ff0a1a0ddac8c7c830a0739a5fb744c261a (diff)
Introduce FakeContextBuilder
This helps us build a fake context where we can configure things like what activity can handle an intent or whether no activity can handle an intent. The hope is that we can fake several aspects of the context used for testing here. If our configuration requirements become too complex in the future, we should probably consider creating more focused fake context builders. The immediate use case for this builder is for configuring what actions are returned by the text classifier as activities that can handle a specified text classifier query. Test: atest android.view.textclassifier.TextClassificationManagerTest Bug: 34780395 Change-Id: Ifd3d6cff928cc2f11b69206660b6d7c4791f1c0f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions