Update doxygen comments (#818)

Fixes #421
This commit is contained in:
Alex Kremer
2023-08-11 21:32:32 +01:00
committed by GitHub
parent c20b14494a
commit 547cb340bd
206 changed files with 3004 additions and 1937 deletions

View File

@@ -24,10 +24,10 @@
#include <gmock/gmock.h>
struct MockHandlerProvider : public RPC::HandlerProvider
struct MockHandlerProvider : public rpc::HandlerProvider
{
public:
MOCK_METHOD(bool, contains, (std::string const&), (const, override));
MOCK_METHOD(std::optional<RPC::AnyHandler>, getHandler, (std::string const&), (const, override));
MOCK_METHOD(std::optional<rpc::AnyHandler>, getHandler, (std::string const&), (const, override));
MOCK_METHOD(bool, isClioOnly, (std::string const&), (const, override));
};

View File

@@ -54,7 +54,7 @@ struct MockAsyncRPCEngine
MOCK_METHOD(void, notifyTooBusy, (), ());
MOCK_METHOD(void, notifyUnknownCommand, (), ());
MOCK_METHOD(void, notifyInternalError, (), ());
MOCK_METHOD(RPC::Result, buildResponse, (web::Context const&), ());
MOCK_METHOD(rpc::Result, buildResponse, (web::Context const&), ());
};
struct MockRPCEngine
@@ -69,5 +69,5 @@ struct MockRPCEngine
MOCK_METHOD(void, notifyTooBusy, (), ());
MOCK_METHOD(void, notifyUnknownCommand, (), ());
MOCK_METHOD(void, notifyInternalError, (), ());
MOCK_METHOD(RPC::Result, buildResponse, (web::Context const&), ());
MOCK_METHOD(rpc::Result, buildResponse, (web::Context const&), ());
};

View File

@@ -43,7 +43,7 @@ binaryStringToUint256(std::string const& bin)
std::string
ledgerInfoToBinaryString(ripple::LedgerInfo const& info)
{
auto const blob = RPC::ledgerInfoToBlob(info, true);
auto const blob = rpc::ledgerInfoToBlob(info, true);
std::string strBlob;
for (auto c : blob)
strBlob += c;