expose_mock_paver

Function expose_mock_paver 

Source
pub async fn expose_mock_paver(
    handles: LocalComponentHandles,
    paver_dir_proxy: DirectoryProxy,
) -> Result<(), Error>
Expand description

Connects the local component to a mock paver.

Unlike other mocks, the fuchsia.paver.Paver is serviced by [isolated_ota_env::TestEnv], so this function proxies to the given paver_dir_proxy which is expected to host a file named “fuchsia.paver.Paver” which implements the fuchsia.paver.Paver FIDL protocol.