This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

sltest.testmanager.CustomCriteriaResult class

Package: sltest.testmanager

View custom criteria test result


An instance of sltest.testmanager.CustomCriteriaResult is a test result of the evaluation of custom criteria.


obj = getCustomCriteriaResult(tcr) creates an sltest.testmanager.CustomCriteriaResult object for a test case result object tcr.

obj = getCustomCriteriaResult(tir) creates an sltest.testmanager.CustomCriteriaResult object for a test iteration result object tir.


expand all

Custom criteria result, returned as an sltest.testmanager.TestResultOutcomes object.

Example: Passed

Diagnostic record of the custom criteria result, returned as an sltest.testmanager.DiagnosticRecord object.

Example: DiagnosticRecord


collapse all

Run the test case tc, creating a result set tcResultSet.

tcResultSet = run(tc);

Get the test case result from the result set.

tcResult = getTestCaseResults(tcResultSet);

Get the custom criteria result from the test case result.

ccResult = getCustomCriteriaResult(tcResult);

Introduced in R2016b