class ThrasherTest

Defined at line 247 of file ../../src/performance/memory/thrasher/tests.cc

Protected Members

MockBlobReaderImpl * mock_blob_reader_ptr_
unique_ptr realm_

Protected Methods

fidl::ClientEnd<ffxfs::BlobReader> CreateRealm (bool route_blob_reader)

Sets up the test realm using RealmBuilder.

Adds the MockBlobReaderImpl as a local component.

Optionally routes the fuchsia.fxfs.BlobReader protocol from the mock to the realm's parent.

Defined at line 256 of file ../../src/performance/memory/thrasher/tests.cc

void TearDown ()

Tears down the test realm, ensuring components are stopped and resources are freed.

The event loop is run to allow asynchronous teardown tasks to complete.

Defined at line 301 of file ../../src/performance/memory/thrasher/tests.cc