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

Method checkLabel

kdevplatform/shell/tests/test_problemmodel.cpp:533–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533bool TestProblemModel::checkLabel(int row, const QModelIndex &parent, const QString &label)
534{
535 QModelIndex idx = m_model->index(row, 0, parent);
536 MYVERIFY(idx.isValid());
537 MYCOMPARE(m_model->data(idx).toString(), label);
538
539 return true;
540}
541
542bool TestProblemModel::checkPathGroup(int row, const IProblem::Ptr &problem)
543{

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected