mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user