diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-17 23:05:24 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-17 23:05:24 (GMT) |
commit | 08a5b8d504e86a80488a2a13525e700b6f8b3311 (patch) | |
tree | 3e6b31daecfe217b355fa973f2f122da8468c0ac /tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp | |
parent | 3773fcb78db02a2577c89f755c07c2c7dbf0de74 (diff) | |
parent | cb2980a09aefcc207eacb500d5a3c74f064859dd (diff) | |
download | Qt-08a5b8d504e86a80488a2a13525e700b6f8b3311.zip Qt-08a5b8d504e86a80488a2a13525e700b6f8b3311.tar.gz Qt-08a5b8d504e86a80488a2a13525e700b6f8b3311.tar.bz2 |
Merge remote branch 'origin/4.8' into 4.8-from-4.7
Diffstat (limited to 'tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp')
-rw-r--r-- | tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp index 6f3722d..838fd22 100644 --- a/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp +++ b/tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp @@ -251,7 +251,7 @@ void tst_Q3SqlCursor::copyConstructor() } QSqlRecord* rec = cur2.primeUpdate(); - Q_ASSERT( rec ); + QVERIFY( rec ); QCOMPARE( (int)rec->count(), 4 ); int i = 0; @@ -398,7 +398,7 @@ void tst_Q3SqlCursor::batchInsert() int i = 0; for ( ; i < 100; ++i ) { QSqlRecord* irec = cur.primeInsert(); - Q_ASSERT( irec ); + QVERIFY( irec ); irec->setValue( "id", i ); irec->setValue( "t_varchar", "blah" ); irec->setValue( "t_char", "blah" ); @@ -412,7 +412,7 @@ void tst_Q3SqlCursor::batchInsert() for ( ; i < 200; ++i ) { QSqlRecord* irec = cur.primeInsert(); - Q_ASSERT( irec ); + QVERIFY( irec ); irec->setValue( "id", i ); irec->setValue( "t_varchar", "blah" ); irec->setValue( "t_char", "blah" ); @@ -699,7 +699,7 @@ void tst_Q3SqlCursor::updateNoPK() Q3SqlCursor cur(qTableName("qtestPK", __FILE__), true, db); QSqlRecord* rec = cur.primeInsert(); - Q_ASSERT(rec); + QVERIFY(rec); rec->setNull(0); rec->setNull(1); rec->setNull(2); @@ -724,7 +724,7 @@ void tst_Q3SqlCursor::updateNoPK() } rec = cur.primeUpdate(); - Q_ASSERT(rec); + QVERIFY(rec); rec->setValue(0, 1); rec->setNull(1); rec->setNull(2); |