Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c54ef3c authored by Neil Fuller's avatar Neil Fuller
Browse files

Fix tests after mid-air collision

One commit (96ccee36) meant that a new method is called
during tests.
Another commit (37df60b0) meant that unaccounted-for
methods cause errors.

Both changes were tested independently, but together
they cause a test break.

Test can be run with:
atest FrameworksTelephonyTests:NitzStateMachineTest

Bug: 63743683
Test: See above
Change-Id: Ie53510402ee56c56e90095dc540a1c59f14e62be
parent 846c09d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ public class NitzStateMachineTest extends TelephonyTest {
        verify(mDeviceState, atLeast(0)).getIgnoreNitz();
        verify(mDeviceState, atLeast(0)).getIgnoreNitzForTests();
        verify(mDeviceState, atLeast(0)).getNitzUpdateDiffMillis();
        verify(mDeviceState, atLeast(0)).getNitzUpdateSpacingMillis();
        verify(mDeviceState, atLeast(0)).elapsedRealtime();
        verify(mDeviceState, atLeast(0)).getNetworkCountryIsoForPhone();
        verifyNoMoreInteractions(mDeviceState);