path: root/tests/shared
diff options
authorThiago Macieira <>2019-08-01 22:56:30 -0700
committerThiago Macieira <>2019-08-08 20:27:04 -0700
commit6ce9404a6e7ad6ba3ff37f6890fe400c643c3d52 (patch)
tree3fe43c54f408a69627630008176b3fbd9e4edc22 /tests/shared
parent39e937a538325c4fc40a790496f2a39d28f8eba4 (diff)
QBitArray: fix fromBits() and actually test it
When I initially added it, it was ony for QCborValue, but I never added the tests. Turns out there were two bugs: [ChangeLog][QtCore][QBitArray] Fixed two bugs that caused QBitArrays created using fromBits() not to compare equal to the equivalent QBitArray created using other methods if the size was zero or not a multiple of 4. If the size modulus 8 was 5, 6, or 7, the data was actually incorrect. Fixes: QTBUG-77285 Change-Id: Ife213d861bb14c1787e1fffd15b70573d162042c Reviewed-by: Lars Knoll <>
Diffstat (limited to 'tests/shared')
0 files changed, 0 insertions, 0 deletions