commit | daeddacc9b3013ca3966abc6d3bc8098ee3f9be0 | [log] [tgz] |
---|---|---|
author | Aishwarya Mallampati <amallampati@google.com> | Mon Jan 06 23:35:28 2025 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jan 07 17:29:30 2025 -0800 |
tree | 896f3924edcf95047446bf4ca77675ef944327c5 | |
parent | 002697bb09a244462214855daead4d2398b4f895 [diff] |
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
diff --git a/tests/telephonytests/src/com/android/internal/telephony/subscription/SubscriptionManagerServiceTest.java b/tests/telephonytests/src/com/android/internal/telephony/subscription/SubscriptionManagerServiceTest.java index 66b2eb8..fa72021 100644 --- a/tests/telephonytests/src/com/android/internal/telephony/subscription/SubscriptionManagerServiceTest.java +++ b/tests/telephonytests/src/com/android/internal/telephony/subscription/SubscriptionManagerServiceTest.java
@@ -52,6 +52,7 @@ 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 @@ assertEquals(expectedPlmnList, mSubscriptionManagerServiceUT.getSatelliteEntitlementPlmnList(subId)); } + + public void testIsSatelliteProvisionedForNonIpDatagram() { + assertFalse(mSubscriptionManagerServiceUT.isSatelliteProvisionedForNonIpDatagram(-1)); + } }