Home
last modified time | relevance | path

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

/external/python/pyyaml/tests/lib/
Dtest_structure.py62 def _compare_events(events1, events2, full=False): argument
63 assert len(events1) == len(events2), (len(events1), len(events2))
64 for event1, event2 in zip(events1, events2):
76 events2 = None
81 events2 = list(yaml.canonical_parse(file))
82 _compare_events(events1, events2)
88 pprint.pprint(events2)
94 events2 = None
99 events2 = list(yaml.canonical_parse(file))
100 _compare_events(events1, events2, full=True)
[all …]
Dtest_emitter.py4 def _compare_events(events1, events2): argument
5 assert len(events1) == len(events2), (events1, events2)
6 for event1, event2 in zip(events1, events2):
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java49 private void compareEvents(List<Event> events1, List<Event> events2, boolean full) { in compareEvents() argument
50 assertEquals(events1.size(), events2.size()); in compareEvents()
52 Iterator<Event> iter2 = events2.iterator(); in compareEvents()
93 List<Event> events2 = canonicalParse(new FileInputStream(canonical)); in testParser() local
94 assertFalse(events2.isEmpty()); in testParser()
95 compareEvents(events1, events2, false); in testParser()
113 List<Event> events2 = canonicalParse(new FileInputStream(file)); in testParserOnCanonical() local
114 assertFalse(events2.isEmpty()); in testParserOnCanonical()
115 compareEvents(events1, events2, true); in testParserOnCanonical()
169 List<Node> events2 = canonical_compose_all(input2); in testComposer() local
[all …]
/external/webrtc/logging/rtc_event_log/
Drtc_event_processor_unittest.cc85 std::vector<LoggedStartEvent> events2(CreateEventList({3, 5, 6, 10})); in TEST() local
88 processor.AddEvents(events2, f); in TEST()
103 std::vector<LoggedStartEvent> events2(CreateEventList({1, 3, 4, 4})); in TEST() local
106 processor.AddEvents(events2, f); in TEST()
150 std::vector<LoggedStopEvent> events2{LoggedStopEvent(Timestamp::Millis(1))}; in TEST() local
153 processor.AddEvents(events2, f2); in TEST()
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeFlowStylesTest.java59 List<Event> events2 = dumper2.serialize(node2); in testLoadBeanWithBlockFlow() local
60 assertEquals(events2.size(), events1.size()); in testLoadBeanWithBlockFlow()
62 for (Event etalonEvent : events2) { in testLoadBeanWithBlockFlow()
/external/python/cpython2/Lib/test/
Dtest_epoll.py135 events2 = ep2.poll(0.9, 4)
137 self.assertEqual(len(events2), 2)
/external/python/cpython3/Lib/test/
Dtest_epoll.py151 events2 = ep2.poll(0.9, 4)
153 self.assertEqual(len(events2), 2)
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java1542 GnssMeasurementsEvent events2 = new GnssMeasurementsEvent.Builder().build(); in testGnssMeasurementsCallback() local
1554 shadowLocationManager.simulateGnssMeasurementsEvent(events2); in testGnssMeasurementsCallback()
1555 inOrder1.verify(listener1).onGnssMeasurementsReceived(events2); in testGnssMeasurementsCallback()
1556 inOrder2.verify(listener2, never()).onGnssMeasurementsReceived(events2); in testGnssMeasurementsCallback()
1578 List<GnssAntennaInfo> events2 = in testGnssAntennaInfoListener() local
1593 shadowLocationManager.simulateGnssAntennaInfo(events2); in testGnssAntennaInfoListener()
1594 inOrder1.verify(listener1).onGnssAntennaInfoReceived(events2); in testGnssAntennaInfoListener()
1595 inOrder2.verify(listener2, never()).onGnssAntennaInfoReceived(events2); in testGnssAntennaInfoListener()
/external/cronet/base/profiler/
Dstack_sampling_profiler_unittest.cc1176 UnwindScenario::SampleEvents events2; in PROFILER_TEST_F() local
1178 BindLambdaForTesting([&]() { scenario2.Execute(&events2); })); in PROFILER_TEST_F()
1180 events2.ready_for_sample.Wait(); in PROFILER_TEST_F()
1234 events2.sample_finished.Signal(); in PROFILER_TEST_F()
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter_test.py729 events2 = glob.glob(os.path.join(dir2, "event*"))
730 self.assertTrue(events2)