Extensions.TestResultHandling.SetMapTestResult
Classification
Name | SetMapTestResult |
Short Description | Sets the result of a TestResultContainer within a TestResultSession |
Class | Action |
Extension | OTX TestResultHandling extension |
Group | TestResultHandling related Actions |
Exceptions | testResult:TestResultContainerException testResult:TestResultException testResult:TestResultSessionException |
Checker Rules | TestResultHandling_Chk003 TestResultHandling_Chk005 |
Standard Compliant | Yes |
OTL Syntax
ActionRealisation TestResultHandling.SetMapTestResult(otx:MapTerm map, testResult:TestResultStateTerm testResultState, testResult:TestResultSessionTerm testResultSession, testResult:TestResultContainerTerm testResultContainer, testResult:TestResultSeverityTerm severity, otx:StringTerm description, otx:MapTerm properties);
Description
The SetMapTestResult action sets the result of a TestResultContainer within a TestResultSession by assigning a Map with SimpleType values and a defined TestResultState.
It inherits its basic members from the abstract type SetTestResult.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
list | otx:Map | Term | - | [1..1] | A map which will be assigned to the test result. The values of the map will be only of otx:SimpleType (see ISO 13209-2). |
testResultState | testResult:TestResultState | Term | - | [1..1] | The TestResultState which is to defined. |
testResultSession | testResult:TestResultSession | Term | - | [1..1] | (derived from SetTestResult) The TestResultSession in which the test results are to be handled. |
testResultContainer | testResult:TestResultContainer | Term | - | [1..1] | (derived from SetTestResult) The TestResultContainer which will receive the test result. |
severity | testResult:TestResultSeverity | Term | TRACK | [0..1] | (derived from SetTestResult) This element represents the TestResultSeverity of the test result. |
description | otx:String | Term | - | [0..1] | (derived from SetTestResult) This optional element can be used for a textual description of the test result. |
properties | otx:Map | Term | - | [0..1] | (derived from SetTestResult) This optional element can be used for setting properties of the test result (e.g. a print condition, an identifier for forwarding the test result value to a downstream IT system). |