summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2019-03-22 20:58:00 +0800
committerCharles Chen <charlesccchen@google.com>2019-04-08 03:42:33 +0000
commit2cb5a0f0cc890d46bfaa85fbcfe829390ba77458 (patch)
treee686db50860d72ab200120b6bdce7a978af23bc2 /tools/aapt2/java/JavaClassGenerator.cpp
parent835f260d602a319e6670911ff3887f5c6247b33d (diff)
Fix TaskPositionerTests
In [1], we use getBounds() instead of getDimBounds(), which makes original mock useless. This failure was not found since we don't run it in presubmit. The first attempt is to try to use getBounds() instead of getDimBounds(). However, it makes tests flaky since we may mock Task in WindowTestBase#tearDown at the smae time, which lead to MockException. We use real Task and setBounds directly to prevent the flaky. We also fixed some coding conventions in TaskPositionerTests [1]: Id81d0b0a5f82be28fabed3ad22e713fc4fa7536d Fix: 128820963 Test: atest TaskPositionerTests Change-Id: Iaa50b74ccec19a399cfbfa45afa8136acb466055
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions