Add move-only handler tests

This commit is contained in:
Vinnie Falco
2018-02-28 15:04:54 -08:00
parent 5a53bd449a
commit dfc5a2ff67
9 changed files with 74 additions and 2 deletions
+9
View File
@@ -484,6 +484,14 @@ public:
"permessage-deflate");
}
void
testMoveOnly()
{
boost::asio::io_context ioc;
stream<test::stream> ws{ioc};
ws.async_handshake("", "", move_only_handler{});
}
void
run() override
{
@@ -491,6 +499,7 @@ public:
testExtRead();
testExtWrite();
testExtNegotiate();
testMoveOnly();
}
};