Main Content

sltest.testmanager.AssessmentResultSet Class

Namespace: sltest.testmanager

Access logical and temporal assessment result set data

Since R2023b

Description

Use objects of the sltest.testmanager.AssessmentResultSet class to access the logical and temporal assessment results from test executions performed by the Test Manager.

The sltest.testmanager.AssessmentResultSet class is a handle class.

Class Attributes

HandleCompatible
true

For information on class attributes, see Class Attributes.

Creation

The function sltest.testmanager.run creates instances of sltest.testmanager.AssessmentResultSet objects.

Properties

expand all

Name of the assessment result set, specified as a character array.

Attributes:

GetAccess
public
SetAccess
private

Data Types: char

Parent test result from which the assessment result was retrieved, specified as an sltest.testmanager.TestCaseResult or sltest.testmanager.TestIterationResult object.

Attributes:

GetAccess
public
SetAccess
private

Simulation index for an equivalence test case, specified as 1 or 2, where 1 is Simulation 1 and 2 is Simulation 2.

Attributes:

GetAccess
public
SetAccess
private

Logical and temporal assessment results, specified as an array of sltest.testmanager.AssessmentResult objects.

Attributes:

GetAccess
public
SetAccess
private

Examples

collapse all

This example shows how to get assessment results from a test case result.

Import the test results.

results = sltest.testmanager.importResults( ...
    "tc_assessment_results.mldatx");

Get the test case results from the test file results.

tcr = getTestCaseResults(results);

Get and review the assessment result set for the test case.

ar = getAssessmentResults(tcr)
ar = 
  AssessmentResultSet with properties:

                 Name: 'Logical and Temporal Assessments'
               Parent: [1x1 sltest.testmanager.TestCaseResult]
             SimIndex: 1
    AssessmentResults: [1x1 sltest.testmanager.AssessmentResult]

Version History

Introduced in R2023b