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

Method test_strings

python/tests/proton_tests/interop.py:108–116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 assert self.data.next() is None
107
108 def test_strings(self):
109 self.decode_data_file("strings")
110 self.assert_next(Data.BINARY, b"abc\0defg")
111 self.assert_next(Data.STRING, "abcdefg")
112 self.assert_next(Data.SYMBOL, "abcdefg")
113 self.assert_next(Data.BINARY, b"")
114 self.assert_next(Data.STRING, "")
115 self.assert_next(Data.SYMBOL, "")
116 assert self.data.next() is None
117
118 def test_described(self):
119 self.decode_data_file("described")

Callers

nothing calls this directly

Calls 3

decode_data_fileMethod · 0.95
assert_nextMethod · 0.95
nextMethod · 0.45

Tested by

no test coverage detected