OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expectedEvents
(Results
1 - 6
of
6
) sorted by null
/cts/tests/app/src/android/app/cts/
ActivityCallbacksTest.java
216
ArrayList<Pair<Source, Event>>
expectedEvents
= new ArrayList<>();
218
addNestedEvents(
expectedEvents
, ON_PRE_CREATE, ON_CREATE, ON_POST_CREATE);
219
addNestedEvents(
expectedEvents
, ON_PRE_START, ON_START, ON_POST_START);
220
addNestedEvents(
expectedEvents
, ON_PRE_RESUME, ON_RESUME, ON_POST_RESUME);
222
addNestedEvents(
expectedEvents
, ON_PRE_PAUSE, ON_PAUSE, ON_POST_PAUSE);
223
addNestedEvents(
expectedEvents
, ON_PRE_STOP, ON_STOP, ON_POST_STOP);
224
addNestedEvents(
expectedEvents
, ON_PRE_DESTROY, ON_DESTROY, ON_POST_DESTROY);
226
assertEquals(
expectedEvents
, actualEvents);
229
private void addNestedEvents(ArrayList<Pair<Source, Event>>
expectedEvents
,
231
expectedEvents
.add(new Pair<>(Source.APPLICATION_ACTIVITY_CALLBACK, preEvent))
[
all
...]
WallpaperManagerTest.java
424
final int
expectedEvents
= 5;
425
CountDownLatch latch = new CountDownLatch(
expectedEvents
);
/external/guava/guava-tests/test/com/google/common/eventbus/
EventBusTest.java
232
List<String>
expectedEvents
= Lists.newArrayList();
233
expectedEvents
.add(EVENT);
234
expectedEvents
.add(EVENT);
237
expectedEvents
, catcher1.getEvents());
246
expectedEvents
, catcher1.getEvents());
248
expectedEvents
, catcher2.getEvents());
260
expectedEvents
, catcher1.getEvents());
262
expectedEvents
, catcher2.getEvents());
282
List<String>
expectedEvents
= ImmutableList.of(EVENT);
285
expectedEvents
, catcher.getEvents())
[
all
...]
/cts/tests/tests/os/src/android/os/cts/
FileObserverTest.java
302
List<Integer>
expectedEvents
= new ArrayList<Integer>();
304
expectedEvents
.add(expected[i]);
307
String message = "Expected: " +
expectedEvents
+ " Actual: " + actualEvents;
315
List<Integer>
expectedEvents
= new ArrayList<Integer>();
317
expectedEvents
.add(expected[i]);
320
String message = "Expected to contain: " +
expectedEvents
+ " Actual: " + actualEvents;
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
CameraEvictionTest.java
226
String[]
expectedEvents
= new String[] {TestConstants.EVENT_CAMERA_UNAVAILABLE_STR,
230
assertOrderedEvents(actualEvents,
expectedEvents
, ignoredEvents);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
XmlResourceParserImplTest.java
436
List<String>
expectedEvents
= Arrays.asList(
491
assertThat(actualEvents).isEqualTo(
expectedEvents
);
Completed in 723 milliseconds