template <uint64_t oldest_minor_version>

class VPartitionManagerTestAtRevision

Defined at line 103 of file ../../src/storage/fvm/driver/vpartition_manager_test.cc

Initializes a block device containing an FVM header with one partition with the given oldest

revision.

Protected Members

FakeBlockDevice block_device_
unique_ptr device_
size_t block_op_size_

Public Methods

void SetUp ()

Defined at line 105 of file ../../src/storage/fvm/driver/vpartition_manager_test.cc

zx::result<Metadata> GetMetadata ()

Returns a copy of the FVM metadata written to the block device.

Defined at line 129 of file ../../src/storage/fvm/driver/vpartition_manager_test.cc

zx::result<std::unique_ptr<VPartition>> AllocatePartition (const std::string & name, uint64_t slices)

Create a partition and returns it on success.

Defined at line 152 of file ../../src/storage/fvm/driver/vpartition_manager_test.cc