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

Method test_new

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

Source from the content-addressed store, hash-verified

24 end
25
26 def test_new
27 input = Arrow::FileInputStream.new(@tempfile.path)
28 begin
29 buffer = input.read(5)
30 assert_equal("Hello", buffer.data.to_s)
31 ensure
32 input.close
33 end
34 end
35
36 def test_close
37 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