@@ -44,8 +44,8 @@ class TestClassSharedData
44
44
, m_total_not_tested(0 )
45
45
, m_total_failed_checks(0 )
46
46
, m_total_leaked_tests(0 )
47
- , m_total_functions_tested (0 )
48
- , m_total_timed_functions (0 )
47
+ , m_total_tested (0 )
48
+ , m_total_timed (0 )
49
49
, m_total_tests(0 )
50
50
51
51
// Padded to be lined up for output as columns.
@@ -193,34 +193,34 @@ class TestClassSharedData
193
193
++m_total_leaked_tests;
194
194
}
195
195
196
- SizeType GetTotalFunctionsTested () const throw()
196
+ SizeType GetTotalTested () const throw()
197
197
{
198
- return m_total_functions_tested ;
198
+ return m_total_tested ;
199
199
}
200
200
201
- void SetTotalFunctionsTested (SizeType total_functions_tested ) throw()
201
+ void SetTotalTested (SizeType total_tested ) throw()
202
202
{
203
- m_total_functions_tested = total_functions_tested ;
203
+ m_total_tested = total_tested ;
204
204
}
205
205
206
- void IncTotalFunctionsTested ()
206
+ void IncTotalTested ()
207
207
{
208
- ++m_total_functions_tested ;
208
+ ++m_total_tested ;
209
209
}
210
210
211
- SizeType GetTotalTimedFunctions () const throw()
211
+ SizeType GetTotalTimed () const throw()
212
212
{
213
- return m_total_timed_functions ;
213
+ return m_total_timed ;
214
214
}
215
215
216
- void SetTotalTimedFunctions (SizeType total_timed_functions ) throw()
216
+ void SetTotalTimed (SizeType total_timed ) throw()
217
217
{
218
- m_total_timed_functions = total_timed_functions ;
218
+ m_total_timed = total_timed ;
219
219
}
220
220
221
221
void IncTotalTimedFunctions ()
222
222
{
223
- ++m_total_timed_functions ;
223
+ ++m_total_timed ;
224
224
}
225
225
226
226
SizeType GetTotalTests () const throw()
@@ -292,12 +292,14 @@ class TestClassSharedData
292
292
SizeType m_logged_line;
293
293
294
294
// Counts for all tests.
295
+ // The counts are either for a check, e.g. CHECK_TRUE, CHECK_EQUAL, etc.
296
+ // or a test, e.g. TEST, TEST_FUNCTION, etc.
295
297
SizeType m_total_checks;
296
298
SizeType m_total_not_tested;
297
299
SizeType m_total_failed_checks;
298
300
SizeType m_total_leaked_tests;
299
- SizeType m_total_functions_tested ;
300
- SizeType m_total_timed_functions ;
301
+ SizeType m_total_tested ;
302
+ SizeType m_total_timed ;
301
303
SizeType m_total_tests;
302
304
303
305
// Last class name set for TestClass.
0 commit comments