qt5base-lts/tests/auto/corelib
Andreas Hartmetz bdc115d969 detach() safely in QVector::erase(), and update callers to not detach.
remove() can use non-detaching iterators internally before calling
erase(), which hasn't been exploited so far, so that the detach() in
erase() never actually detached. When using erase() from outside,
you can't do it legally without calling begin() or end() that detach()
before erase() is called.
Now remove() doesn't detach anymore, and detaching in erase() works.
With new tests that fail after changing only the erase() callers
and pass again after fixing erase().

Change-Id: I47c0a9e362dce8628ec566f5437d951755de96c8
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2012-10-19 18:04:11 +02:00
..
animation Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
codecs Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
global QFlags: use unsigned int when the enum's underlying is unsigned 2012-09-28 23:50:10 +02:00
io test: Moving tst_QProcess::echoTest_performance() 2012-10-19 02:43:05 +02:00
itemmodels QModelIndex: clean up integer size confusion in the API 2012-09-22 20:45:12 +02:00
json Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel Test: remove QSKIP from tst_QSocketNotifier::posixSockets 2012-10-16 20:43:37 +02:00
mimetypes Use QStringList::join(QChar) overload where applicable [QtCore] 2012-09-23 23:30:18 +02:00
plugin Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
statemachine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
thread Test: remove QSKIP from tst_QThread::stressTest 2012-10-16 20:43:37 +02:00
tools detach() safely in QVector::erase(), and update callers to not detach. 2012-10-19 18:04:11 +02:00
xml Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00