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

Method testTopLevelNext

python/tests/proton_tests/codec.py:40–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38class DataTest(Test):
39
40 def testTopLevelNext(self):
41 assert self.data.next() is None
42 self.data.put_null()
43 self.data.put_bool(False)
44 self.data.put_int(0)
45 assert self.data.next() is None
46 self.data.rewind()
47 assert self.data.next() == Data.NULL
48 assert self.data.next() == Data.BOOL
49 assert self.data.next() == Data.INT
50 assert self.data.next() is None
51
52 def testNestedNext(self):
53 assert self.data.next() is None

Callers

nothing calls this directly

Calls 5

put_nullMethod · 0.80
put_boolMethod · 0.80
put_intMethod · 0.80
nextMethod · 0.45
rewindMethod · 0.45

Tested by

no test coverage detected