MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / cUnitTesting

Method cUnitTesting

Source/UnitTesting.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include <chrono>
25
26cUnitTesting::cUnitTesting() {
27
28 g_Fodder->mStartParams->mSinglePhase = true;
29 g_Fodder->mStartParams->mSkipBriefing = true;
30 g_Fodder->mStartParams->mSkipIntro = true;
31 g_Fodder->mStartParams->mSkipService = true;
32 g_Fodder->mStartParams->mSkipRecruit = true;
33
34 if (!g_Fodder->mStartParams->mDemoRecord)
35 g_Fodder->mStartParams->mDemoPlayback = true;
36}
37
38std::string cUnitTesting::getCurrentTestFileName() {
39 std::string MissionPhase = "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected