summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qbenchmark_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testlib/qbenchmark_p.h b/src/testlib/qbenchmark_p.h
index 3259dd3326..93891576a7 100644
--- a/src/testlib/qbenchmark_p.h
+++ b/src/testlib/qbenchmark_p.h
@@ -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
{