class JournalIntegrationFixture
Defined at line 21 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.h
Public Members
static const uint64_t kBlockCount
static const uint32_t kBlockSize
static const uint32_t kDiskBlocksPerFsBlock
static const uint64_t kSliceSize
static const uint64_t kSliceCount
Public Methods
void JournalIntegrationFixture ()
Defined at line 30 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.cc
void SetUp ()
Performs the operation with no limits and updates write_count_.
Defined at line 33 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.cc
async_dispatcher_t * dispatcher ()
Defined at line 34 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.h
uint64_t write_count ()
Returns the appropriate write count for the operation under test.
Defined at line 37 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.h
std::unique_ptr<Bcache> CutOffDevice (uint64_t allowed_blocks)
Returns a device which attempts to perform the operation, but has a limit
of |allowed_blocks_blocks| writable disk blocks.
Defined at line 39 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.cc
Protected Methods
void PerformOperation (Minfs & fs)
To be overridden by subclasses to perform an operation.
void RecordWriteCount (Minfs & fs)
Records an appropriate write count that can be used to determine a suitable value for
CutOffDevice. PerformOperation may call this, or it will be called automatically by
CountWritesToPerformOperation.
Defined at line 49 of file ../../src/storage/minfs/test/unit/journal_integration_fixture.cc