qt5base-lts/tests/auto/sql/kernel
Friedemann Kleint 9a4beb4d36 Improve handling of temporary directories in SQL tests.
Initialize directory delayed in shared code and add checks to verify
that it is valid. Close attached / cloned databases to prevent locks
on files and leaking temporary directories caused by SQLite:

QTemporaryDir: Unable to remove "...\Temp\tst_qsqldatabase-P1XkOA" most likely due to the presence of read-only files.
QTemporaryDir: Unable to remove "...\Temp\tst_qsqltablemodel-P1XkOA" most likely due to the presence of read-only files.
QWARN  : tst_QSql::concurrentAccess() QTemporaryDir: Unable to remove "...\Temp\tst_qsql-l0VAKJ" most likely due to the presence of read-only files.

Change-Id: If85bbaed04bb1a32e427d642be332996d967f796
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-04-04 16:55:01 +02:00
..
qsql Improve handling of temporary directories in SQL tests. 2014-04-04 16:55:01 +02:00
qsqldatabase Improve handling of temporary directories in SQL tests. 2014-04-04 16:55:01 +02:00
qsqldriver Improve handling of temporary directories in SQL tests. 2014-04-04 16:55:01 +02:00
qsqlerror Enable QSqlError to handle alphanumeric error codes. 2013-12-20 16:27:41 +01:00
qsqlfield QtSql tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 14:42:15 +01:00
qsqlquery Improve handling of temporary directories in SQL tests. 2014-04-04 16:55:01 +02:00
qsqlrecord expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qsqlresult Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
qsqlthread Improve handling of temporary directories in SQL tests. 2014-04-04 16:55:01 +02:00
kernel.pro SQL: Change in QSqlResultPrivate::positionalToNamedBinding() 2012-12-10 21:23:35 +01:00