MCPcopy Create free account
hub / github.com/apache/qpid-proton-j / testFlowEvents

Method testFlowEvents

tests/python/proton_tests/engine.py:2364–2375  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2362 self.expect(Event.SESSION_FINAL, Event.CONNECTION_FINAL)
2363
2364 def testFlowEvents(self):
2365 snd, rcv = self.link("test-link")
2366 snd.session.connection.collect(self.collector)
2367 rcv.open()
2368 rcv.flow(10)
2369 self.pump()
2370 self.expect(Event.CONNECTION_INIT, Event.SESSION_INIT,
2371 Event.LINK_INIT, Event.LINK_REMOTE_OPEN, Event.LINK_FLOW)
2372 rcv.flow(10)
2373 self.pump()
2374 self.expect(Event.LINK_FLOW)
2375 return snd, rcv
2376
2377 def testDeliveryEvents(self):
2378 snd, rcv = self.link("test-link")

Callers 1

Calls 6

expectMethod · 0.80
collectMethod · 0.65
openMethod · 0.65
flowMethod · 0.65
linkMethod · 0.45
pumpMethod · 0.45

Tested by

no test coverage detected