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

Method test_open_input_stream

c_glib/test/file-system-tests.rb:363–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 end
362
363 def test_open_input_stream
364 mkpath("AB")
365 create_file("AB/abc", "some data")
366
367 stream = @fs.open_input_stream("AB/abc")
368 bytes = stream.read_bytes(4)
369 assert_equal("some",
370 bytes.to_s)
371 stream.close
372 end
373
374 def test_open_input_file
375 create_file("ab", "some data")

Callers

nothing calls this directly

Calls 4

open_input_streamMethod · 0.45
read_bytesMethod · 0.45
to_sMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected