MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / TCPSocketServerTest

Class TCPSocketServerTest

tests/integration/WireServerTest.cpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74};
75
76class TCPSocketServerTest : public SocketServerTest {
77protected:
78 std::unique_ptr<TCPSocketServer> server;
79
80 SocketServer* createListeningServer() override {
81 server.reset(new TCPSocketServer(&protocolHandler));
82 server->listen(0);
83 return server.get();
84 }
85
86 void destroyListeningServer() override {
87 server.reset();
88 }
89};
90
91TEST_F(TCPSocketServerTest, exitsOnFirstConnectionClosed) {
92 // given

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected