mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 00:50:45 +00:00
style: More clang-tidy identifier renaming (#7290)
This commit is contained in:
@@ -843,7 +843,7 @@ class ServerStatus_test : public beast::unit_test::Suite, public beast::test::En
|
||||
BEAST_EXPECT(resp.body().find("connectivity is working.") != std::string::npos);
|
||||
|
||||
// with ELB_SUPPORT, status still does not indicate a problem
|
||||
env.app().config().ELB_SUPPORT = true;
|
||||
env.app().config().elbSupport = true;
|
||||
|
||||
doRequest(
|
||||
yield,
|
||||
@@ -973,7 +973,7 @@ class ServerStatus_test : public beast::unit_test::Suite, public beast::test::En
|
||||
BEAST_EXPECT(resp.result() == boost::beast::http::status::ok);
|
||||
BEAST_EXPECT(resp.body().find("connectivity is working.") != std::string::npos);
|
||||
|
||||
env.app().config().ELB_SUPPORT = true;
|
||||
env.app().config().elbSupport = true;
|
||||
|
||||
doRequest(
|
||||
yield,
|
||||
@@ -1111,7 +1111,7 @@ class ServerStatus_test : public beast::unit_test::Suite, public beast::test::En
|
||||
|
||||
using namespace test::jtx;
|
||||
Env env{*this, envconfig([](std::unique_ptr<Config> cfg) {
|
||||
cfg->ELB_SUPPORT = true;
|
||||
cfg->elbSupport = true;
|
||||
return cfg;
|
||||
})};
|
||||
|
||||
|
||||
@@ -48,15 +48,15 @@ public:
|
||||
class TestThread
|
||||
{
|
||||
private:
|
||||
boost::asio::io_context io_context_;
|
||||
boost::asio::io_context ioContext_;
|
||||
std::optional<boost::asio::executor_work_guard<boost::asio::io_context::executor_type>>
|
||||
work_;
|
||||
std::thread thread_;
|
||||
|
||||
public:
|
||||
TestThread()
|
||||
: work_(std::in_place, boost::asio::make_work_guard(io_context_))
|
||||
, thread_([&]() { this->io_context_.run(); })
|
||||
: work_(std::in_place, boost::asio::make_work_guard(ioContext_))
|
||||
, thread_([&]() { this->ioContext_.run(); })
|
||||
{
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
boost::asio::io_context&
|
||||
getIoContext()
|
||||
{
|
||||
return io_context_;
|
||||
return ioContext_;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user