Change-Id: I7c6aeed2d3b593a4dac89e54ef22743d5f736d42
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
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")
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));
}
}