Remove old debug code from itemmodel tests.

Change-Id: I7c6aeed2d3b593a4dac89e54ef22743d5f736d42
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-12-23 14:14:07 +10:00 committed by Qt by Nokia
parent 6b6406d659
commit 4ae3fea163
2 changed files with 0 additions and 7 deletions

View File

@ -1258,12 +1258,6 @@ void tst_QItemSelectionModel::select()
QVERIFY(selection->hasSelection()!=selectedList.isEmpty()); 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 // test that the number of indices are as expected
QVERIFY2(selectedList.count() == expectedList.count(), QVERIFY2(selectedList.count() == expectedList.count(),
QString("expected indices: %1 actual indices: %2") QString("expected indices: %1 actual indices: %2")

View File

@ -75,7 +75,6 @@ void QModelListener::rowsRemovedOrInserted(const QModelIndex & parent, int , int
QVariant var = m_pModel->data(mIndex, Qt::DisplayRole); QVariant var = m_pModel->data(mIndex, Qt::DisplayRole);
QString str = var.toString(); QString str = var.toString();
//qDebug() << "index: " << i << " start: " << start << "end: " << end;
QCOMPARE(str, m_pExpectedStringlist->at(i)); QCOMPARE(str, m_pExpectedStringlist->at(i));
} }
} }