template <typename ServerT, template <typename T> class SyncClientT>

class TestServerAndSyncClient

Defined at line 33 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

Wrapper that includes a test server and a client. The server and client live until this wrapper

is destroyed. The destructor closes the client side of the connection then blocks until the

server detects that connection close and shuts itself down.

The type ServerT must be a subclass of BaseFidlServer.

Public Methods

template <typename... Args>
void TestServerAndSyncClient<ServerT, SyncClientT> (std::shared_ptr<const FidlThread> thread, Args... args)

Defined at line 38 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

void ~TestServerAndSyncClient<ServerT, SyncClientT> ()

Defined at line 48 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

void TestServerAndSyncClient<ServerT, SyncClientT> (const TestServerAndSyncClient<ServerT, SyncClientT> & )

Defined at line 53 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

TestServerAndSyncClient<ServerT, SyncClientT> & operator= (const TestServerAndSyncClient<ServerT, SyncClientT> & )

Defined at line 54 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

void TestServerAndSyncClient<ServerT, SyncClientT> (TestServerAndSyncClient<ServerT, SyncClientT> && )

Defined at line 56 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

TestServerAndSyncClient<ServerT, SyncClientT> & operator= (TestServerAndSyncClient<ServerT, SyncClientT> && )

Defined at line 57 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

ServerT & server ()

Defined at line 59 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

std::shared_ptr<ServerT> server_ptr ()

Defined at line 60 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h

SyncClientT<Protocol> & client ()

Defined at line 61 of file ../../src/media/audio/services/common/testing/test_server_and_sync_client.h