mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
committed by
Linus Groh
parent
7e28ecc305
commit
7f51754780
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user