mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 09:16:47 +00:00
refactor: Enable clang-tidy readability-identifier-naming check (#6571)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
namespace xrpl::test {
|
||||
|
||||
struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
struct Transaction_ordering_test : public beast::unit_test::Suite
|
||||
{
|
||||
void
|
||||
testCorrectOrder()
|
||||
@@ -34,8 +34,8 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
|
||||
auto const aliceSequence = env.seq(alice);
|
||||
|
||||
auto const tx1 = env.jt(noop(alice), seq(aliceSequence));
|
||||
auto const tx2 = env.jt(noop(alice), seq(aliceSequence + 1), last_ledger_seq(7));
|
||||
auto const tx1 = env.jt(noop(alice), Seq(aliceSequence));
|
||||
auto const tx2 = env.jt(noop(alice), Seq(aliceSequence + 1), LastLedgerSeq(7));
|
||||
|
||||
env(tx1);
|
||||
env.close();
|
||||
@@ -73,10 +73,10 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
|
||||
auto const aliceSequence = env.seq(alice);
|
||||
|
||||
auto const tx1 = env.jt(noop(alice), seq(aliceSequence));
|
||||
auto const tx2 = env.jt(noop(alice), seq(aliceSequence + 1), last_ledger_seq(7));
|
||||
auto const tx1 = env.jt(noop(alice), Seq(aliceSequence));
|
||||
auto const tx2 = env.jt(noop(alice), Seq(aliceSequence + 1), LastLedgerSeq(7));
|
||||
|
||||
env(tx2, ter(terPRE_SEQ));
|
||||
env(tx2, Ter(terPRE_SEQ));
|
||||
BEAST_EXPECT(env.seq(alice) == aliceSequence);
|
||||
env(tx1);
|
||||
env.app().getJobQueue().rendezvous();
|
||||
@@ -116,12 +116,12 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
tx.reserve(kSIZE);
|
||||
for (auto i = 0; i < kSIZE; ++i)
|
||||
{
|
||||
tx.emplace_back(env.jt(noop(alice), seq(aliceSequence + i), last_ledger_seq(7)));
|
||||
tx.emplace_back(env.jt(noop(alice), Seq(aliceSequence + i), LastLedgerSeq(7)));
|
||||
}
|
||||
|
||||
for (auto i = 1; i < kSIZE; ++i)
|
||||
{
|
||||
env(tx[i], ter(terPRE_SEQ));
|
||||
env(tx[i], Ter(terPRE_SEQ));
|
||||
BEAST_EXPECT(env.seq(alice) == aliceSequence);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user