Main Content

genRunBlockForTestCaseResult

Class: sltest.testmanager.TestResultReport
Namespace: sltest.testmanager

Generate test case configuration and results section

Syntax

groupObj = genRunBlockForTestCaseResult(obj,run,runType,result,simIndex)

Description

groupObj = genRunBlockForTestCaseResult(obj,run,runType,result,simIndex) generates a combined section for baseline data, simulation configuration, parameter overrides, simulation output, criteria comparison, and verify run data.

This method also calls:

Input Arguments

expand all

Test report, specified as a sltest.testmanager.TestResultReport object.

Test case result run data, specified as a Simulink.sdi.Run object.

The run type, specified as a sltest.testmanager.RunTypes object.

Run result, specified as a sltest.testmanager.ReportUtility.ReportResultData object.

Simulation number that the result applies to, specified as an integer, 1 or 2. This setting applies to the simulation test case.

Output Arguments

expand all

The result set section generated by the method, returned as an mlreportgen.dom.Group object.

Version History

Introduced in R2016a