Correct (and reflow) an out-of-date comment on benchmarking
What's now called TestMethods::invokeTest() was apparently once called qInvokeTestMethod(). Also, its current instance is (now) cleared by its destructor rather than (overtly) at the end of that function. Change-Id: I04de7ca2247dd640a398b3e4e7bf410401f3cbbf Reviewed-by: Jason McDonald <macadder1@gmail.com>bb10
parent
6a839e0ae4
commit
df1935df0e
|
|
@ -119,10 +119,10 @@ private:
|
|||
};
|
||||
|
||||
/*
|
||||
The QBenchmarkTestMethodData class stores all benchmark-related data
|
||||
for the current test case. QBenchmarkTestMethodData:current is
|
||||
created at the beginning of qInvokeTestMethod() and cleared at
|
||||
the end.
|
||||
The QBenchmarkTestMethodData class stores all benchmark-related data for the
|
||||
current test case. QBenchmarkTestMethodData:current is set to a local
|
||||
instance at the beginning of TestMethods::invokeTest() and cleared by its
|
||||
destructor when that instance drops out of scope.
|
||||
*/
|
||||
class Q_TESTLIB_EXPORT QBenchmarkTestMethodData
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue