Searched refs:list2 (Results 1 – 2 of 2) sorted by relevance
98 List<RecentLocationApps.Request> list2 = new ArrayList<>(list1); in refreshUi_newRecentRequests_listIsUpdated() local99 list2.add(mock(RecentLocationApps.Request.class)); in refreshUi_newRecentRequests_listIsUpdated()104 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list2); in refreshUi_newRecentRequests_listIsUpdated()107 assertThat(mScreen.getPreferenceCount()).isEqualTo(list2.size()); in refreshUi_newRecentRequests_listIsUpdated()
641 List<String> list2 = Arrays.asList("foo"); in testAll() local646 assertFalse(InitialConfiguration.all(list2, (x) -> false)); in testAll()648 assertTrue(InitialConfiguration.all(list2, (x) -> x.charAt(0) == 'f')); in testAll()655 List<String> list2 = Arrays.asList("foo"); in testAny() local660 assertTrue(InitialConfiguration.any(list2, (x) -> true)); in testAny()661 assertTrue(InitialConfiguration.any(list2, (x) -> x.charAt(0) == 'f')); in testAny()669 List<String> list2 = Arrays.asList("foo"); in testFindAll() local675 assertEquals(list2, IpClient.findAll(list3, (x) -> x.charAt(0) == 'f')); in testFindAll()