Deterministic PowerManagerServiceTest
To make PowerManagerServiceTest deterministic, remove dependency on real time clock by mocking it out. Use TestLooper, which allows making Handler behaviour deterministic as well. Test: atest PowerManagerServiceTest Bug: 152193749 Change-Id: I4d9cd686ac672261bbb038249c0358e451b58710
Loading
Please register or sign in to comment