Struct hotg_rune_integration_tests::Test
source · [−]pub struct Test {
pub directory: PathBuf,
pub expected_output: Vec<MatchStdioStream>,
pub name: FullName,
}
Fields
directory: PathBuf
expected_output: Vec<MatchStdioStream>
name: FullName
Implementations
sourceimpl Test
impl Test
pub fn for_directory(directory: impl AsRef<Path>) -> Result<Self, Error>
pub fn is_ignored(&self) -> bool
pub fn run(&self, ctx: &TestContext) -> Outcome
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Test
impl Send for Test
impl Sync for Test
impl Unpin for Test
impl UnwindSafe for Test
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more