refactor: Rename ripple namespace to xrpl (#5982)

This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
This commit is contained in:
Bart
2025-12-11 11:51:49 -05:00
committed by GitHub
parent 496efb71ca
commit 1eb0fdac65
1261 changed files with 4220 additions and 4235 deletions

View File

@@ -9,7 +9,7 @@
#include <limits>
#include <random>
namespace ripple::test {
namespace xrpl::test {
// NOTE: there should be no need for this function;
// `std::cout << some_duration` should just work if built with a compliant
@@ -82,7 +82,7 @@ class Handler_test : public beast::unit_test::suite
std::ranlux48 prng(dev());
std::vector<char const*> names =
test::jtx::make_vector(ripple::RPC::getHandlerNames());
test::jtx::make_vector(xrpl::RPC::getHandlerNames());
std::uniform_int_distribution<std::size_t> distr{0, names.size() - 1};
@@ -109,6 +109,6 @@ public:
}
};
BEAST_DEFINE_TESTSUITE_MANUAL(Handler, rpc, ripple);
BEAST_DEFINE_TESTSUITE_MANUAL(Handler, rpc, xrpl);
} // namespace ripple::test
} // namespace xrpl::test