pub struct RunBuilderProxy { /* private fields */ }
Implementations§
Source§impl RunBuilderProxy
impl RunBuilderProxy
Sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.test.manager/RunBuilder.
Sourcepub fn take_event_stream(&self) -> RunBuilderEventStream
pub fn take_event_stream(&self) -> RunBuilderEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn add_suite(
&self,
test_url: &str,
options: &RunOptions,
controller: ServerEnd<SuiteControllerMarker>,
) -> Result<(), Error>
pub fn add_suite( &self, test_url: &str, options: &RunOptions, controller: ServerEnd<SuiteControllerMarker>, ) -> Result<(), Error>
Add a suite to this run. A suite is a component that implements
fuchsia.test.Suite
. Implementors of this API will talk to test suites
using “Suite” protocol and return results using controller
. The
controller is also used to control the execution of the test suite.
Sourcepub fn add_suite_in_realm(
&self,
realm: ClientEnd<RealmMarker>,
offers: &[Offer],
test_collection: &str,
test_url: &str,
options: &RunOptions,
controller: ServerEnd<SuiteControllerMarker>,
) -> Result<(), Error>
pub fn add_suite_in_realm( &self, realm: ClientEnd<RealmMarker>, offers: &[Offer], test_collection: &str, test_url: &str, options: &RunOptions, controller: ServerEnd<SuiteControllerMarker>, ) -> Result<(), Error>
Add a suite to this run which would run in provided ‘realm’. A suite is
a component that implements fuchsia.test.Suite
. Implementors of this
API will talk to test suites using “Suite” protocol and return results
using controller
. The controller is also used to control the execution
of the test suite.
Sourcepub fn with_scheduling_options(
&self,
options: &SchedulingOptions,
) -> Result<(), Error>
pub fn with_scheduling_options( &self, options: &SchedulingOptions, ) -> Result<(), Error>
Specify scheduling options used for this run.
Trait Implementations§
Source§impl Clone for RunBuilderProxy
impl Clone for RunBuilderProxy
Source§fn clone(&self) -> RunBuilderProxy
fn clone(&self) -> RunBuilderProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RunBuilderProxy
impl Debug for RunBuilderProxy
Source§impl Proxy for RunBuilderProxy
impl Proxy for RunBuilderProxy
Source§type Protocol = RunBuilderMarker
type Protocol = RunBuilderMarker
Proxy
controls.