pub struct TestFramework { /* private fields */ }Implementations§
Source§impl TestFramework
impl TestFramework
Sourcepub fn service_registry(&self) -> Arc<ServiceRegistry>
pub fn service_registry(&self) -> Arc<ServiceRegistry>
Provide a shared ServiceRegistry for tests/plugins
Source§impl TestFramework
impl TestFramework
pub fn new() -> Self
pub fn create_test_environment(&mut self, name: &str) -> Result<String>
pub fn get_environment(&self, name: &str) -> Option<&TestEnvironment>
pub fn set_current_environment(&mut self, name: &str)
pub fn cleanup_all(&mut self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestFramework
impl RefUnwindSafe for TestFramework
impl Send for TestFramework
impl Sync for TestFramework
impl Unpin for TestFramework
impl UnsafeUnpin for TestFramework
impl UnwindSafe for TestFramework
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