Go to file
Jason McDonald 97e0db61c7 Remove Q_ASSERT's from modeltest
Rather than aborting in debug builds and ignoring the failures in
release builds, report specific warnings on each failure, count the
failures, and fail the test if the failure counts are non-zero at the
end of the test.

The same change is also made for a QCOMPARE that appeared
inappropriately inside a helper class.  QCOMPARE may only appear
directly in a test function.

Change-Id: I81f0ce80512fa72c67f5aa72c0511a4b650d5d20
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 11254ff409395b67cb28453b3c069860bc28c14d)
2011-05-18 10:46:46 +10:00
bin Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-earth-staging 2011-05-11 18:18:18 +10:00
config.profiles Fixed Qt UDA creation for Symbian 2011-05-10 12:54:47 +02:00
config.tests Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
demos Move private headers into versioned subdirectory 2011-05-02 15:30:08 +02:00
dist Changelog: Qt Designer 4.8 2011-05-05 16:17:50 +02:00
doc/src Fix licence headers again for MR 900 2011-05-12 15:48:46 +02:00
examples Removed examples and demos that are no longer in qtbase. 2011-04-27 12:06:02 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Massively update the hurd-g++ mkspec. 2011-05-10 12:54:56 +02:00
qmake Ensure that recursive QMAKE_EXTRA_TARGETS use the correct makefile 2011-05-13 08:59:43 +10:00
src Removed duplicate setting of QT dependencies 2011-05-13 18:36:12 +03:00
tests Remove Q_ASSERT's from modeltest 2011-05-18 10:46:46 +10:00
tools Fix the build of configure.exe. 2011-05-10 12:54:54 +02:00
util Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add QT_xxx_VERSION macros for each library in qtbase 2011-05-10 15:15:15 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-earth-staging 2011-05-16 18:33:46 +10:00
configure.exe new configure.exe binary 2011-05-03 14:49:38 +02:00
header.BSD Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
header.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
header.LGPL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
header.LGPL-ONLY Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro tests: enable compilation of autotests for qtbase by default 2011-05-11 11:52:24 +10:00
sync.profile Add QT_xxx_VERSION macros for each library in qtbase 2011-05-10 15:15:15 +02:00