summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlquery/MessageSilencer.h
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2009-09-10 07:40:54 (GMT)
committermread <qt-info@nokia.com>2009-09-10 07:47:30 (GMT)
commit680cbc408e7aadf19f58da2d65495e5e8e6d37b0 (patch)
tree695ab307b3d8c254cc6ee209c500670f8e4f6471 /tests/auto/qxmlquery/MessageSilencer.h
parent08b54f274d57e4735d0042e295237f176506433d (diff)
downloadQt-680cbc408e7aadf19f58da2d65495e5e8e6d37b0.zip
Qt-680cbc408e7aadf19f58da2d65495e5e8e6d37b0.tar.gz
Qt-680cbc408e7aadf19f58da2d65495e5e8e6d37b0.tar.bz2
Make exception safety test work with XML output and warnings
The QTestLib XML output system throws exceptions when the system is out of memory, which is normally quite reasonable. However when it is used to report warnings during a catch block, this terminates the program. So this change temporarily disables allocation failures while the warning is being recorded. Reviewed-by: Jason Barron
Diffstat (limited to 'tests/auto/qxmlquery/MessageSilencer.h')
0 files changed, 0 insertions, 0 deletions