pub struct CompatCase {
pub name: &'static str,
pub input: &'static str,
pub expected_status: Option<i32>,
pub expected_stdout: Option<&'static str>,
pub compare_with_oracle: bool,
}Expand description
A single compatibility test case.
Fields§
§name: &'static strDescriptive name for the test case.
input: &'static strShell input to execute.
expected_status: Option<i32>Expected exit code (None = don’t check).
expected_stdout: Option<&'static str>Expected stdout content (None = don’t check).
compare_with_oracle: boolWhether to compare against reference shells.
Trait Implementations§
Source§impl Clone for CompatCase
impl Clone for CompatCase
Source§fn clone(&self) -> CompatCase
fn clone(&self) -> CompatCase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompatCase
impl RefUnwindSafe for CompatCase
impl Send for CompatCase
impl Sync for CompatCase
impl Unpin for CompatCase
impl UnsafeUnpin for CompatCase
impl UnwindSafe for CompatCase
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