Implement nextgen random handler and tests (#576)

Fixes #575
This commit is contained in:
Alex Kremer
2023-04-04 15:16:02 +01:00
committed by GitHub
parent 3320125d8f
commit 5d06a79f13
5 changed files with 148 additions and 9 deletions

View File

@@ -23,12 +23,12 @@
using namespace RPCng;
class RPCHandlerTest : public NoLoggerFixture
class RPCPingHandlerTest : public NoLoggerFixture
{
};
// example handler tests
TEST_F(RPCHandlerTest, Ping)
TEST_F(RPCPingHandlerTest, Default)
{
auto const handler = AnyHandler{PingHandler{}};
auto const output = handler.process(boost::json::parse(R"({})"));