update mocks.h

master
moneroexamples 5 years ago
parent a6ba3e8d0c
commit 8a5f68e67d

@ -5,7 +5,7 @@
#include "../src/Account.h"
#include "mocks.h"
#include "JsonTx.h"
namespace
{

@ -6,8 +6,6 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "JsonTx.h"
namespace
{
@ -88,7 +86,7 @@ public:
uint64_t global_amount_index));
MOCK_CONST_METHOD1(get_tx_amount_output_indices,
std::vector<uint64_t>(uint64_t const& tx_id));
std::vector<uint64_t>(uint64_t tx_id));
MOCK_CONST_METHOD2(get_random_outs_for_amounts,
bool(COMMAND_RPC_GET_OUTPUT_HISTOGRAM::request const& req,
@ -99,7 +97,7 @@ public:
COMMAND_RPC_GET_OUTPUTS_BIN::response& res));
MOCK_CONST_METHOD1(get_dynamic_base_fee_estimate,
uint64_t(uint64_t const& grace_blocks));
uint64_t(uint64_t grace_blocks));
MOCK_CONST_METHOD2(get_mempool_txs,
bool(vector<tx_info>& tx_infos,

@ -6,6 +6,7 @@
#include "../src/UniversalIdentifier.hpp"
#include "mocks.h"
#include "JsonTx.h"
#define ADD_MOCKS(mcore) \
EXPECT_CALL(mcore, get_output_tx_and_index(_, _, _)) \

Loading…
Cancel
Save