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

Method test_exception

test/rb/integration/TestClient.rb:359–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 end
358
359 def test_exception
360 p 'test_exception'
361 assert_raise Thrift::Test::Xception do
362 @client.testException('Xception')
363 end
364 begin
365 @client.testException('TException')
366 rescue => e
367 assert e.class.ancestors.include?(Thrift::Exception)
368 end
369 assert_nothing_raised do
370 @client.testException('test')
371 end
372 end
373
374 def test_multi_exception
375 p 'test_multi_exception'

Callers 1

make_thrift_callsFunction · 0.45

Calls 1

testExceptionMethod · 0.45

Tested by

no test coverage detected