mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
LibTest: Expose new EXPECT_CRASH(..) macro for unit test assertions
Utilize the Crash type we imported into LibTest to support testing of crash scenarios when testing all other components.
This commit is contained in:
parent
7e28ecc305
commit
7f51754780
3 changed files with 22 additions and 6 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
|
||||
Crash(String test_type, Function<Crash::Failure()> crash_function);
|
||||
|
||||
void run(RunType run_type);
|
||||
bool run(RunType run_type = RunType::UsingChildProcess);
|
||||
|
||||
private:
|
||||
String m_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue