Author: kclark
Date: Tue Jun 17 17:59:56 2008
New Revision: 668922
URL: http://svn.apache.org/viewvc?rev=668922&view=rev
Log:
Clean up the last few deprecation warnings in the tests
Modified:
incubator/thrift/trunk/test/rb/core/transport/test_ttransport.rb
Modified: incubator/thrift/trunk/test/rb/core/transport/test_ttransport.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/test/rb/core/transport/test_ttransport.rb?rev=668922&r1=668921&r2=668922&view=diff
==============================================================================
--- incubator/thrift/trunk/test/rb/core/transport/test_ttransport.rb (original)
+++ incubator/thrift/trunk/test/rb/core/transport/test_ttransport.rb Tue Jun 17
17:59:56 2008
@@ -18,8 +18,8 @@
@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 @@
# 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 @@
@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