qt5base-lts/tests/auto
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
..
cmake Use the mkspec name Qt was configured with instead of default symlink 2012-10-16 08:41:48 +02:00
compilerwarnings/data Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
concurrent Test: remove QSKIP from tst_qtconcurrent 2012-10-17 21:05:27 +02:00
corelib detach() safely in QVector::erase(), and update callers to not detach. 2012-10-19 18:04:11 +02:00
dbus normalise signal/slot signatures [QtDBus tests] 2012-10-19 00:44:54 +02:00
gui Fixed inconsistent QPainter fill rules for aliased painting. 2012-10-19 02:43:05 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network tst_qlocalsocket: get rid of QtScript dependency 2012-10-19 02:43:05 +02:00
opengl Change the default major version of QGLFormat to 2. 2012-10-19 02:43:05 +02:00
other Correct accessibility index handling in QListView 2012-10-19 00:44:54 +02:00
printsupport Revert a change to printer orientation 2012-10-15 22:01:47 +02:00
shared Auto tests: add PlatformClipboard::isAvailable() 2012-09-27 06:07:13 +02:00
sql normalise signal/slot signatures [QtSql tests] 2012-10-19 13:02:17 +02:00
testlib add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
tools moc: parse properly the gcc extension for variadic macro 2012-10-14 20:53:42 +02:00
widgets Make sure uints remain uints when editing in itemviews. 2012-10-19 00:44:54 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
auto.pro Test: Redo remove QSKIP from printsupport tests 2012-09-13 19:33:08 +02:00
network-settings.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtest-config.h Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
test.pl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00