class FakeBlockDirectory

Defined at line 215 of file ../../src/firmware/paver/test/test-utils.h

Creates fake partitions under /block.

This allows mocking out partitions that are not directly provided by the GPT but are routed

explicitly, e.g. when a device has multiple GPTs but only provides the first by default.

Public Methods

void FakeBlockDirectory (async_dispatcher_t * dispatcher, std::vector<block_server::PartitionInfo> partitions)

Defined at line 298 of file ../../src/firmware/paver/test/test-utils.cc

fbl::unique_fd DuplicateBlockDirFd ()

Defined at line 322 of file ../../src/firmware/paver/test/test-utils.cc