Move data generation to initTestCase() method and store the results.
authorRobin Burchell <robin+qt@viroteck.net>
Tue, 28 Feb 2012 19:49:35 +0000 (20:49 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 21:39:00 +0000 (22:39 +0100)
commit57004b7fda861e1e59a00688a859f30d9a088b4e
tree7242d053cc8caf6c05aeb524c588e631746fd433
parent0f3d9b1d84354ed19e2522869b1164f135ed8a51
Move data generation to initTestCase() method and store the results.

Per the comments on Ie4100a1ca4dbe7bf1cd73de883a9854377ac2f5e, having Q_ASSERT
was not a good idea, and data functions can't really handle
QVERIFY/QCOMPARE/etc, so do this in initTestCase instead.

Change-Id: I19e61dec7fe415bb1fa0f53a2920d99b8c7c8ea7
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
tests/benchmarks/corelib/tools/qhash/main.cpp