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

Method buffer_emptyIsNotValid

tests/test_provider.cpp:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 // ---------------------------------------------------------------
64
65 void buffer_emptyIsNotValid() {
66 BufferProvider p(QByteArray{});
67 QVERIFY(!p.isValid());
68 QCOMPARE(p.size(), 0);
69 }
70
71 void buffer_nonEmptyIsValid() {
72 BufferProvider p(QByteArray(16, '\0'));

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected