pub struct FerroTestAssembly {
pub name: &'static str,
pub test_application: Option<FerroTestApplicationAttribute>,
pub test_isolation: Option<FerroTestIsolationAttribute>,
}Expand description
A test assembly as the session sees it: its name, by which
HeadlessUnitTestSession::get_or_start_for_assembly keeps one session
per assembly, and the two assembly attributes of the original. A test
crate declares one as a static.
Fields§
§name: &'static strThe name of the assembly: the name of the test crate, or of a part of it that has an application and an isolation level of its own.
test_application: Option<FerroTestApplicationAttribute>The application of the tests; an empty application when None.
test_isolation: Option<FerroTestIsolationAttribute>The isolation of the tests; FerroTestIsolationLevel::PerTest when
None.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FerroTestAssembly
impl RefUnwindSafe for FerroTestAssembly
impl Send for FerroTestAssembly
impl Sync for FerroTestAssembly
impl Unpin for FerroTestAssembly
impl UnsafeUnpin for FerroTestAssembly
impl UnwindSafe for FerroTestAssembly
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more