MCPcopy Create free account
hub / github.com/KDE/kdevelop / checkIsSame

Method checkIsSame

kdevplatform/shell/tests/test_problemmodel.cpp:471–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471bool 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
482bool TestProblemModel::checkDiagnostics(int row, const QModelIndex &parent)
483{

Callers

nothing calls this directly

Calls 5

indexMethod · 0.45
isValidMethod · 0.45
toStringMethod · 0.45
dataMethod · 0.45
descriptionMethod · 0.45

Tested by

no test coverage detected