qmlplugindump: Add test for running with -builtins.
authorChristian Kamm <christian.d.kamm@nokia.com>
Tue, 4 Oct 2011 10:22:07 +0000 (12:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 4 Oct 2011 13:10:57 +0000 (15:10 +0200)
commita617073f6b93f01f112f92a80b52247daa951713
treebe409aca26c88567e84e764faa376e556c62d95d
parent2903533aa08f4ee7ceff7615e52c9e6ed69553af
qmlplugindump: Add test for running with -builtins.

The main idea is to check for crashes: When instantiable C++ based
QML components have uninitialized QObject * members, qmlplugindump can
crash while collecting types to dump. That will make it impossible
for users to use qmlplugindump and should be fixed in the responsible
classes constructor.

On unix it has a crash handler that tries to pinpoint which class
and property caused the problem.

Change-Id: Ie049cae27d94920f3d8346ca7075eba5a11c2a37
Reviewed-on: http://codereview.qt-project.org/5976
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
tests/auto/declarative/declarative.pro
tests/auto/declarative/qmlplugindump/qmlplugindump.pro [new file with mode: 0644]
tests/auto/declarative/qmlplugindump/tst_qmlplugindump.cpp [new file with mode: 0644]