mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
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.
29 lines
560 B
C++
29 lines
560 B
C++
#include <xrpl/beast/unit_test/suite.h>
|
|
|
|
#include <exception>
|
|
|
|
namespace xrpl {
|
|
namespace test {
|
|
|
|
struct DetectCrash_test : public beast::unit_test::suite
|
|
{
|
|
void
|
|
testDetectCrash()
|
|
{
|
|
testcase("Detect Crash");
|
|
// Kill the process. This is used to test that the multi-process
|
|
// unit test will correctly report the crash.
|
|
std::terminate();
|
|
}
|
|
void
|
|
run() override
|
|
{
|
|
testDetectCrash();
|
|
}
|
|
};
|
|
|
|
BEAST_DEFINE_TESTSUITE_MANUAL(DetectCrash, basics, beast);
|
|
|
|
} // namespace test
|
|
} // namespace xrpl
|