diff options
author | Kevin Clark <kclark@apache.org> | 2008-06-18 00:59:56 +0000 |
---|---|---|
committer | Kevin Clark <kclark@apache.org> | 2008-06-18 00:59:56 +0000 |
commit | adfdf39dd3ba215c6d76ca1a0def587b19005d76 (patch) | |
tree | f9ca7be328f0ba8ece5993c7b834626a0affc533 /test/rb | |
parent | 0d45617ec2be9376bb83381d69cc09a49bb1d975 (diff) | |
download | thrift-adfdf39dd3ba215c6d76ca1a0def587b19005d76.tar.gz |
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
Diffstat (limited to 'test/rb')
-rw-r--r-- | test/rb/core/transport/test_ttransport.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/rb/core/transport/test_ttransport.rb b/test/rb/core/transport/test_ttransport.rb index bb876dccc..366389b53 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 |