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

Method setAnnotationLine

kdevplatform/vcs/tests/test_vcsannotationline.cpp:22–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void TestVcsAnnotationLine::setAnnotationLine(VcsAnnotationLine& annotationLine,
23 int lineNumber,
24 const QString& text,
25 const QString& author,
26 const VcsRevision& revision,
27 const QDateTime& date,
28 const QString& commitMessage)
29{
30 annotationLine.setLineNumber(lineNumber);
31 annotationLine.setText(text);
32 annotationLine.setAuthor(author);
33 annotationLine.setRevision(revision);
34 annotationLine.setDate(date);
35 annotationLine.setCommitMessage(commitMessage);
36}
37
38void TestVcsAnnotationLine::compareAnnotationLine(const VcsAnnotationLine& annotationLine,
39 int lineNumber,

Callers

nothing calls this directly

Calls 6

setLineNumberMethod · 0.80
setTextMethod · 0.45
setAuthorMethod · 0.45
setRevisionMethod · 0.45
setDateMethod · 0.45
setCommitMessageMethod · 0.45

Tested by

no test coverage detected