qt5base-lts/tests/auto/corelib/io/qdatastream
Alex Trotsenko 902a5e7aaa QDataStream: adjust containers' deserialization in transaction mode
If an error occurs during the transaction, we should prevent the
containers from being successfully read. So, check the status of the
stream before reading the container, because the deserialization
procedure temporarily resets it on entry.

Task-number: QTBUG-54022
Change-Id: Ie955c2fa3e449374f0f8403f00e487efa2bfdaf3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2016-07-20 06:52:43 +00:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
datastream.q42 Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qdatastream.pro Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
testdata.qrc Android: Fix QDataStream test 2015-01-09 15:41:34 +01:00
tst_qdatastream.cpp QDataStream: adjust containers' deserialization in transaction mode 2016-07-20 06:52:43 +00:00