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

@@ -11,7 +11,7 @@
#include <string_view>
namespace ripple {
namespace xrpl {
namespace test {
struct Credentials_test : public beast::unit_test::suite
@@ -926,8 +926,7 @@ struct Credentials_test : public beast::unit_test::suite
testcase("deleteSLE fail, bad SLE.");
auto view = std::make_shared<ApplyViewImpl>(
env.current().get(), ApplyFlags::tapNONE);
auto ter =
ripple::credentials::deleteSLE(*view, {}, env.journal);
auto ter = xrpl::credentials::deleteSLE(*view, {}, env.journal);
BEAST_EXPECT(ter == tecNO_ENTRY);
}
}
@@ -1108,7 +1107,7 @@ struct Credentials_test : public beast::unit_test::suite
}
};
BEAST_DEFINE_TESTSUITE(Credentials, app, ripple);
BEAST_DEFINE_TESTSUITE(Credentials, app, xrpl);
} // namespace test
} // namespace ripple
} // namespace xrpl