Data Structures | |
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 () |
protected override void | EOnInit (IEntity other, int extra) |
protected override void | EOnFrame (IEntity other, float timeSlice) |
protected void | AddInitTest (string test) |
protected void | AddFrameTest (string test) |
protected bool | Assert (bool condition) |
TFResult | NTFR (TFR result) |
TFResult | BTFR (bool result) |
TFResult | CTFR () |
Variables | |
enum TFR | Result |
class TFModule | m_OnInitModule |
Test Framework. | |
private ref TFModule | m_OnFrameModule |
typedef array<ref TFResult> TFResultArr |
enum TFR |
protected void AddFrameTest | ( | string | test | ) |
protected void AddInitTest | ( | string | test | ) |
References TFModule::AddTest(), and m_OnInitModule.
Referenced by EnProfilerTests::EnProfilerTests(), PMTCreationAndCleanup(), PMTPlayback::PMTPlayback(), and ScriptInvokerTests::ScriptInvokerTests().
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().
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().
TFResult CTFR | ( | ) |
References TFResult().
Referenced by TestCleanup(), and TestMultiCreation().
References ScriptCallQueue::Call(), CALL_CATEGORY_SYSTEM, CGame::GetCallQueue(), GetGame(), m_OnFrameModule, and TFModule::Run().
References m_OnInitModule, and TFModule::Run().
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().
void TestFramework | ( | ) |
References m_OnFrameModule, and m_OnInitModule.
void TFResult | ( | TFR | result | ) |
References Result.
Referenced by TFModule::AddTest(), BTFR(), CTFR(), NTFR(), TestCleanup(), and TestMultiCreation().
void ~TestFramework | ( | ) |
References m_OnFrameModule, m_OnInitModule, and TFModule::PrintResult().
private ref TFModule m_OnFrameModule |
Referenced by AddFrameTest(), EOnFrame(), TestFramework(), and ~TestFramework().
class TFModule m_OnInitModule |
Test Framework.
Referenced by AddInitTest(), EOnInit(), TestFramework(), and ~TestFramework().
enum TFR Result |
Referenced by And(), Or(), and TFResult().