Files
rippled/src/test/basics/DetectCrash_test.cpp
Bart 1eb0fdac65 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.
2025-12-11 16:51:49 +00:00

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