pub struct TestProps {
Show 26 fields pub error_patterns: Vec<String>, pub compile_flags: Vec<String>, pub run_flags: Option<String>, pub pp_exact: Option<PathBuf>, pub aux_builds: Vec<String>, pub rustc_env: Vec<(String, String)>, pub exec_env: Vec<(String, String)>, pub check_lines: Vec<String>, pub build_aux_docs: bool, pub force_host: bool, pub check_stdout: bool, pub no_prefer_dynamic: bool, pub pretty_expanded: bool, pub pretty_mode: String, pub pretty_compare_only: bool, pub forbid_output: Vec<String>, pub revisions: Vec<String>, pub incremental_dir: Option<PathBuf>, pub must_compile_successfully: bool, pub check_test_line_numbers_match: bool, pub run_pass: bool, pub normalize_stdout: Vec<(String, String)>, pub normalize_stderr: Vec<(String, String)>, pub run_rustfix: bool, pub rustfix_only_machine_applicable: bool, pub assembly_output: Option<String>,
}

Fields§

§error_patterns: Vec<String>§compile_flags: Vec<String>§run_flags: Option<String>§pp_exact: Option<PathBuf>§aux_builds: Vec<String>§rustc_env: Vec<(String, String)>§exec_env: Vec<(String, String)>§check_lines: Vec<String>§build_aux_docs: bool§force_host: bool§check_stdout: bool§no_prefer_dynamic: bool§pretty_expanded: bool§pretty_mode: String§pretty_compare_only: bool§forbid_output: Vec<String>§revisions: Vec<String>§incremental_dir: Option<PathBuf>§must_compile_successfully: bool§check_test_line_numbers_match: bool§run_pass: bool§normalize_stdout: Vec<(String, String)>§normalize_stderr: Vec<(String, String)>§run_rustfix: bool§rustfix_only_machine_applicable: bool§assembly_output: Option<String>

Implementations§

source§

impl TestProps

source

pub fn new() -> Self

source

pub fn from_aux_file( &self, testfile: &Path, cfg: Option<&str>, config: &Config ) -> Self

source

pub fn from_file(testfile: &Path, cfg: Option<&str>, config: &Config) -> Self

Trait Implementations§

source§

impl Clone for TestProps

source§

fn clone(&self) -> TestProps

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestProps

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.