mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-25 22:25:55 +00:00
@@ -20,6 +20,7 @@
|
|||||||
#include "data/Types.hpp"
|
#include "data/Types.hpp"
|
||||||
#include "etl/impl/CursorFromAccountProvider.hpp"
|
#include "etl/impl/CursorFromAccountProvider.hpp"
|
||||||
#include "util/Fixtures.hpp"
|
#include "util/Fixtures.hpp"
|
||||||
|
#include "util/MockPrometheus.hpp"
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
@@ -48,7 +49,7 @@ std::vector<ripple::uint256> const ACCOUNTROOTS = {
|
|||||||
ripple::uint256{"A2AA4C212DC2CA2C49BF58805F7C63363BC981018A01AC9609A7CBAB2A02CEDF"},
|
ripple::uint256{"A2AA4C212DC2CA2C49BF58805F7C63363BC981018A01AC9609A7CBAB2A02CEDF"},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CursorFromAccountProviderTests : MockBackendTestNaggy {};
|
struct CursorFromAccountProviderTests : util::prometheus::WithPrometheus, MockBackendTestNaggy {};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
TEST_F(CursorFromAccountProviderTests, EnoughAccountRoots)
|
TEST_F(CursorFromAccountProviderTests, EnoughAccountRoots)
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
#include "data/Types.hpp"
|
#include "data/Types.hpp"
|
||||||
#include "etl/impl/CursorFromDiffProvider.hpp"
|
#include "etl/impl/CursorFromDiffProvider.hpp"
|
||||||
#include "util/Fixtures.hpp"
|
#include "util/Fixtures.hpp"
|
||||||
|
#include "util/MockPrometheus.hpp"
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
@@ -66,7 +67,7 @@ std::vector<data::LedgerObject> const DIFFS_FOR_SEQ_MINUS1 = {
|
|||||||
{.key = ripple::uint256{"DCC8759A35CB946511763AA5553A82AA25F20B901C98C9BB74D423BCFAFF5F90"}, .blob = Blob{'s'}},
|
{.key = ripple::uint256{"DCC8759A35CB946511763AA5553A82AA25F20B901C98C9BB74D423BCFAFF5F90"}, .blob = Blob{'s'}},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CursorFromDiffProviderTests : MockBackendTestNaggy {};
|
struct CursorFromDiffProviderTests : util::prometheus::WithPrometheus, MockBackendTestNaggy {};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
TEST_F(CursorFromDiffProviderTests, MultipleDiffs)
|
TEST_F(CursorFromDiffProviderTests, MultipleDiffs)
|
||||||
|
|||||||
Reference in New Issue
Block a user