Trait conformer::TestCase[][src]

pub trait TestCase<TypeToTest> {
    fn run(self: Box<Self>, type_to_test: TypeToTest) -> TestCaseResult;
fn as_any(&self) -> &dyn Any; }

Used to indicate a type that can be used to create test cases to test some aspect of a Renderer.

Required methods

fn run(self: Box<Self>, type_to_test: TypeToTest) -> TestCaseResult[src]

Ok if the test case was successful, otherwise an error message is returned.

fn as_any(&self) -> &dyn Any[src]

Useful for downcasting.

fn as_any(&self) -> &dyn std::any::Any {
    self
}
#}
Loading content...

Implementors

Loading content...