diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-05 17:36:59 +1000 |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-06 12:50:28 +1000 |
commit | 416d45caa9feefe8337795adc4b93a8148d57a3a (patch) | |
tree | 7e37bb39e61056cf4b58e449a570076d95a35d9e /tests/auto/modeltest/modeltest.cpp | |
parent | 22e99d92a71645d643ebd54c6209bced80f7c5b8 (diff) |
Remove Q_ASSERT from qabstractxmlnodemodel test
When no content can be loaded to create the model, return a null model
(which will make the test fail gracefully) rather than aborting in a
debug build and failing silently in a release build.
Change-Id: I28f0bb92c617c8dafd1089d0b3dafcfef0c0da53
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests/auto/modeltest/modeltest.cpp')
0 files changed, 0 insertions, 0 deletions