pub struct IntegrationTestHarness { /* private fields */ }Expand description
Integration test harness
Implementations§
Source§impl IntegrationTestHarness
impl IntegrationTestHarness
Sourcepub fn new(config: IntegrationTestConfig) -> Self
pub fn new(config: IntegrationTestConfig) -> Self
Create a new test harness
Sourcepub fn run(&mut self) -> IntegrationTestResult
pub fn run(&mut self) -> IntegrationTestResult
Run the integration test
Sourcepub fn nodes(&self) -> &[SimulatedNode]
pub fn nodes(&self) -> &[SimulatedNode]
Get nodes for inspection
Sourcepub fn nodes_mut(&mut self) -> &mut [SimulatedNode]
pub fn nodes_mut(&mut self) -> &mut [SimulatedNode]
Get mutable nodes
Auto Trait Implementations§
impl Freeze for IntegrationTestHarness
impl RefUnwindSafe for IntegrationTestHarness
impl Send for IntegrationTestHarness
impl Sync for IntegrationTestHarness
impl Unpin for IntegrationTestHarness
impl UnsafeUnpin for IntegrationTestHarness
impl UnwindSafe for IntegrationTestHarness
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