struct EfiTestTraits
Defined at line 16 of file ../../src/lib/zbitl/tests/efi-tests.h
This piggy-backs on StdioTestTraits to do the actual storage by using the
efi::StdioFileProtocol wrapper as a bridge.
Public Members
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/efi-tests.h
void Create (fbl::unique_fd fd, size_t size, Context * context)
Defined at line 39 of file ../../src/lib/zbitl/tests/efi-tests.h
void Read (storage_type storage, payload_type payload, size_t size, Bytes * contents)
Defined at line 44 of file ../../src/lib/zbitl/tests/efi-tests.h
void Write (storage_type storage, uint32_t offset, const Bytes & data)
Defined at line 49 of file ../../src/lib/zbitl/tests/efi-tests.h
void ToPayload (storage_type storage, uint32_t offset, payload_type & payload)
Defined at line 54 of file ../../src/lib/zbitl/tests/efi-tests.h