You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by kc...@apache.org on 2008/06/18 03:03:48 UTC
svn commit: r668936 -
/incubator/thrift/trunk/test/rb/core/test_backwards_compatability.rb
Author: kclark
Date: Tue Jun 17 18:03:48 2008
New Revision: 668936
URL: http://svn.apache.org/viewvc?rev=668936&view=rev
Log:
Remove test_remappings because it isn't comprehensive and it's triggering undesired warnings. This should be re-created as a spec.
Modified:
incubator/thrift/trunk/test/rb/core/test_backwards_compatability.rb
Modified: incubator/thrift/trunk/test/rb/core/test_backwards_compatability.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/test/rb/core/test_backwards_compatability.rb?rev=668936&r1=668935&r2=668936&view=diff
==============================================================================
--- incubator/thrift/trunk/test/rb/core/test_backwards_compatability.rb (original)
+++ incubator/thrift/trunk/test/rb/core/test_backwards_compatability.rb Tue Jun 17 18:03:48 2008
@@ -5,28 +5,8 @@
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
-