struct FdTestTraits
Defined at line 17 of file ../../src/lib/zbitl/tests/fd-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 34 of file ../../src/lib/zbitl/tests/fd-tests.h
void Create (fbl::unique_fd fd, size_t size, Context * context)
Defined at line 53 of file ../../src/lib/zbitl/tests/fd-tests.h
void Read (const storage_type & storage, payload_type payload, size_t size, std::string * contents)
Defined at line 58 of file ../../src/lib/zbitl/tests/fd-tests.h
void Read (const storage_type & storage, payload_type payload, size_t size, std::string * contents)
Defined at line 58 of file ../../src/lib/zbitl/tests/fd-tests.h
void Write (storage_type & storage, uint32_t offset, const std::string & data)
Defined at line 66 of file ../../src/lib/zbitl/tests/fd-tests.h
void ToPayload (const storage_type & storage, uint32_t offset, payload_type & payload)
Defined at line 72 of file ../../src/lib/zbitl/tests/fd-tests.h
void ToPayload (const storage_type & storage, uint32_t offset, payload_type & payload)
Defined at line 72 of file ../../src/lib/zbitl/tests/fd-tests.h