Remove old debug code from itemmodel tests.
Change-Id: I7c6aeed2d3b593a4dac89e54ef22743d5f736d42 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
6b6406d659
commit
4ae3fea163
@ -1258,12 +1258,6 @@ void tst_QItemSelectionModel::select()
|
||||
|
||||
QVERIFY(selection->hasSelection()!=selectedList.isEmpty());
|
||||
|
||||
// debug output
|
||||
// for (int i=0; i<selectedList.count(); ++i)
|
||||
// qDebug(QString("selected (%1, %2)")
|
||||
// .arg(selectedList.at(i).row())
|
||||
// .arg(selectedList.at(i).column()));
|
||||
|
||||
// test that the number of indices are as expected
|
||||
QVERIFY2(selectedList.count() == expectedList.count(),
|
||||
QString("expected indices: %1 actual indices: %2")
|
||||
|
@ -75,7 +75,6 @@ void QModelListener::rowsRemovedOrInserted(const QModelIndex & parent, int , int
|
||||
QVariant var = m_pModel->data(mIndex, Qt::DisplayRole);
|
||||
QString str = var.toString();
|
||||
|
||||
//qDebug() << "index: " << i << " start: " << start << "end: " << end;
|
||||
QCOMPARE(str, m_pExpectedStringlist->at(i));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user