qt5base-lts/tests/auto/corelib
João Abecasis b143a65728 Add zero-termination checks to QString and QByteArray tests
This uses an alternative approach to the testing formerly introduced
in 4ef5a626. Zero-termination tests are injected into all QCOMPARE/QTEST
invocations. This makes such testing more thorough and widespread, and
gets seamlessly extended by future tests.

It also fixes an issue uncovered by the test where using a past-the-end
position with QString::insert(pos, char), could move uninitialized data
and clobber the null-terminator.

Change-Id: I7392580245b419ee65c3ae6f261b6e851d66dd4f
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
2012-04-05 08:19:14 +02:00
..
animation Fix deadlock in QPropertyAnimation 2012-03-07 12:48:49 +01:00
codecs Move the UTF-8 data into a separate .cpp so I can use later 2012-03-23 11:22:40 +01:00
global Merge master into api_changes 2012-03-27 19:22:48 +02:00
io Revert to Qt4 behaviour that QUrl().isValid() == false 2012-03-30 01:19:59 +02:00
itemmodels Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
json Trailing comma should result in an error during JSON parsing 2012-03-12 21:38:51 +01:00
kernel Add a remainingTime() method to the public interface of the QTimer class 2012-04-03 15:10:05 +02:00
mimetypes Make comment() work in the C locale too. 2012-03-22 13:29:50 +01:00
plugin Fix QLibrary autotest for Windows 2012-02-28 12:45:28 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Add a remainingTime() method to the public interface of the QTimer class 2012-04-03 15:10:05 +02:00
tools Add zero-termination checks to QString and QByteArray tests 2012-04-05 08:19:14 +02:00
xml Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00