MCPcopy Create free account
hub / github.com/diasurgical/devilution / TEST

Function TEST

SourceT/appfat_test.cpp:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "all.h"
3
4TEST(Appfat, app_fatal) {
5 EXPECT_EXIT(dvl::app_fatal("test"), ::testing::ExitedWithCode(1), "test");
6}
7
8TEST(Appfat, ErrDlg) {
9 EXPECT_EXIT(dvl::ErrDlg("Title", "Unknown error", "appfat.cpp", 7), ::testing::ExitedWithCode(1), "Unknown error\n\nThe error occurred at: appfat.cpp line 7");

Callers

nothing calls this directly

Calls 5

app_fatalFunction · 0.85
ErrDlgFunction · 0.85
FileErrDlgFunction · 0.85
InsertCDDlgFunction · 0.85
DirErrorDlgFunction · 0.85

Tested by

no test coverage detected