Struct test_manager_test_lib::TestBuilder
source · pub struct TestBuilder { /* private fields */ }
Expand description
Builds and runs test suite(s).
Implementations§
source§impl TestBuilder
impl TestBuilder
sourcepub fn new(proxy: RunBuilderProxy) -> Self
pub fn new(proxy: RunBuilderProxy) -> Self
Create new instance
sourcepub fn filter_debug_data(self) -> Self
pub fn filter_debug_data(self) -> Self
Filter out debug data. On coverage builders, tests executed under test_manager produce coverage profile. This option is useful for ignoring these and ensuring the caller observes the same events on all builders.
pub fn take_proxy(self) -> RunBuilderProxy
pub fn set_scheduling_options( &self, accumulate_debug_data: bool ) -> Result<(), Error>
sourcepub async fn add_suite(
&self,
test_url: &str,
run_options: RunOptions
) -> Result<SuiteRunInstance, Error>
pub async fn add_suite( &self, test_url: &str, run_options: RunOptions ) -> Result<SuiteRunInstance, Error>
Add suite to run.
sourcepub async fn add_suite_in_realm(
&self,
realm: ClientEnd<RealmMarker>,
offers: &[Offer],
test_collection: &str,
test_url: &str,
run_options: RunOptions
) -> Result<SuiteRunInstance, Error>
pub async fn add_suite_in_realm( &self, realm: ClientEnd<RealmMarker>, offers: &[Offer], test_collection: &str, test_url: &str, run_options: RunOptions ) -> Result<SuiteRunInstance, Error>
Add suite to run in a realm.
Auto Trait Implementations§
impl !RefUnwindSafe for TestBuilder
impl Send for TestBuilder
impl Sync for TestBuilder
impl Unpin for TestBuilder
impl !UnwindSafe for TestBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more