pub struct SeaBeeSecurityTestSuite;Trait Implementations§
Source§impl TestSuite for SeaBeeSecurityTestSuite
impl TestSuite for SeaBeeSecurityTestSuite
type CustomTestState = Config
Source§fn custom_state() -> &'static OnceLock<Self::CustomTestState>
fn custom_state() -> &'static OnceLock<Self::CustomTestState>
Provides a reference to a static Self::CustomTestState needed by individual tests
since [libtest_mimic] does not provide a way to pass state into tests
Source§fn system_state() -> &'static OnceLock<TestSystemState>
fn system_state() -> &'static OnceLock<TestSystemState>
Provides a reference to a static TestSystemState needed by individual tests
since [libtest_mimic] does not provide a way to pass state into tests
Source§fn tests() -> Vec<Trial>
fn tests() -> Vec<Trial>
Provides an iterator of tests to pass to the test harness for
different threads to run through.
Source§fn get_system_state() -> Result<&'static TestSystemState, Failed>
fn get_system_state() -> Result<&'static TestSystemState, Failed>
Provides individual tests an easy way to grab the static TestSystemState
Source§fn get_custom_state() -> Result<&'static Self::CustomTestState, Failed>
fn get_custom_state() -> Result<&'static Self::CustomTestState, Failed>
Provides individual tests an easy way to grab the static Self::CustomTestState
Source§fn check_args(final_args: TestSystemState) -> Result<(), Failed>
fn check_args(final_args: TestSystemState) -> Result<(), Failed>
Checks whether the runtime state gathered from the Rust program
or from Linux has changed throughout the lifetime of the tests
Source§fn run_tests(
args: &Arguments,
system_state: TestSystemState,
custom_state: Self::CustomTestState,
) -> Result<(), Failed>where
Self::CustomTestState: 'static,
fn run_tests(
args: &Arguments,
system_state: TestSystemState,
custom_state: Self::CustomTestState,
) -> Result<(), Failed>where
Self::CustomTestState: 'static,
Default test harness lifecycle implementation Read more
Auto Trait Implementations§
impl Freeze for SeaBeeSecurityTestSuite
impl RefUnwindSafe for SeaBeeSecurityTestSuite
impl Send for SeaBeeSecurityTestSuite
impl Sync for SeaBeeSecurityTestSuite
impl Unpin for SeaBeeSecurityTestSuite
impl UnwindSafe for SeaBeeSecurityTestSuite
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more