Crate clipboard_test_helpers
source ·Expand description
Helper traits and methods shared between the clipboard service’s unit tests and integration tests.
Traits
Extension trait for
Result<T, FidlClipboardError>
.Extension trait for working with nested
Result
futures returned from clipboard FIDL
methods.Extensions for
fuchsia_async::TestExecutor
.Functions
Creates a text clipboard item with the given values. Does not fill in a default
mime_type_hint
if the given one is None
.Makes a
FocusedReaderRegistryReaderWriterRequest
for the given ViewRef
.Makes a
FocusedWriterRegistryRequestWriterRequest
for the given ViewRef
.