MCPcopy Create free account
hub / github.com/KDE/kdiff3 / inComment

Method inComment

src/autotests/commentparser.cpp:65–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 void inComment()
66 {
67 DefaultCommentParser test;
68
69 test.mCommentType = DefaultCommentParser::multiLine;
70 QVERIFY(test.inComment());
71
72 test.mCommentType = DefaultCommentParser::singleLine;
73 QVERIFY(test.inComment());
74
75 test.mCommentType = DefaultCommentParser::none;
76 QVERIFY(!test.inComment());
77 }
78
79 void multiLineComment()
80 {

Callers 6

CommentParserTestClass · 0.45
singleLineCommentMethod · 0.45
multiLineCommentMethod · 0.45
stringTestMethod · 0.45
quotedCharacterMethod · 0.45
nonCommentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected