OSDN Git Service

Fix AppWindowTokenAnimationTests and add them to presubmit
authorVishnu Nair <vishnun@google.com>
Wed, 20 Feb 2019 22:38:50 +0000 (14:38 -0800)
committerVishnu Nair <vishnun@google.com>
Wed, 20 Feb 2019 23:02:10 +0000 (23:02 +0000)
commitf77d53d73b1d61e6a0231aa9024b0dd333657271
tree10917c8fff8753203586ed776b29574e48c8bcc2
parent1ca52f005a2de99fe28396784b03a61ef32b3099
Fix AppWindowTokenAnimationTests and add them to presubmit

Tests were failing because the SurfaceControl in TestAppWindowToken was null. Changed the
test class to not skip onParentChanged callback.

Test: atest AppWindowTokenAnimationTests
Bug: 124357362
Change-Id: I7b12b615c9ae5b57997a9a53aa50bff5962ab723
services/tests/wmtests/src/com/android/server/wm/AppWindowTokenAnimationTests.java
services/tests/wmtests/src/com/android/server/wm/WindowTestUtils.java
services/tests/wmtests/src/com/android/server/wm/WindowTestsBase.java