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

Method testNullProvider

tests/test_core.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 void testNullProvider() {
128 rcx::NullProvider prov;
129 QVERIFY(!prov.isValid());
130 QVERIFY(!prov.isReadable(0, 1));
131 QCOMPARE(prov.readU8(0), (uint8_t)0);
132 QCOMPARE(prov.readU32(0), (uint32_t)0);
133 }
134
135 void testIsReadable() {
136 QByteArray data(16, '\0');

Callers

nothing calls this directly

Calls 4

isValidMethod · 0.80
readU8Method · 0.80
readU32Method · 0.80
isReadableMethod · 0.45

Tested by

no test coverage detected