1
Fork 0
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:
Brian Gianforcaro 2021-05-07 04:38:56 -07:00 committed by Linus Groh
parent 7e28ecc305
commit 7f51754780
3 changed files with 22 additions and 6 deletions

View file

@ -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;