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

Function BOOST_AUTO_TEST_CASE

lib/cpp/test/TPipeInterruptTest.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41// once pipes implement interruptChildren
42
43BOOST_AUTO_TEST_CASE(test_interrupt_before_accept) {
44 TPipeServer pipe1("TPipeInterruptTest");
45 pipe1.listen();
46 pipe1.interrupt();
47 BOOST_CHECK_THROW(pipe1.accept(), TTransportException);
48}
49
50static void acceptWorker(TPipeServer *pipe) {
51 try

Callers

nothing calls this directly

Calls 7

acceptMethod · 0.65
bindFunction · 0.50
listenMethod · 0.45
interruptMethod · 0.45
setConnTimeoutMethod · 0.45
openMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected