xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
tests
libxrpl
ledger
FeeSettingsEntry.cpp
1
#include <xrpl/ledger/entries/FeeSettingsEntry.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
(FeeSettingsEntryTests, constructors)
11
{
12
EntryTestEnv
e;
13
14
expectKeylet<FeeSettingsEntry>
(e,
keylet::feeSettings
(),
"feeSettings()"
);
15
}
16
17
}
// namespace xrpl::test
xrpl::test::EntryTestEnv
Scaffolding shared by the per-entry-type suites.
Definition
EntryTestHelpers.h:28
xrpl::keylet::feeSettings
Keylet const & feeSettings() noexcept
The (fixed) index of the object containing the ledger fees.
Definition
Indexes.cpp:255
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