rippled
Loading...
Searching...
No Matches
DetectCrash_test.cpp
1#include <xrpl/beast/unit_test/suite.h>
2
3#include <exception>
4
5namespace ripple {
6namespace test {
7
9{
10 void
12 {
13 testcase("Detect Crash");
14 // Kill the process. This is used to test that the multi-process
15 // unit test will correctly report the crash.
17 }
18 void
19 run() override
20 {
22 }
23};
24
25BEAST_DEFINE_TESTSUITE_MANUAL(DetectCrash, basics, beast);
26
27} // namespace test
28} // namespace ripple
A testsuite class.
Definition suite.h:52
testcase_t testcase
Memberspace for declaring test cases.
Definition suite.h:152
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
void run() override
Runs the suite.
T terminate(T... args)