Struct integra8_decorations::ComponentGroup
source · [−]pub struct ComponentGroup<TParameters> {
pub suite: Option<SuiteAttributesDecoration>,
pub tests: Vec<TestDecoration<TParameters>>,
pub setups: Vec<BookEndDecoration<TParameters>>,
pub tear_downs: Vec<BookEndDecoration<TParameters>>,
pub sub_groups: Vec<ComponentGroup<TParameters>>,
}
Fields
suite: Option<SuiteAttributesDecoration>
tests: Vec<TestDecoration<TParameters>>
setups: Vec<BookEndDecoration<TParameters>>
tear_downs: Vec<BookEndDecoration<TParameters>>
sub_groups: Vec<ComponentGroup<TParameters>>
Implementations
sourceimpl<TParameters: TestParameters> ComponentGroup<TParameters>
impl<TParameters: TestParameters> ComponentGroup<TParameters>
pub fn into_root_component<ComponentsIterator>(
components: ComponentsIterator,
parameters: &TParameters
) -> Suite<TParameters> where
ComponentsIterator: IntoIterator<Item = ComponentDecoration<TParameters>>,
Trait Implementations
Auto Trait Implementations
impl<TParameters> RefUnwindSafe for ComponentGroup<TParameters>
impl<TParameters> Send for ComponentGroup<TParameters>
impl<TParameters> Sync for ComponentGroup<TParameters>
impl<TParameters> Unpin for ComponentGroup<TParameters>
impl<TParameters> UnwindSafe for ComponentGroup<TParameters>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more