Home
last modified time | relevance | path

Searched refs:expectedStrings (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java138 Set<String> expectedStrings = new HashSet<>(); in testReadNotificationsWithPkgFilter() local
145 expectedStrings.add(n.getPackage()); in testReadNotificationsWithPkgFilter()
146 expectedStrings.add(n.getChannelName()); in testReadNotificationsWithPkgFilter()
147 expectedStrings.add(n.getChannelId()); in testReadNotificationsWithPkgFilter()
149 expectedStrings.add(n.getConversationId()); in testReadNotificationsWithPkgFilter()
173 .containsExactlyElementsIn(expectedStrings); in testReadNotificationsWithPkgFilter()
182 Set<String> expectedStrings = new HashSet<>(); in testReadNotificationsWithNumberFilter() local
187 expectedStrings.add(n.getPackage()); in testReadNotificationsWithNumberFilter()
188 expectedStrings.add(n.getChannelName()); in testReadNotificationsWithNumberFilter()
189 expectedStrings.add(n.getChannelId()); in testReadNotificationsWithNumberFilter()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java159 List<String> expectedStrings = new ArrayList<>(); in testPoolStringsFromNotifications() local
162 expectedStrings.add(n.getPackage()); in testPoolStringsFromNotifications()
163 expectedStrings.add(n.getChannelName()); in testPoolStringsFromNotifications()
164 expectedStrings.add(n.getChannelId()); in testPoolStringsFromNotifications()
166 expectedStrings.add(n.getConversationId()); in testPoolStringsFromNotifications()
173 assertThat(history.getPooledStringsToWrite().length).isEqualTo(expectedStrings.size()); in testPoolStringsFromNotifications()
176 assertThat(expectedStrings).contains(actual); in testPoolStringsFromNotifications()
189 List<String> expectedStrings = new ArrayList<>(); in testAddPooledStrings() local
192 expectedStrings.add(n.getPackage()); in testAddPooledStrings()
193 expectedStrings.add(n.getChannelName()); in testAddPooledStrings()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java230 private void stringSplitterTestHelper(String string, String[] expectedStrings) { in stringSplitterTestHelper() argument
237 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{})); in stringSplitterTestHelper()