forked from qt-creator/qt-creator
Debugger: Some infrastructure for stricter watch model testing
Targeting re-use for tooltips, and potentially sorting. Change-Id: I1ce8f4da73ab5ca13cd70d7c651bc76c67f91a39 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -119,6 +119,9 @@ void ModelTest::nonDestructiveBasicTest()
|
||||
QVariant cache;
|
||||
model->match(QModelIndex(), -1, cache);
|
||||
model->mimeTypes();
|
||||
QModelIndex m1 = model->parent(QModelIndex());
|
||||
QModelIndex m2 = QModelIndex();
|
||||
Q_ASSERT(m1 == m2);
|
||||
Q_ASSERT(model->parent(QModelIndex()) == QModelIndex());
|
||||
Q_ASSERT(model->rowCount() >= 0);
|
||||
QVariant variant;
|
||||
|
||||
Reference in New Issue
Block a user