summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2017-06-06 15:44:03 -0700
committerRoozbeh Pournader <roozbeh@google.com>2017-06-06 15:49:42 -0700
commitde0353dbc70e4e95d2892609cbd26904fbacd20a (patch)
tree790d1847460364c4d31b73cee9aa466d68d9f0b8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta3112ceedc146005779dba2825af5484d55c8827 (diff)
Replace mockito with a mock class in DynamicLayoutTest
Previously, a mocked object was used incorrectly in the test. It was attached twice as a span, which would result in the second identical span causing the first span to get removed. Now we use two different instances of a mock class, to make sure we are attaching different spans. Fixes: 62217995 Test: adb shell am instrument -w -e package android.text com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Change-Id: Ib9f7a467410d28280d77a1023e0fc328c652e2af
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions