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

Method testPreprocessorColor

tests/test_rendered_view.cpp:259–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 // ── Verify preprocessor color is VS Code purple ──
258
259 void testPreprocessorColor() {
260 QsciScintilla sci;
261 setupRenderedSci(&sci);
262
263 auto* lexer = qobject_cast<QsciLexerCPP*>(sci.lexer());
264 QVERIFY(lexer != nullptr);
265
266 QCOMPARE(lexer->color(QsciLexerCPP::PreProcessor), QColor("#c586c0"));
267 }
268
269 // ── Verify default/identifier text color ──
270

Callers

nothing calls this directly

Calls 1

setupRenderedSciFunction · 0.85

Tested by

no test coverage detected