diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2009-11-02 16:42:17 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2009-11-03 15:43:45 (GMT) |
commit | 66056ead409d4ba79b2b7dd08d12332ba47f5307 (patch) | |
tree | b4792578ec1dff39cc820130432e8c307410fb58 /tests/auto/qregexpvalidator | |
parent | c0a58b079d00dad484faa6249b8109a639576399 (diff) | |
download | Qt-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/qregexpvalidator')
0 files changed, 0 insertions, 0 deletions