Remove Q_ASSERT from qabstractxmlnodemodel test
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 6 May 2011 03:51:20 +0000 (13:51 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 01:04:38 +0000 (11:04 +1000)
commite01dc7e1beb8e54980aa9b400ded95d6087e78c9
tree756f21d89c06031733260b870b36b0f5619887c2
parent39397733233b243c71d01aa74595ce7c2cc4e3f1
Remove Q_ASSERT from qabstractxmlnodemodel test

Instead of aborting in a debug build and failing silently in a release
build when the internal state of the model is incorrect, report a
meaningful fatal error in all builds.

Change-Id: I64ca4dde070cb7fbe69684a36092d53e5b84d80a
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 68027b186fe547a5579d07480e097bfb69c79de9)
tests/auto/qabstractxmlnodemodel/LoadingModel.cpp