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

Class FakePersistentSharedKeys

Tests/MutableTests.cc:536–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534
535
536 class FakePersistentSharedKeys : public PersistentSharedKeys {
537 protected:
538 bool read() override {return _persistedData && loadFrom(_persistedData);}
539 void write(slice encodedData) override {_persistedData = encodedData;}
540 alloc_slice _persistedData;
541 };
542
543
544 TEST_CASE("Encoding mutable array", "[Mutable]") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected