Function test::test_result::calc_result

source ·
pub fn calc_result<'a>(
    desc: &TestDesc,
    task_result: Result<(), &'a (dyn Any + Send + 'static)>,
    time_opts: &Option<TestTimeOptions>,
    exec_time: &Option<TestExecTime>
) -> TestResult
🔬This is a nightly-only experimental API. (test)
Expand description

Creates a TestResult depending on the raw result of test execution and associated data.