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

Function testInheritedService

lib/cpp/test/processor/ProcessorTest.cpp:478–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476
477template <typename ServerTraits, typename TemplateTraits>
478void testInheritedService() {
479 typedef ServiceState<ServerTraits, ChildServiceTraits<TemplateTraits> > State;
480
481 // Start the server
482 std::shared_ptr<State> state(new State);
483 ServerThread serverThread(state, true);
484
485 testParentService(state);
486 testChildService(state);
487}
488
489/**
490 * Test to make sure that the TServerEventHandler and TProcessorEventHandler

Callers

nothing calls this directly

Calls 2

testParentServiceFunction · 0.85
testChildServiceFunction · 0.85

Tested by

no test coverage detected