diff options
author | Bill King <bill.king@nokia.com> | 2010-03-10 07:01:00 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2010-03-10 07:01:00 (GMT) |
commit | 4b276240e07de5bb7fd5728aae0249643aeb6ec5 (patch) | |
tree | 94aff7aaa6a16a869fad741ccd4b370be642fff3 /tests/auto | |
parent | dddaaebeabca4e68b548879ecf98d4c495a0ad62 (diff) | |
download | Qt-4b276240e07de5bb7fd5728aae0249643aeb6ec5.zip Qt-4b276240e07de5bb7fd5728aae0249643aeb6ec5.tar.gz Qt-4b276240e07de5bb7fd5728aae0249643aeb6ec5.tar.bz2 |
Fixes QSqlThread autotest
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qsqlthread/tst_qsqlthread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qsqlthread/tst_qsqlthread.cpp b/tests/auto/qsqlthread/tst_qsqlthread.cpp index 971766b..791f804 100644 --- a/tests/auto/qsqlthread/tst_qsqlthread.cpp +++ b/tests/auto/qsqlthread/tst_qsqlthread.cpp @@ -335,9 +335,9 @@ void tst_QSqlThread::repopulateTestTables() QVERIFY_SQL(q, exec("insert into " + qtest + " values(2, 'trond', 2)")); QVERIFY_SQL(q, exec("insert into " + qtest + " values(3, 'vohi', 3)")); - QVERIFY_SQL(q, exec("delete from " + qTableName("test2", __FILE__))); - QVERIFY_SQL(q, exec("insert into " + qTableName("test2", __FILE__) + " values(1, 'herr')")); - QVERIFY_SQL(q, exec("insert into " + qTableName("test2", __FILE__) + " values(2, 'mister')")); + QVERIFY_SQL(q, exec("delete from " + qTableName("qtest2", __FILE__))); + QVERIFY_SQL(q, exec("insert into " + qTableName("qtest2", __FILE__) + " values(1, 'herr')")); + QVERIFY_SQL(q, exec("insert into " + qTableName("qtest2", __FILE__) + " values(2, 'mister')")); } } |