chore: Rename CamelCase namespaces to snake_case (#7933)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alex Kremer
2026-08-04 14:46:55 +01:00
committed by GitHub
parent b8451ffa32
commit 06488c1318
293 changed files with 2104 additions and 2083 deletions

View File

@@ -5,7 +5,7 @@
#include <xrpl/beast/unit_test/suite.h>
#include <xrpl/json/json_reader.h> // json::Reader
#include <xrpl/json/json_value.h>
#include <xrpl/protocol/ErrorCodes.h> // RPC::containsError
#include <xrpl/protocol/ErrorCodes.h> // rpc::containsError
#include <xrpl/protocol/STParsedJSON.h> // STParsedJSONObject
#include <stdexcept>
@@ -13,7 +13,7 @@
namespace xrpl {
namespace InnerObjectFormatsUnitTestDetail {
namespace inner_object_formats_unit_test_detail {
struct TestJSONTxt
{
@@ -149,7 +149,7 @@ static TestJSONTxt const kTestArray[] = {
};
} // namespace InnerObjectFormatsUnitTestDetail
} // namespace inner_object_formats_unit_test_detail
class InnerObjectFormatsParsedJSON_test : public beast::unit_test::Suite
{
@@ -157,7 +157,7 @@ public:
void
run() override
{
using namespace InnerObjectFormatsUnitTestDetail;
using namespace inner_object_formats_unit_test_detail;
// Instantiate a jtx::Env so debugLog writes are exercised.
test::jtx::Env const env(*this);
@@ -166,7 +166,7 @@ public:
{
json::Value req;
json::Reader().parse(test.txt, req);
if (RPC::containsError(req))
if (rpc::containsError(req))
{
Throw<std::runtime_error>(
"Internal InnerObjectFormatsParsedJSON error. Bad JSON.");