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

Commit daeddacc authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android Build Coastguard Worker
Browse files

Add unit test for isSatelliteProvisionedForNonIpDatagram

Bug: 31157950
Test: atest
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5aae2dcc899bc0930525efb680d19e5350b69541)
Merged-In: I2c88a65f875da13a3432f979343daaa64d845d4c
Change-Id: I2c88a65f875da13a3432f979343daaa64d845d4c
parent 002697bb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ import static com.android.internal.telephony.subscription.SubscriptionDatabaseMa
import static com.google.common.truth.Truth.assertThat;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@@ -3434,4 +3435,8 @@ public class SubscriptionManagerServiceTest extends TelephonyTest {
        assertEquals(expectedPlmnList,
                mSubscriptionManagerServiceUT.getSatelliteEntitlementPlmnList(subId));
    }

    public void testIsSatelliteProvisionedForNonIpDatagram() {
        assertFalse(mSubscriptionManagerServiceUT.isSatelliteProvisionedForNonIpDatagram(-1));
    }
}