Main Content

genMetadataBlockForTestResult

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

Generate result metadata section

Syntax

groupObj = genMetadataBlockForTestResult(obj,result,isTestSuiteResult)

Description

groupObj = genMetadataBlockForTestResult(obj,result,isTestSuiteResult) generates a result metadata section for a test suite or test case result.

If called from genTestSuiteResultBlock, then this method also calls:

If called from genTestCaseResultBlock, then this method also calls:

Input Arguments

expand all

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

Result set, specified as a sltest.testmanager.ReportUtility.ReportResultData object.

Flag to indicate whether the test result metadata block is for a test suite result or not, specified as a Boolean, true or false.

Output Arguments

expand all

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

Version History

Introduced in R2016a