| 469 | } |
| 470 | |
| 471 | bool TestProblemModel::checkIsSame(int row, const QModelIndex &parent, const IProblem::Ptr &problem) |
| 472 | { |
| 473 | QModelIndex idx; |
| 474 | |
| 475 | idx = m_model->index(row, 0, parent); |
| 476 | MYVERIFY(idx.isValid()); |
| 477 | MYCOMPARE(m_model->data(idx).toString(), problem->description()); |
| 478 | |
| 479 | return true; |
| 480 | } |
| 481 | |
| 482 | bool TestProblemModel::checkDiagnostics(int row, const QModelIndex &parent) |
| 483 | { |
nothing calls this directly
no test coverage detected