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

@@ -19,7 +19,7 @@ using source_location = std::experimental::source_location;
#include <source_location>
using std::source_location;
#endif
namespace ripple {
namespace xrpl {
namespace test {
@@ -1775,8 +1775,8 @@ class LedgerEntry_test : public beast::unit_test::suite
testInvalidOracleLedgerEntry()
{
testcase("Invalid Oracle Ledger Entry");
using namespace ripple::test::jtx;
using namespace ripple::test::jtx::oracle;
using namespace xrpl::test::jtx;
using namespace xrpl::test::jtx::oracle;
Env env(*this);
Account const owner("owner");
@@ -1802,8 +1802,8 @@ class LedgerEntry_test : public beast::unit_test::suite
testOracleLedgerEntry()
{
testcase("Oracle Ledger Entry");
using namespace ripple::test::jtx;
using namespace ripple::test::jtx::oracle;
using namespace xrpl::test::jtx;
using namespace xrpl::test::jtx::oracle;
Env env(*this);
auto const baseFee =
@@ -2368,8 +2368,8 @@ public:
}
};
BEAST_DEFINE_TESTSUITE(LedgerEntry, rpc, ripple);
BEAST_DEFINE_TESTSUITE(LedgerEntry_XChain, rpc, ripple);
BEAST_DEFINE_TESTSUITE(LedgerEntry, rpc, xrpl);
BEAST_DEFINE_TESTSUITE(LedgerEntry_XChain, rpc, xrpl);
} // namespace test
} // namespace ripple
} // namespace xrpl