summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextobject
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2009-11-02 16:42:17 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2009-11-03 15:43:45 (GMT)
commit66056ead409d4ba79b2b7dd08d12332ba47f5307 (patch)
treeb4792578ec1dff39cc820130432e8c307410fb58 /tests/auto/qtextobject
parentc0a58b079d00dad484faa6249b8109a639576399 (diff)
downloadQt-66056ead409d4ba79b2b7dd08d12332ba47f5307.zip
Qt-66056ead409d4ba79b2b7dd08d12332ba47f5307.tar.gz
Qt-66056ead409d4ba79b2b7dd08d12332ba47f5307.tar.bz2
Make the QDataStream autotest much more robust
In the old version, we'd read all the types, then start comparing. If an operator left the stream in a bogus state, funny things would happen (e.g. crashes). Now, we test the value instantly before reading the next one, thus preventing reading bogus.
Diffstat (limited to 'tests/auto/qtextobject')
0 files changed, 0 insertions, 0 deletions