pub struct CommonAvailabilityTest<T: RoutingTestModelBuilder> { /* private fields */ }
Implementations§
Source§impl<T: RoutingTestModelBuilder> CommonAvailabilityTest<T>
impl<T: RoutingTestModelBuilder> CommonAvailabilityTest<T>
pub fn new() -> Self
pub async fn test_offer_availability_successful_routes(&self)
pub async fn test_offer_availability_invalid_routes(&self)
Sourcepub async fn test_expose_availability_successful_routes(&self)
pub async fn test_expose_availability_successful_routes(&self)
Creates the following topology:
a
/
/
b
And verifies exposing a variety of capabilities from b
, testing the combination of
availability settings and capability types.
Storage and event stream capabilities cannot be exposed, hence omitted.
Sourcepub async fn test_expose_availability_invalid_routes(&self)
pub async fn test_expose_availability_invalid_routes(&self)
Creates the following topology:
a
/
/
b
And verifies exposing a variety of capabilities from b
. Except that either the route is
broken, or the rules around availability are broken.
Auto Trait Implementations§
impl<T> Freeze for CommonAvailabilityTest<T>
impl<T> RefUnwindSafe for CommonAvailabilityTest<T>where
T: RefUnwindSafe,
impl<T> Send for CommonAvailabilityTest<T>where
T: Send,
impl<T> Sync for CommonAvailabilityTest<T>where
T: Sync,
impl<T> Unpin for CommonAvailabilityTest<T>where
T: Unpin,
impl<T> UnwindSafe for CommonAvailabilityTest<T>where
T: UnwindSafe,
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