Allow passing a message to tryCompare
authorAlbert Astals Cid <albert.astals@canonical.com>
Fri, 2 Aug 2013 10:44:32 +0000 (12:44 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 5 Aug 2013 10:00:35 +0000 (12:00 +0200)
commitb96479032c3c0c02d9444efe90ccc5ea862d886c
tree5e3fdc7ecbcd32e3f776786b7f8a2e8b69fd11e5
parent45792359f25813af18b7416e4c18737ed4b20bff
Allow passing a message to tryCompare

Also adds a check to make sure timeout is a number, for people
that are moving from compare() to tryCompare() and forget of the extra
timeout parameter

Change-Id: I54e56e2014c022e06622edebca1fd36172c75009
Reviewed-by: Yunqiao Yin <charles@mazymind.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
src/imports/testlib/TestCase.qml
src/imports/testlib/testcase.qdoc