diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-12-21 22:48:40 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-12-21 22:50:20 (GMT) |
commit | afa22a20c1b89960b647b0e3a9dc390fe6f87eae (patch) | |
tree | d1a5d7b568a99e68275197d43f2044b1428a7377 /src | |
parent | e753230a048097e6d041ec1ff9d632c4b3b0322b (diff) | |
download | Qt-afa22a20c1b89960b647b0e3a9dc390fe6f87eae.zip Qt-afa22a20c1b89960b647b0e3a9dc390fe6f87eae.tar.gz Qt-afa22a20c1b89960b647b0e3a9dc390fe6f87eae.tar.bz2 |
tst_headers: make failure more detailed when failing to open a file
Replace QVERIFY(f.open(...)) with
QVERIFY2(f.open(...), qPrintable(f.errorString()))
This pattern should be followed for all functions which can provide
an error string on failure.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions