MCPcopy Create free account
hub / github.com/apache/arrow / test_reset

Method test_reset

c_glib/test/test-stream-decoder.rb:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 end
99
100 def test_reset
101 @decoder.consume_bytes(@buffer.data.to_s[0, 10])
102 @decoder.reset
103 @decoder.consume_bytes(@buffer.data)
104 assert_equal([
105 [:schema_decoded, @schema, @schema],
106 [:record_batch_decoded, @record_batch, nil],
107 [:eos],
108 ],
109 @listener.events)
110 end
111
112 def test_schema
113 assert_nil(@decoder.schema)

Callers

nothing calls this directly

Calls 3

to_sMethod · 0.45
dataMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected