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

Method buffer_fromFile_nonexistent

tests/test_provider.cpp:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 // ---------------------------------------------------------------
239
240 void buffer_fromFile_nonexistent() {
241 auto p = BufferProvider::fromFile("/tmp/__rcx_test_nonexistent_file__");
242 QVERIFY(!p.isValid());
243 QCOMPARE(p.size(), 0);
244 }
245
246 void buffer_fromFile_valid() {
247 // Write a temp file, read it back

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected