From adfdf39dd3ba215c6d76ca1a0def587b19005d76 Mon Sep 17 00:00:00 2001 From: Kevin Clark Date: Wed, 18 Jun 2008 00:59:56 +0000 Subject: [PATCH] Clean up the last few deprecation warnings in the tests git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668922 13f79535-47bb-0310-9956-ffa450edef68 --- test/rb/core/transport/test_ttransport.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/rb/core/transport/test_ttransport.rb b/test/rb/core/transport/test_ttransport.rb index bb876dcc..366389b5 100644 --- a/test/rb/core/transport/test_ttransport.rb +++ b/test/rb/core/transport/test_ttransport.rb @@ -18,8 +18,8 @@ class TestTTransport < Test::Unit::TestCase @trans = TTransport.new end - def test_is_open? - assert_nil @trans.is_open? + def test_open? + assert_nil @trans.open? end def test_open @@ -37,12 +37,12 @@ class TestTTransport < Test::Unit::TestCase # TODO: # This doesn't necessarily test he right thing. # It _looks_ like read isn't guarenteed to return the length - # you ask for and readAll is. This means our test needs to check + # you ask for and read_all is. This means our test needs to check # for blocking. -- Kevin Clark 3/27/08 def test_read_all # Implements read t = DummyTransport.new("hello") - assert_equal "hello", t.readAll(5) + assert_equal "hello", t.read_all(5) end def test_write @@ -59,13 +59,13 @@ class TestTTransportDeprecation < Test::Unit::TestCase @trans = TTransport.new end - def test_isOpen - assert_nil @trans.isOpen + def test_open? + assert_nil @trans.open? end def test_readAll # Implements read t = DummyTransport.new("hello") - assert_equal "hello", t.readAll(5) + assert_equal "hello", t.read_all(5) end end \ No newline at end of file -- 2.17.1