Repository: arrow Updated Branches: refs/heads/master cdf7db910 -> d53842691
ARROW-1228: [GLib] Fix test file name The test file is for Arrow::BufferOutputStream. So test file name should be the same. Author: Kouhei Sutou <k...@clear-code.com> Closes #857 from kou/glib-test-fix-file-name and squashes the following commits: 9225e75 [Kouhei Sutou] [GLib] Fix test file name Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/d5384269 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/d5384269 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/d5384269 Branch: refs/heads/master Commit: d538426918939efd96f67472a9d66f599d6c6692 Parents: cdf7db9 Author: Kouhei Sutou <k...@clear-code.com> Authored: Mon Jul 17 14:31:31 2017 +0200 Committer: Uwe L. Korn <uw...@xhochy.com> Committed: Mon Jul 17 14:31:31 2017 +0200 ---------------------------------------------------------------------- c_glib/test/test-buffer-output-file.rb | 26 -------------------------- c_glib/test/test-buffer-output-stream.rb | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/d5384269/c_glib/test/test-buffer-output-file.rb ---------------------------------------------------------------------- diff --git a/c_glib/test/test-buffer-output-file.rb b/c_glib/test/test-buffer-output-file.rb deleted file mode 100644 index 1b7fae9..0000000 --- a/c_glib/test/test-buffer-output-file.rb +++ /dev/null @@ -1,26 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -class TestBufferOutputStream < Test::Unit::TestCase - def test_new - buffer = Arrow::PoolBuffer.new - output_stream = Arrow::BufferOutputStream.new(buffer) - output_stream.write("Hello") - output_stream.close - assert_equal("Hello", buffer.data.to_s) - end -end http://git-wip-us.apache.org/repos/asf/arrow/blob/d5384269/c_glib/test/test-buffer-output-stream.rb ---------------------------------------------------------------------- diff --git a/c_glib/test/test-buffer-output-stream.rb b/c_glib/test/test-buffer-output-stream.rb new file mode 100644 index 0000000..1b7fae9 --- /dev/null +++ b/c_glib/test/test-buffer-output-stream.rb @@ -0,0 +1,26 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +class TestBufferOutputStream < Test::Unit::TestCase + def test_new + buffer = Arrow::PoolBuffer.new + output_stream = Arrow::BufferOutputStream.new(buffer) + output_stream.write("Hello") + output_stream.close + assert_equal("Hello", buffer.data.to_s) + end +end