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

Method span_fileProvider

tests/test_command_row.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void span_fileProvider() {
102 BufferProvider p(QByteArray(4, '\0'), "dump.bin");
103 QString row = buildCommandRow(p, 0x140000000ULL);
104 auto span = commandRowSrcSpan(row);
105 QVERIFY(span.valid);
106 QString extracted = row.mid(span.start, span.end - span.start);
107 QCOMPARE(extracted, QStringLiteral("'dump.bin'"));
108 }
109
110 void span_processProvider_simulated() {
111 // Simulate a process provider without needing Windows APIs

Callers

nothing calls this directly

Calls 2

buildCommandRowFunction · 0.85
commandRowSrcSpanFunction · 0.70

Tested by

no test coverage detected