qt5base-lts/tests/auto
Mark Brand 26450fe6a6 QSqlTableModel::removeRows() enforce edit strategy
For OnFieldChange and OnRowChange, we don't want more than one row in
the cache with uncommitted changes. This could happen if deletion in
the database fails while other changes are pending.

Chosen solution is to return false if other rows have pending changes.
Also, we only allow 1 row removed at a time.

Updated test, changes and documentation.

Change-Id: I68baf6d221789b4754e891535070011c759a2155
Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
2012-03-15 15:35:43 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove commented code from qtconcurrentmap autotest. 2012-03-14 07:51:45 +01:00
corelib UTF8-Codec test: Fix compilation with g++/C++0X. 2012-03-15 14:51:50 +01:00
dbus Avoid using internal testlib API in QDbusConnection autotest. 2012-03-05 03:44:01 +01:00
gui Move tst_qshortcut.cpp to QtWidgets 2012-03-12 21:38:51 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Mark unstable windows network tests 2012-03-08 05:31:40 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Remove unmaintained and broken VNC platform plugin 2012-03-15 02:45:31 +01:00
printsupport Move tst_qprinter.cpp to QtPrintSupport 2012-03-12 13:14:05 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql QSqlTableModel::removeRows() enforce edit strategy 2012-03-15 15:35:43 +01:00
testlib testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
tools remove strange .qmake.cache hacks 2012-03-08 18:54:46 +01:00
widgets QTableView: call model->submit() on row change 2012-03-15 00:50:47 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Move tst_qprinter.cpp to QtPrintSupport 2012-03-12 13:14:05 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00