MCPcopy Create free account
hub / github.com/apache/thrift / test_multi_exception

Method test_multi_exception

test/rb/integration/TestClient.rb:374–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 end
373
374 def test_multi_exception
375 p 'test_multi_exception'
376 assert_raise Thrift::Test::Xception do
377 @client.testMultiException("Xception", "test 1")
378 end
379 assert_raise Thrift::Test::Xception2 do
380 @client.testMultiException("Xception2", "test 2")
381 end
382 assert_equal( @client.testMultiException("Success", "test 3").string_thing, "test 3")
383 end
384
385 def test_oneway
386 p 'test_oneway'

Callers 1

make_thrift_callsFunction · 0.80

Calls 1

testMultiExceptionMethod · 0.45

Tested by

no test coverage detected