| 33 | { |
| 34 | protected: |
| 35 | static void SetUpTestCase() |
| 36 | { |
| 37 | std::string parkPath = TestData::GetParkPath("bpb.sv6"); |
| 38 | gOpenRCT2Headless = true; |
| 39 | gOpenRCT2NoGraphics = true; |
| 40 | _context = CreateContext(); |
| 41 | bool initialised = _context->Initialise(); |
| 42 | ASSERT_TRUE(initialised); |
| 43 | |
| 44 | GetContext()->LoadParkFromFile(parkPath); |
| 45 | GameLoadInit(); |
| 46 | |
| 47 | // Changed in some tests. Store to restore its value |
| 48 | _gLegacyScene = gLegacyScene; |
| 49 | SUCCEED(); |
| 50 | } |
| 51 | |
| 52 | static void TearDownTestCase() |
| 53 | { |
nothing calls this directly
no test coverage detected