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

Method test_read

c_glib/test/test-file-input-stream.rb:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 end
55
56 def test_read
57 input = Arrow::FileInputStream.new(@tempfile.path)
58 begin
59 buffer = input.read(5)
60 assert_equal("Hello", buffer.data.to_s)
61 ensure
62 input.close
63 end
64 end
65
66 def test_read_at
67 input = Arrow::FileInputStream.new(@tempfile.path)

Callers

nothing calls this directly

Calls 6

newMethod · 0.45
pathMethod · 0.45
readMethod · 0.45
to_sMethod · 0.45
dataMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected