tst_qvariant: add a test QVariant works with not movable types
authorOlivier Goffart <ogoffart@kde.org>
Tue, 1 Nov 2011 10:24:10 +0000 (11:24 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 Nov 2011 11:56:09 +0000 (12:56 +0100)
commitd2ed5884192202dae8efefa66b9bdc2caaf8c551
treef6d6a031b4b1b4ebdb66f56a812ec239ac43b4ee
parentcf6ef44ffd348fbfabadde7e5ed7aae02daedbc6
tst_qvariant: add a test QVariant works with not movable types

Soon, QVariant will use more internal storage. It is important
that it still work with not movable types

Also, check with type that are movable but cannot be copyed
without their copy constructor to be called such as QSharedDataPointer

Change-Id: I6d67755476e4822468599bebfa8774ad96a15306
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp