pub struct TestSummary {Show 13 fields
pub parse_results: TestResultHierarchy,
pub parse_failures: Vec<TestFailure>,
pub parse_stats: Stats,
pub has_parse_errors: bool,
pub parse_stat_display: TestStats,
pub highlight_results: TestResultHierarchy,
pub tag_results: TestResultHierarchy,
pub query_results: TestResultHierarchy,
pub test_num: usize,
pub color: bool,
pub overview_only: bool,
pub update: bool,
pub json: bool,
}Expand description
A stateful object used to collect results from running a grammar’s test suite
Fields§
§parse_results: TestResultHierarchy§parse_failures: Vec<TestFailure>§parse_stats: Stats§has_parse_errors: bool§parse_stat_display: TestStats§highlight_results: TestResultHierarchy§tag_results: TestResultHierarchy§query_results: TestResultHierarchy§test_num: usize§color: bool§overview_only: bool§update: bool§json: boolImplementations§
Trait Implementations§
Source§impl Debug for TestSummary
impl Debug for TestSummary
Source§impl Default for TestSummary
impl Default for TestSummary
Source§fn default() -> TestSummary
fn default() -> TestSummary
Returns the “default value” for a type. Read more
Source§impl Display for TestSummary
impl Display for TestSummary
Source§impl JsonSchema for TestSummary
impl JsonSchema for TestSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for TestSummary
impl RefUnwindSafe for TestSummary
impl Send for TestSummary
impl Sync for TestSummary
impl Unpin for TestSummary
impl UnwindSafe for TestSummary
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