equal
deleted
inserted
replaced
265 completer->setCurrentRow(row); |
265 completer->setCurrentRow(row); |
266 } |
266 } |
267 |
267 |
268 //QModelIndex si = completer->currentIndex(); |
268 //QModelIndex si = completer->currentIndex(); |
269 //QCOMPARE(completer->model()->data(si).toString(), completion); |
269 //QCOMPARE(completer->model()->data(si).toString(), completion); |
270 QCOMPARE(completer->currentCompletion(), completionText); |
270 QVERIFY(0 == QString::compare(completer->currentCompletion(), completionText, completer->caseSensitivity())); |
271 } |
271 } |
272 |
272 |
273 // Testing get/set functions |
273 // Testing get/set functions |
274 void tst_QCompleter::getSetCheck() |
274 void tst_QCompleter::getSetCheck() |
275 { |
275 { |