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

Commit 5f460936 authored by Karthick M J's avatar Karthick M J
Browse files

Handle CarrierRoamingSatelliteSessionStats instances

CarrierRoamingSatelliteSessionStats has sparse array of instances for
each subId held within it called sCarrierRoamingSatelliteSessionStats.
When an actual instance of CarrierRoamingSatelliteSessionStats is
created, the subsequent test cases wouldn't be able to mock
CarrierRoamingSatelliteSessionStats' internals, leading to unexpected
test failures. So, creating clean up instaces for
CarrierRoamingSatelliteSessionStats and then using the same before
all test methods of SatelliteControllerTest.

Bug: 433108101
Flag: EXEMPT bugfix
Test: atest
GsmInboundSmsHandlerTest.java#testNewSms_filterInvoked_noBroadcastsSent
SatelliteControllerTest.java#testSatellitePerPlmnConfigurationUpdate_ForCarrierWithBothAutoAndManualSatellite

Change-Id: If31c43c7d0f24d7d680aba08ab2710e8ce0aa265
parent 9cd8fc7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment