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

Method span_selectSource

tests/test_command_row.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 // ---------------------------------------------------------------
92
93 void span_selectSource() {
94 QString row = buildCommandRow(NullProvider{}, 0);
95 auto span = commandRowSrcSpan(row);
96 QVERIFY(span.valid);
97 QString extracted = row.mid(span.start, span.end - span.start);
98 QCOMPARE(extracted, QStringLiteral("source"));
99 }
100
101 void span_fileProvider() {
102 BufferProvider p(QByteArray(4, '\0'), "dump.bin");

Callers

nothing calls this directly

Calls 2

buildCommandRowFunction · 0.85
commandRowSrcSpanFunction · 0.70

Tested by

no test coverage detected