mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-30 10:30:22 +00:00
refactor: Enable clang-tidy readability-identifier-naming check (#6571)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace xrpl::test {
|
||||
|
||||
class BasicNetwork_test : public beast::unit_test::suite
|
||||
class BasicNetwork_test : public beast::unit_test::Suite
|
||||
{
|
||||
public:
|
||||
struct Peer
|
||||
@@ -19,7 +19,7 @@ public:
|
||||
Peer(Peer const&) = default;
|
||||
Peer(Peer&&) = default;
|
||||
|
||||
explicit Peer(int id_) : id(id_)
|
||||
explicit Peer(int id) : id(id)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -77,11 +77,11 @@ public:
|
||||
BEAST_EXPECT(!net.connect(&pv[0], &pv[1]));
|
||||
for (auto& peer : pv)
|
||||
peer.start(scheduler, net);
|
||||
BEAST_EXPECT(scheduler.step_for(0s));
|
||||
BEAST_EXPECT(scheduler.step_for(1s));
|
||||
BEAST_EXPECT(scheduler.stepFor(0s));
|
||||
BEAST_EXPECT(scheduler.stepFor(1s));
|
||||
BEAST_EXPECT(scheduler.step());
|
||||
BEAST_EXPECT(!scheduler.step());
|
||||
BEAST_EXPECT(!scheduler.step_for(1s));
|
||||
BEAST_EXPECT(!scheduler.stepFor(1s));
|
||||
net.send(&pv[0], &pv[1], [] {});
|
||||
net.send(&pv[1], &pv[0], [] {});
|
||||
BEAST_EXPECT(net.disconnect(&pv[0], &pv[1]));
|
||||
|
||||
Reference in New Issue
Block a user