DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | array |
Result for an object found in CGame.IsBoxCollidingGeometryProxy. More... | |
class | TFModule |
Typedefs | |
typedef array< ref TFResult > | TFResultArr |
Enumerations | |
enum | TFR { FAIL = -1 , SUCCESS , PENDING } |
Functions | |
void | TFResult (TFR result) |
TFResult | And (TFResult other) |
TFResult | Or (TFResult other) |
void | TestFramework () |
void | ~TestFramework () |
override void | EOnInit (IEntity other, int extra) |
override void | EOnFrame (IEntity other, float timeSlice) |
void | AddInitTest (string test) |
void | AddFrameTest (string test) |
bool | Assert (bool condition) |
TFResult | NTFR (TFR result) |
TFResult | BTFR (bool result) |
TFResult | CTFR () |
Variables | |
enum TFR | Result |
class TFModule | m_OnInitModule |
Test Framework. | |
ref TFModule | m_OnFrameModule |
Definition at line 43 of file TestFramework.c.
Enumerator | |
---|---|
FAIL | |
SUCCESS | |
PENDING |
Definition at line 1 of file TestFramework.c.
Definition at line 250 of file TestFramework.c.
References m_OnFrameModule.
Referenced by TestEvents(), PMTPlayback::TestOnePlaying(), PMTPlayback::TestOnePlayingStandAlone(), PMTPlayback::TestOnePlayingStandAloneAutoDestroy(), and PMTPlayback::TestStopping().
Definition at line 245 of file TestFramework.c.
References m_OnInitModule.
Referenced by EnProfilerTests::EnProfilerTests(), PMTCreationAndCleanup(), PMTPlayback::PMTPlayback(), and ScriptInvokerTests::ScriptInvokerTests().
Definition at line 17 of file TestFramework.c.
Definition at line 258 of file TestFramework.c.
References ErrorEx.
Referenced by PMTPlayback::CheckOnePlaying(), PMTPlayback::CheckOnePlayingSA(), PMTPlayback::CheckOnePlayingSAAD(), PMTPlayback::CheckStop(), CheckTestEvents(), PMTF::InsertManager(), PassCheckEvents(), EnProfilerTests::TestAddFlags(), EnProfilerTests::TestClassCountData(), EnProfilerTests::TestClassTimeData(), TestCleanup(), EnProfilerTests::TestClearFlags(), ScriptInvokerTests::TestClearRunning(), TestCreationSmallBlocking(), TestEvents(), ScriptInvokerTests::TestFirstUnique(), EnProfilerTests::TestFuncCountData(), EnProfilerTests::TestFuncTimeData(), ScriptInvokerTests::TestInsertRemoveUnique(), ScriptInvokerTests::TestInsertRunning(), ScriptInvokerTests::TestInsertUniqueImmediate(), EnProfilerTests::TestModule(), TestOwnership(), ScriptInvokerTests::TestSecondUnique(), EnProfilerTests::TestSetFlags(), EnProfilerTests::TestToggling(), and EnProfilerTests::TestTogglingImmediate().
Definition at line 274 of file TestFramework.c.
References TFResult().
Referenced by PMTPlayback::CheckOnePlaying(), PMTPlayback::CheckOnePlayingSA(), PMTPlayback::CheckOnePlayingSAAD(), PMTPlayback::CheckStop(), CheckTestEvents(), TestCleanup(), ScriptInvokerTests::TestClearRunning(), TestCreationSmallBlocking(), ScriptInvokerTests::TestFirstUnique(), ScriptInvokerTests::TestInsertRemoveUnique(), ScriptInvokerTests::TestInsertRunning(), ScriptInvokerTests::TestInsertUniqueImmediate(), ScriptInvokerTests::TestInvokeRunning(), EnProfilerTests::TestModule(), PMTPlayback::TestOnePlaying(), PMTPlayback::TestOnePlayingStandAlone(), PMTPlayback::TestOnePlayingStandAloneAutoDestroy(), TestOwnership(), ScriptInvokerTests::TestSecondUnique(), PMTPlayback::TestStopping(), EnProfilerTests::TestToggling(), EnProfilerTests::TestTogglingImmediate(), and PMTPlayback::TestWiggleStress().
|
protected |
Definition at line 282 of file TestFramework.c.
References TFResult().
Referenced by TestCleanup(), and TestMultiCreation().
Definition at line 236 of file TestFramework.c.
References CALL_CATEGORY_SYSTEM, GetGame(), and m_OnFrameModule.
Definition at line 231 of file TestFramework.c.
References m_OnInitModule.
Definition at line 269 of file TestFramework.c.
References TFResult().
Referenced by PMTPlayback::CheckOnePlaying(), PMTPlayback::CheckOnePlayingSA(), PMTPlayback::CheckOnePlayingSAAD(), PMTPlayback::CheckStop(), CheckTestEvents(), EnProfilerTests::TestAddFlags(), EnProfilerTests::TestClassCountData(), EnProfilerTests::TestClassTimeData(), EnProfilerTests::TestClearFlags(), TestEvents(), EnProfilerTests::TestFuncCountData(), EnProfilerTests::TestFuncTimeData(), TestInvalidSize(), EnProfilerTests::TestModule(), TestOwnership(), EnProfilerTests::TestSetFlags(), EnProfilerTests::TestToggling(), and EnProfilerTests::TestTogglingImmediate().
Definition at line 30 of file TestFramework.c.
|
private |
Definition at line 213 of file TestFramework.c.
References m_OnFrameModule, and m_OnInitModule.
Definition at line 12 of file TestFramework.c.
References Result.
Referenced by TFModule::AddTest(), BTFR(), CTFR(), NTFR(), TestCleanup(), and TestMultiCreation().
|
private |
Definition at line 222 of file TestFramework.c.
References m_OnFrameModule, and m_OnInitModule.
Definition at line 211 of file TestFramework.c.
Referenced by AddFrameTest(), EOnFrame(), TestFramework(), and ~TestFramework().
Test Framework.
Referenced by AddInitTest(), EOnInit(), TestFramework(), and ~TestFramework().
Referenced by And(), Or(), and TFResult().