qt6-bb10/tests/auto/corelib/serialization/qcborstreamreader
Thiago Macieira e7998dc187 QCborStreamReader: make sure setDevice() clears the last error
The unit tests weren't running into this problem because the every
setDevice() was preceded by the object being initialized with the exact
same data, so there was never a previous error state. I've only changed
a couple of tests, left the other setDevice() unchanged so we test both
behaviors.

Fixes: QTBUG-71426
Change-Id: I1bd327aeaf73421a8ec5fffd1561a590e3933376
Reviewed-by: Nils Jeisecke <nils.jeisecke@saltation.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-11-08 15:19:45 +00:00
..
qcborstreamreader.pro Long live QCborStreamReader! 2018-05-27 22:41:49 +00:00
tst_qcborstreamreader.cpp QCborStreamReader: make sure setDevice() clears the last error 2018-11-08 15:19:45 +00:00