DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ TestCleanup()

TFResult TestCleanup ( string f,
int p1 = 0 )

См. определение в файле PMTCreationAndCleanup.c строка 149

150 {
151 int pmTotal = ParticleManager.GetStaticActiveCount();
152 int psTotal = ParticleSource.GetStaticActiveCount();
153
154 PrintActiveStats();
155
156 TFResult res = CTFR();
157
158 g_Game.GameScript.CallFunction(this, f, res, p1);
159
160 int pmTotalPost = ParticleManager.GetStaticActiveCount();
161 int psTotalPost = ParticleSource.GetStaticActiveCount();
162
163 PrintActiveStats();
164
165 bool success = Assert(pmTotal == pmTotalPost);
166 success &= Assert(psTotal == psTotalPost);
167
168 return res.And(BTFR(success));
169 }
DayZGame g_Game
Определения DayZGame.c:3942
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
TFResult CTFR()
Определения TestFramework.c:286
bool Assert(bool condition)
Определения TestFramework.c:262
void TFResult(TFR result)
Определения TestFramework.c:12
TFResult BTFR(bool result)
Определения TestFramework.c:278
proto static native int GetStaticActiveCount()
Gets the amount of ParticleSource that are currently existing.
Entity which has the particle instance as an ObjectComponent.
Определения ParticleSource.c:124

Перекрестные ссылки Assert(), BTFR(), CTFR(), g_Game, ParticleSource::GetStaticActiveCount(), ParticleManager(), PMTF::PrintActiveStats() и TFResult().

Используется в TestCCSB().