MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testCommentColor

Method testCommentColor

tests/test_rendered_view.cpp:221–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 // ── Verify comment color is VS Code green ──
220
221 void testCommentColor() {
222 QsciScintilla sci;
223 setupRenderedSci(&sci);
224
225 auto* lexer = qobject_cast<QsciLexerCPP*>(sci.lexer());
226 QVERIFY(lexer != nullptr);
227
228 QCOMPARE(lexer->color(QsciLexerCPP::Comment), QColor("#6a9955"));
229 QCOMPARE(lexer->color(QsciLexerCPP::CommentLine), QColor("#6a9955"));
230 }
231
232 // ── Verify number color is VS Code light green ──
233

Callers

nothing calls this directly

Calls 1

setupRenderedSciFunction · 0.85

Tested by

no test coverage detected