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
Loading
Please register or sign in to comment