Fix qmltestrunner crash bug when report filename and line number
authorCharles Yin <charles.yin@nokia.com>
Wed, 9 Nov 2011 01:20:04 +0000 (11:20 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 9 Nov 2011 10:29:42 +0000 (11:29 +0100)
commit4b49a7ab1f47c6bfedaf4cfc40a3af5151140ef4
treee0f5586605d2dbc7618a455e6c09696667f47a7a
parentf59b4c4539f022f675016381866b9666cf9271f2
Fix qmltestrunner crash bug when report filename and line number

The HandleScpe is not needed here. Also for each test file, the rootObj
should reset its internal states properly, otherwise the following test
cases are polluted by the previous tests.

Task-number:QTBUG-22620
Change-Id: I1e4869070b8712e5a6c755461d52bd12d1f03160
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/imports/testlib/main.cpp
src/qmltest/quicktest.cpp