qt5base-lts/tests/auto/corelib/codecs
Thiago Macieira 7e1a0c0739 Add tests for decoding too-short UTF-8 sequences
We were handling this properly, but not testing them. I guess we weren't
testing because the condition is a valid intermediate state, so
hasFailure() is correct it returning false.

Testing inspired by the bug reported in
https://github.com/intel/tinycbor/issues/137

Change-Id: Ib47c56818178458a88b4fffd1554ecfdd0af637e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2018-09-25 22:14:07 +00:00
..
qtextcodec tst_qtextcodec: Use qt_test_helper functionality 2018-07-25 10:27:42 +00:00
utf8 Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
codecs.pro