summaryrefslogtreecommitdiff
path: root/test/rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rb')
-rw-r--r--test/rb/core/test_backwards_compatability.rb22
1 files changed, 1 insertions, 21 deletions
diff --git a/test/rb/core/test_backwards_compatability.rb b/test/rb/core/test_backwards_compatability.rb
index a826f2026..c6747524c 100644
--- a/test/rb/core/test_backwards_compatability.rb
+++ b/test/rb/core/test_backwards_compatability.rb
@@ -5,28 +5,8 @@ require 'thrift/thrift'
class TestTException < Test::Unit::TestCase
def test_has_accessible_message
msg = "hi there thrift"
- assert_equal msg, TException.new(msg).message
+ assert_equal msg, Thrift::Exception.new(msg).message
end
end
-class TestConstRemapping < Test::Unit::TestCase
- def test_remappings
- maps = {
- TException => Thrift::Exception,
- TApplicationException => Thrift::ApplicationException,
- TType => Thrift::Types,
- TMessageType => Thrift::MessageTypes,
- TProcessor => Thrift::Processor,
- ThriftClient => Thrift::Client,
- ThriftStruct => Thrift::Struct,
- TProtocol => Thrift::Protocol,
- TProtocolException => Thrift::ProtocolException
- }
-
- maps.each do |k, v|
- assert_equal k, v
- end
- end
-end
-