134 {
135 array<TFCaller> done = new array<TFCaller>();
136
137
138 int runningTests =
m_Tests.Count();
139 for (int i = 0; i < runningTests; ++i)
140 {
143 done.Insert(t);
144 }
145
146
147 foreach (TFCaller doneT : done)
149
150
151 if (fatal &&
m_Tests.Count() > 0)
152 {
153 Print(
"- Active tests -------------------------");
154 foreach (TFCaller rTest :
m_Tests)
155 Print(rTest.GetTest());
156 Print(
"----------------------------------------");
157
158 ErrorEx(
"Not all tests are done while run was fatal.");
160 }
161
163 }
bool RunTest(TFCaller caller, float dt)
proto void Print(void var)
Prints content of variable to console/log.