5f8c6f1760
Previously only qstr*icmp() were tested and the test data was sent via QString and {en,de}coding. Use a local data-type to package pointers to actual string literals for passing to these functions that take them. Fold the various tests involving null pointers and empty strings into the general testing, removing from "singularity" tests, and combine the remainders of those tests into a single test of singular cases for QByteArray::ompare. Move all these tests to alongside the existing tests for QByteArray::compare. Use nullptr rather than 0 as the null string. Change-Id: Ie6d01e839c330c2f960af4bcc95e5633539337d6 Reviewed-by: Lars Knoll <lars.knoll@qt.io> |
||
---|---|---|
.. | ||
.gitattributes | ||
.gitignore | ||
android_testdata.qrc | ||
CMakeLists.txt | ||
qbytearray.pro | ||
rfc3252.txt | ||
tst_qbytearray_mac.mm | ||
tst_qbytearray.cpp |