mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user