Struct cmake_parser::command::ctest::CTestTest
source · pub struct CTestTest<'t> {Show 23 fields
pub build_dir: Option<Token<'t>>,
pub append: bool,
pub start: Option<Token<'t>>,
pub end: Option<Token<'t>>,
pub stride: Option<Token<'t>>,
pub exclude: Option<Token<'t>>,
pub include: Option<Token<'t>>,
pub exclude_label: Option<Token<'t>>,
pub include_label: Option<Token<'t>>,
pub exclude_fixture: Option<Token<'t>>,
pub exclude_fixture_setup: Option<Token<'t>>,
pub exclude_fixture_cleanup: Option<Token<'t>>,
pub parallel_level: Option<Token<'t>>,
pub resource_spec_file: Option<Token<'t>>,
pub test_load: Option<Token<'t>>,
pub schedule_random: Option<ScheduleRandom>,
pub stop_on_failure: bool,
pub stop_time: Option<Token<'t>>,
pub return_value: Option<Token<'t>>,
pub capture_cmake_error: Option<Token<'t>>,
pub repeat: Option<Token<'t>>,
pub output_junit: Option<Token<'t>>,
pub quiet: bool,
}
Expand description
Perform the CTest Test Step as a Dashboard Client.
Reference: https://cmake.org/cmake/help/v3.26/command/ctest_test.html
Fields§
§build_dir: Option<Token<'t>>
§append: bool
§start: Option<Token<'t>>
§end: Option<Token<'t>>
§stride: Option<Token<'t>>
§exclude: Option<Token<'t>>
§include: Option<Token<'t>>
§exclude_label: Option<Token<'t>>
§include_label: Option<Token<'t>>
§exclude_fixture: Option<Token<'t>>
§exclude_fixture_setup: Option<Token<'t>>
§exclude_fixture_cleanup: Option<Token<'t>>
§parallel_level: Option<Token<'t>>
§resource_spec_file: Option<Token<'t>>
§test_load: Option<Token<'t>>
§schedule_random: Option<ScheduleRandom>
§stop_on_failure: bool
§stop_time: Option<Token<'t>>
§return_value: Option<Token<'t>>
§capture_cmake_error: Option<Token<'t>>
§repeat: Option<Token<'t>>
§output_junit: Option<Token<'t>>
§quiet: bool
Trait Implementations§
source§impl<'t> CMakeParse<'t> for CTestTest<'t>
impl<'t> CMakeParse<'t> for CTestTest<'t>
fn parse<'tv>( tokens: &'tv [Token<'t>] ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn complete(tokens: &[Token<'t>]) -> Result<Self, CommandParseError>
fn default_value() -> Option<Self>
fn matches( &self, field_keyword: &[u8], keyword: &[u8], tokens: &[Token<'t>] ) -> bool
fn matches_type( field_keyword: &[u8], keyword: &[u8], tokens: &[Token<'t>] ) -> bool
fn need_update( field_keyword: &[u8], keyword: &Token<'t>, buffer: &[Token<'t>] ) -> bool
fn start<'tv>( &mut self, field_keyword: &[u8], keyword: &Token<'t>, tokens: &'tv [Token<'t>], buffer: &mut Vec<Token<'t>> ) -> Result<(bool, &'tv [Token<'t>]), CommandParseError>
fn rest<'tv>(tokens: &'tv [Token<'t>]) -> &'tv [Token<'t>]
fn need_push_keyword(keyword: &Token<'t>) -> bool
fn update_mode(keyword: &Token<'t>) -> bool
fn update<'tv>( &mut self, tokens: &'tv [Token<'t>] ) -> Result<(), CommandParseError>
fn end<'tv>(self, tokens: &'tv [Token<'t>]) -> Result<Self, CommandParseError>
fn push_keyword( &mut self, buffer: &mut Vec<Token<'t>>, keyword: &Token<'t> ) -> bool
fn reset_mode() -> bool
source§impl<'t> CMakePositional<'t> for CTestTest<'t>
impl<'t> CMakePositional<'t> for CTestTest<'t>
fn positional<'tv>( default_name: &'static [u8], tokens: &'tv [Token<'t>], has_keyword: bool ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn positional_complete<'tv>( default_name: &'static [u8], tokens: &'tv [Token<'t>], has_keyword: bool ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
source§impl<'t> Ord for CTestTest<'t>
impl<'t> Ord for CTestTest<'t>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'t> PartialEq for CTestTest<'t>
impl<'t> PartialEq for CTestTest<'t>
source§impl<'t> PartialOrd for CTestTest<'t>
impl<'t> PartialOrd for CTestTest<'t>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'t> ToCommandScope for CTestTest<'t>
impl<'t> ToCommandScope for CTestTest<'t>
fn to_command_scope(&self) -> CommandScope
impl<'t> Eq for CTestTest<'t>
impl<'t> StructuralPartialEq for CTestTest<'t>
Auto Trait Implementations§
impl<'t> Freeze for CTestTest<'t>
impl<'t> RefUnwindSafe for CTestTest<'t>
impl<'t> Send for CTestTest<'t>
impl<'t> Sync for CTestTest<'t>
impl<'t> Unpin for CTestTest<'t>
impl<'t> UnwindSafe for CTestTest<'t>
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