require 'thrift/thrift'
 
-class TestTException < Test::Unit::TestCase
+class TestThriftException < Test::Unit::TestCase
   def test_has_accessible_message
     msg = "hi there thrift"
     assert_equal msg, Thrift::Exception.new(msg).message
 
 require File.join(File.dirname(__FILE__), '../../test_helper')
 
-require 'thrift/transport/ttransport'
+require 'thrift/transport'
 
-class DummyTransport < TTransport
+class DummyTransport < Thrift::Transport
   def initialize(data)
     @data = data
   end
 end
 
 # TTransport is basically an abstract class, but isn't raising NotImplementedError
-class TestTTransport < Test::Unit::TestCase
+class TestThriftTransport < Test::Unit::TestCase
   def setup
-    @trans = TTransport.new
+    @trans = Thrift::Transport.new
   end
   
   def test_open?
     assert_nil @trans.flush
   end
 end
-
-class TestTTransportDeprecation < Test::Unit::TestCase
-  def setup
-    @trans = TTransport.new
-  end
-  
-  def test_open?
-    assert_nil @trans.open?
-  end
-    
-  def test_readAll
-    # Implements read
-    t = DummyTransport.new("hello")
-    assert_equal "hello", t.read_all(5)
-  end
-end
\ No newline at end of file