CodeCoverage: Fixes regression.
authorCaroline Chao <caroline.chao@nokia.com>
Thu, 16 Feb 2012 11:18:43 +0000 (12:18 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 22 Feb 2012 10:59:23 +0000 (11:59 +0100)
commit5b3d57e8f88dd9adc6787043d7f8e0d305ab4860
treea4c170f9e4e30e7e87d90e271bc2f5ae549e300f
parent3dd45840c881e90904781169bfd546e1f58eac30
CodeCoverage: Fixes regression.

Fixes segmentation fault introduced by qtbase change:
36f5cc848de2525

Coverage data are now saved in QTestLog::stopLogging. Also the current
application name needs to be set for a quick test as well.

Remove also code coverage call to installCodeCoverage from quicktest
due to refactor of the code coverage setup in qtestlib. This should be less
error-prone. See qtbase change:
949b7452e0d2402

Change-Id: I13566cc43dfb3af264d3b2be2e5f2617128f4801
Reviewed-by: Caroline Chao <caroline.chao@nokia.com>
src/qmltest/quicktest.cpp
src/qmltest/quicktestresult.cpp
src/qmltest/quicktestresult_p.h