Skip to content
Commit 678aa417 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reset factory of TaskPositioner in test

Depending on the execution order of test methods, after executing
TaskPositionerTests#testOverrideFactory, the next test method in
TaskPositioningControllerTests may be failed because the test
static factory returns null.

Clear the factory so it will use default implementation that returns
non-null TaskPositioner.

Bug: 254268165
Test: atest TaskPositionerTests TaskPositioningControllerTests
Change-Id: I6c9abb60ce6d1a8631ad07b63d6e0d04c2f76b39
parent 58946d06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment