MCPcopy Create free account
hub / github.com/couchbase/fleece / checkReadString

Method checkReadString

Tests/EncoderTests.cc:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 void checkReadString(const char *str) {
124 auto v = Value::fromData(result);
125 REQUIRE(v != nullptr);
126 REQUIRE(v->type() == kString);
127 REQUIRE(v->asString() == slice(str, strlen(str)));
128 }
129
130 const Array* checkArray(uint32_t count) {
131 auto v = Value::fromData(result);

Callers

nothing calls this directly

Calls 3

sliceClass · 0.85
typeMethod · 0.45
asStringMethod · 0.45

Tested by

no test coverage detected