Module test_utils

Source
Expand description

Common utilities used by pseudo-file related tests.

Re-exports§

pub use run::run_client;
pub use run::test_client;

Enums§

AssertVmoContentError
Possible errors for the assert_vmo_content() function.

Functions§

assert_vmo_content
Reads the VMO content and matches it against the expectation.
run_server_client
A thin wrapper around run::run_server_client() that sets the Marker to be [FileMarker], and providing explicit type for the get_client closure argument. This makes it possible for the caller not to provide explicit types.
test_server_client
A thin wrapper around run::test_server_client() that sets the Marker to be [FileMarker], and providing explicit type for the get_client closure argument. This makes it possible for the caller not to provide explicit types.