MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / SetUpTestCase

Method SetUpTestCase

test/tests/FormattingTests.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73protected:
74 static void SetUpTestCase()
75 {
76 gOpenRCT2Headless = true;
77 gOpenRCT2NoGraphics = true;
78 _context = CreateContext();
79 ASSERT_TRUE(_context->Initialise());
80
81 LanguageOpen(LANGUAGE_ENGLISH_UK);
82 }
83
84 static void TearDownTestCase()
85 {

Callers

nothing calls this directly

Calls 3

CreateContextFunction · 0.85
LanguageOpenFunction · 0.85
InitialiseMethod · 0.45

Tested by

no test coverage detected