diff options
| author | 2024-01-18 08:44:52 +0000 | |
|---|---|---|
| committer | 2024-01-18 08:44:52 +0000 | |
| commit | 9eb3faabc391f69b21296ed245e1ce1c0b7ee04b (patch) | |
| tree | 79ae01383521b64a61ebd45d4eed49d0fd4cf67b /libs/input/SpriteController.cpp | |
| parent | fdbabfc434f18e9ae4218668abddad6ece3ce4a0 (diff) | |
Fix Mockito usage.
Using doReturn().when() is safer than when().thenReturn() for tests that
use multithreaded objects.
Bug: 236261941
Test: atest FrameworksMockingServicesTests:FlexibilityControllerTest
Change-Id: I1481e55082278ca2dc19033236fe4dfe84f3e46e
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions