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

Method test_append

c_glib/test/test-file-output-stream.rb:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 end
28
29 def test_append
30 tempfile = Tempfile.open("arrow-io-file-output-stream")
31 tempfile.write("Hello")
32 tempfile.close
33 file = Arrow::FileOutputStream.new(tempfile.path, true)
34 file.close
35 assert_equal("Hello", File.read(tempfile.path))
36 end
37 end
38end

Callers

nothing calls this directly

Calls 6

openMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45
newMethod · 0.45
pathMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected