diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-05 17:36:59 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-18 11:04:38 +1000 |
commit | 10ea2f65241baf8f414ab9dc1c52d9fdb5103c68 (patch) | |
tree | 3216ee5090441138dd990787795654d3373d8ddd /src/xmlpatterns/functions/qnumericfns.cpp | |
parent | e80ce483655c5a01f6fae73a623332535ba961c0 (diff) | |
download | qtxmlpatterns-10ea2f65241baf8f414ab9dc1c52d9fdb5103c68.tar.gz |
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
(cherry picked from commit 416d45caa9feefe8337795adc4b93a8148d57a3a)
Diffstat (limited to 'src/xmlpatterns/functions/qnumericfns.cpp')
0 files changed, 0 insertions, 0 deletions