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

Method test_create

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

Source from the content-addressed store, hash-verified

18class TestFileOutputStream < Test::Unit::TestCase
19 sub_test_case(".new") do
20 def test_create
21 tempfile = Tempfile.open("arrow-io-file-output-stream")
22 tempfile.write("Hello")
23 tempfile.close
24 file = Arrow::FileOutputStream.new(tempfile.path, false)
25 file.close
26 assert_equal("", File.read(tempfile.path))
27 end
28
29 def test_append
30 tempfile = Tempfile.open("arrow-io-file-output-stream")

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