mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-26 22:55:53 +00:00
Implement basic transformer tests (#689)
This commit is contained in:
@@ -20,20 +20,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <etl/Source.h>
|
||||
#include <util/FakeFetchResponse.h>
|
||||
|
||||
#include <boost/asio/spawn.hpp>
|
||||
#include <boost/json.hpp>
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include "org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h"
|
||||
#include <grpcpp/grpcpp.h>
|
||||
|
||||
#include <optional>
|
||||
|
||||
struct MockLoadBalancer
|
||||
{
|
||||
using RawLedgerObjectType = FakeLedgerObject;
|
||||
|
||||
MOCK_METHOD(void, loadInitialLedger, (std::uint32_t, bool), ());
|
||||
MOCK_METHOD(std::optional<org::xrpl::rpc::v1::GetLedgerResponse>, fetchLedger, (uint32_t, bool, bool), ());
|
||||
MOCK_METHOD(std::optional<FakeFetchResponse>, fetchLedger, (uint32_t, bool, bool), ());
|
||||
MOCK_METHOD(bool, shouldPropagateTxnStream, (Source*), (const));
|
||||
MOCK_METHOD(boost::json::value, toJson, (), (const));
|
||||
MOCK_METHOD(
|
||||
|
||||
Reference in New Issue
Block a user