Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
DParentalConsentHelperTest.java160 final List<Pair<String, Boolean>> expectedLaunches = new ArrayList<>(); in testLaunchNext() local
162 expectedLaunches.add( in testLaunchNext()
166 expectedLaunches.add(new Pair(FaceEnrollParentalConsent.class.getName(), grantFace)); in testLaunchNext()
178 for (int i = 0; i <= expectedLaunches.size(); i++) { in testLaunchNext()
179 final Pair<String, Boolean> expected = i > 0 ? expectedLaunches.get(i - 1) : null; in testLaunchNext()
185 assertThat(launchedNext).isEqualTo(i < expectedLaunches.size()); in testLaunchNext()
187 verify(mRootActivity, times(expectedLaunches.size())) in testLaunchNext()
192 expectedLaunches.stream().map(i -> i.first).collect(Collectors.toList())) in testLaunchNext()
194 if (!expectedLaunches.isEmpty()) { in testLaunchNext()