Searched refs:expectedSet (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/ |
D | PublishServiceDescTrackerTest.java | 91 Set<ServiceDescription> expectedSet = Collections.singleton( in testDefaultConfigMatch() local 95 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch() 97 expectedSet = new ArraySet<>(Arrays.asList( in testDefaultConfigMatch() 103 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch() 106 expectedSet = new ArraySet<>(Arrays.asList( in testDefaultConfigMatch() 113 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch() 115 expectedSet = Collections.singleton( in testDefaultConfigMatch() 119 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch() 121 expectedSet = Collections.singleton( in testDefaultConfigMatch() 127 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch() [all …]
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ProgramInfoCacheTest.java | 251 HashSet<RadioManager.ProgramInfo> expectedSet = new HashSet<>(); in verifyChunkListModified() local 253 expectedSet.add(programInfo); in verifyChunkListModified() 264 assertEquals(expectedSet, actualSet); in verifyChunkListModified() 277 HashSet<ProgramSelector.Identifier> expectedSet = new HashSet<>(); in verifyChunkListRemoved() local 279 expectedSet.add(identifier); in verifyChunkListRemoved() 290 assertEquals(expectedSet, actualSet); in verifyChunkListRemoved()
|
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 116 val expectedSet: HashSet<T> = HashSet(expected) in assertSameElements() constant 117 assertEquals(expectedSet.size, expected.size, "expected list contains duplicates") in assertSameElements() 120 assertEquals(expectedSet, actualSet) in assertSameElements()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 197 HashSet<?> expectedSet = new HashSet<>(expected); in assertListEqualsIgnoringOrder() local 198 assertEquals(expectedSet, actualSet); in assertListEqualsIgnoringOrder()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 669 final HashSet<String> expectedSet = Sets.newHashSet(expected); in assertDirContents() local 677 assertTrue("Unexpected actual file " + actualFile, expectedSet.contains(actualFile)); in assertDirContents()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 717 final ArraySet<String> expectedSet = new ArraySet<>(); in exactAlarmDenyListMaxSize() local 719 expectedSet.add("package1"); in exactAlarmDenyListMaxSize() 724 expectedSet.add("package" + i); in exactAlarmDenyListMaxSize() 727 assertEquals(MAX_EXACT_ALARM_DENY_LIST_SIZE, expectedSet.size()); in exactAlarmDenyListMaxSize() 729 assertEquals(expectedSet, mService.mConstants.EXACT_ALARM_DENY_LIST); in exactAlarmDenyListMaxSize()
|