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

Method compareAnnotationLine

kdevplatform/vcs/tests/test_vcsannotationline.cpp:38–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void TestVcsAnnotationLine::compareAnnotationLine(const VcsAnnotationLine& annotationLine,
39 int lineNumber,
40 const QString& text,
41 const QString& author,
42 const VcsRevision& revision,
43 const QDateTime& date,
44 const QString& commitMessage)
45{
46 QCOMPARE(annotationLine.lineNumber(), lineNumber);
47 QCOMPARE(annotationLine.text(), text);
48 QCOMPARE(annotationLine.author(), author);
49 QCOMPARE(annotationLine.revision(), revision);
50 QCOMPARE(annotationLine.date(), date);
51 QCOMPARE(annotationLine.commitMessage(), commitMessage);
52}
53
54void TestVcsAnnotationLine::testCopyConstructor()
55{

Callers

nothing calls this directly

Calls 6

lineNumberMethod · 0.45
textMethod · 0.45
authorMethod · 0.45
revisionMethod · 0.45
dateMethod · 0.45
commitMessageMethod · 0.45

Tested by

no test coverage detected