xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
tests
libxrpl
ledger
LedgerHashesEntry.cpp
1
#include <xrpl/ledger/entries/LedgerHashesEntry.h>
2
3
#include <xrpl/protocol/Indexes.h>
4
5
#include <gtest/gtest.h>
6
#include <ledger/EntryTestHelpers.h>
7
8
namespace
xrpl::test
{
9
10
TEST
(LedgerHashesEntryTests, constructors)
11
{
12
EntryTestEnv
e;
13
14
expectKeylet<LedgerHashesEntry>
(e,
keylet::skip
(),
"skip()"
);
15
}
16
17
}
// namespace xrpl::test
xrpl::test::EntryTestEnv
Scaffolding shared by the per-entry-type suites.
Definition
EntryTestHelpers.h:28
xrpl::keylet::skip
Keylet const & skip() noexcept
The index of the "short" skip list.
Definition
Indexes.cpp:232
xrpl::test
Definition
STLedgerEntry.h:21
xrpl::test::TEST
TEST(UnitsTest, types)
Definition
Units.cpp:16
xrpl::test::expectKeylet
void expectKeylet(EntryTestEnv &e, Keylet const &expected, std::string const &what, Args const &... args)
Assert that both flavors of Entry built from args resolve the ledger object that expected names.
Definition
EntryTestHelpers.h:96
Generated by
1.17.0