template <typename T>
struct SpanTestTraits
Defined at line 54 of file ../../src/lib/zbitl/tests/span-tests.h
Public Members
static const bool kDefaultConstructedViewHasStorageError
static const bool kExpectExtensibility
static const bool kExpectOneShotReads
static const bool kExpectUnbufferedReads
static const bool kExpectUnbufferedWrites
Public Methods
void Create (size_t size, Context * context)
Defined at line 73 of file ../../src/lib/zbitl/tests/span-tests.h
void Create (fbl::unique_fd fd, size_t size, Context * context)
Defined at line 79 of file ../../src/lib/zbitl/tests/span-tests.h
void Read (const storage_type & storage, payload_type payload, size_t size, std::string * contents)
Defined at line 86 of file ../../src/lib/zbitl/tests/span-tests.h
void Write (storage_type & storage, uint32_t offset, const std::string & data)
Defined at line 94 of file ../../src/lib/zbitl/tests/span-tests.h
void ToPayload (const storage_type & storage, uint32_t offset, payload_type & payload)
Defined at line 100 of file ../../src/lib/zbitl/tests/span-tests.h