class TestThreadingModel

Defined at line 26 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

Implements a |ThreadingModel| on top of the |async::TestLoop| to enable easily writing unit tests

against components that depend on |ThreadingModel|.

Public Methods

void TestThreadingModel (async::TestLoop * test_loop)

Defined at line 28 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

void ~TestThreadingModel ()

Defined at line 29 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

ExecutionDomain & FidlDomain ()

|ThreadingModel|

Defined at line 32 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

ExecutionDomain & IoDomain ()

Defined at line 33 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

OwnedDomainPtr AcquireMixDomain (const std::string & name)

Defined at line 34 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

void Quit ()

Defined at line 37 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h

void RunAndJoinAllThreads ()

Note we should never call this on the |TestThreadingModel|. Execution should instead be

controlled using the |async::TestLoop| used to construct this |ThreadingModel|.

Defined at line 40 of file ../../src/media/audio/audio_core/testing/threading_model_fixture.h