Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccessibilityEventTest.java41 AccessibilityEvent newEvent = AccessibilityEvent.obtain(event); in shouldBeEqualToClonedEvent() local
42 assertThat(event.getEventType()).isEqualTo(newEvent.getEventType()); in shouldBeEqualToClonedEvent()
43 assertThat(event.isEnabled()).isEqualTo(newEvent.isEnabled()); in shouldBeEqualToClonedEvent()
44 assertThat(event.getContentDescription()).isEqualTo(newEvent.getContentDescription()); in shouldBeEqualToClonedEvent()
45 assertThat(event.getPackageName()).isEqualTo(newEvent.getPackageName()); in shouldBeEqualToClonedEvent()
46 assertThat(event.getClassName()).isEqualTo(newEvent.getClassName()); in shouldBeEqualToClonedEvent()
47 assertThat(event.getParcelableData()).isEqualTo(newEvent.getParcelableData()); in shouldBeEqualToClonedEvent()
49 newEvent.recycle(); in shouldBeEqualToClonedEvent()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyEmitterTest.java92 Event newEvent = iter2.next(); in _testEmitter() local
93 assertEquals(event.getClass().getName(), newEvent.getClass().getName()); in _testEmitter()
96 NodeEvent e2 = (NodeEvent) newEvent; in _testEmitter()
101 CollectionStartEvent e2 = (CollectionStartEvent) newEvent; in _testEmitter()
106 ScalarEvent e2 = (ScalarEvent) newEvent; in _testEmitter()
171 Event newEvent = newIter.next(); in testEmitterStyles() local
172 assertEquals(event.getClass(), newEvent.getClass()); in testEmitterStyles()
175 ((NodeEvent) newEvent).getAnchor()); in testEmitterStyles()
179 ((CollectionStartEvent) newEvent).getTag()); in testEmitterStyles()
183 ScalarEvent scalarNew = (ScalarEvent) newEvent; in testEmitterStyles()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccessibilityEventTest.java41 AccessibilityEvent newEvent = AccessibilityEvent.obtain(event); in shouldBeEqualToClonedEvent() local
42 assertThat(event.getEventType()).isEqualTo(newEvent.getEventType()); in shouldBeEqualToClonedEvent()
43 assertThat(event.isEnabled()).isEqualTo(newEvent.isEnabled()); in shouldBeEqualToClonedEvent()
45 .isEqualTo(nullOrString(newEvent.getContentDescription())); in shouldBeEqualToClonedEvent()
47 .isEqualTo(nullOrString(newEvent.getPackageName())); in shouldBeEqualToClonedEvent()
48 assertThat(nullOrString(event.getClassName())).isEqualTo(nullOrString(newEvent.getClassName())); in shouldBeEqualToClonedEvent()
49 assertThat(event.getParcelableData()).isEqualTo(newEvent.getParcelableData()); in shouldBeEqualToClonedEvent()
51 newEvent.recycle(); in shouldBeEqualToClonedEvent()
/external/skia/src/gpu/ganesh/mtl/
DGrMtlSemaphore.mm20 id<MTLEvent> event = [gpu->device() newEvent];