Fix misleading comment on test execution order.

When executing a data-driven test, testlib executes the _data function
once, then repeatedly executes init(), then the test function, then
cleanup() for each row of test data.

Change-Id: Icfa1dd19a52fb1debbc92b7cbe13d85bfb0418c7
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-10-20 12:16:49 +10:00 committed by Qt by Nokia
parent d766ae0457
commit 98bd270fb7

View File

@ -1427,7 +1427,7 @@ static void qInvokeTestMethodDataEntry(char *slot)
/*! /*!
\internal \internal
Call init(), slot_data(), slot(), slot(), slot()..., cleanup() Call slot_data(), init(), slot(), cleanup(), init(), slot(), cleanup(), ...
If data is set then it is the only test that is performed If data is set then it is the only test that is performed
If the function was successfully called, true is returned, otherwise If the function was successfully called, true is returned, otherwise