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

Method testLinkINIT_FINAL

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

Source from the content-addressed store, hash-verified

2513 self.expect(Event.CONNECTION_FINAL)
2514
2515 def testLinkINIT_FINAL(self):
2516 c = Connection()
2517 c.collect(self.collector)
2518 self.expect(Event.CONNECTION_INIT)
2519 s = c.session()
2520 self.expect(Event.SESSION_INIT)
2521 r = s.receiver("asdf")
2522 self.expect(Event.LINK_INIT)
2523 r.free()
2524 self.expect(Event.LINK_FINAL)
2525 c.free()
2526 self.expect(Event.SESSION_FINAL, Event.CONNECTION_FINAL)
2527
2528 def testFlowEvents(self):
2529 snd, rcv = self.link("test-link")

Callers

nothing calls this directly

Calls 7

collectMethod · 0.95
sessionMethod · 0.95
freeMethod · 0.95
ConnectionClass · 0.90
expectMethod · 0.45
receiverMethod · 0.45
freeMethod · 0.45

Tested by

no test coverage detected