pub fn test_server_client<'test_refs, Marker, GetClient, GetClientRes>(
flags: OpenFlags,
server: Arc<dyn DirectoryEntry>,
get_client: GetClient,
) -> AsyncServerClientTestParams<'test_refs, Marker>where
Marker: ProtocolMarker,
GetClient: FnOnce(Marker::Proxy) -> GetClientRes + 'test_refs,
GetClientRes: Future<Output = ()> + 'test_refs,
Expand description
Collects a basic required set of parameters for a server/client test. Additional parameters
can be specified using exec
and coordinator
methods via a builder patter.
Actual execution of the test happen when AsyncServerClientTestParams::run()
method is
invoked.