Remove old debug code from itemmodel tests.
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 23 Dec 2011 04:14:07 +0000 (14:14 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Dec 2011 05:33:50 +0000 (06:33 +0100)
Change-Id: I7c6aeed2d3b593a4dac89e54ef22743d5f736d42
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/itemmodels/qitemselectionmodel/tst_qitemselectionmodel.cpp
tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp

index 4592244..3cc5613 100644 (file)
@@ -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")
index eab8851..d107841 100644 (file)
@@ -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));
     }
 }