Extensions.TestResultHandling.SetEqualityTestResult

From emotive
Revision as of 04:17, 19 November 2019 by Nb (talk | contribs) (Edited by Ngoc Tran.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name SetEqualityTestResult
Short Description Sets the test result of a TestResultContainer within a TestResultSession by evaluating an actual value against a nominal value for equality
Class Action
Extension OTX TestResultHandling extension
Group TestResultHandling related Actions
Exceptions testResult:TestResultContainerException
testResult:TestResultException
testResult:TestResultSessionException
Checker Rules Core_Chk049
TestResultHandling_Chk003
Standard Compliant Yes

OTL Syntax

ActionRealisation TestResultHandling.SetEqualityTestResult(otx:SimpleTerm actualValue, otx:SimpleTerm nominalValue, testResult:TestResultStateVariable testResultState, testResult:TestResultSessionTerm testResultSession, testResult:TestResultContainerTerm testResultContainer, testResult:TestResultSeverityTerm severity, otx:StringTerm description, otx:MapTerm properties);

Description

The SetEqualityTestResult action sets the test result of a TestResultContainer within a TestResultSession by evaluating an actual value against a nominal value for equality.
The behavior is based on the IsEqual term of the OTX Core, please refer to ISO 13209-2.
It inherits its basic members from the abstract type SetTestResult.

Properties

Name Data Type Class Default Cardinality Description
actualValue otx:Simple Term - [1..1] The actual value which will be evaluated against the nominal value.
nominalValue otx:Simple Term - [1..1] The nominal value for the evaluation of the actual value.
testResultState testResult:TestResultState Variable - [0..1] This optional element represents the TestResultState variable which will receive the state of the evaluation.
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).

The keys and values of the map will be only of otx:CountableType (see ISO 13209-2).


See also

AddFileToTestResult
AddInfoToTestResult
CloseTestResultSession
MultipleLimit
MultipleOrSingleLimit
SetDtcTestResult
SetListTestResult
SetMapTestResult
SetTestResult
SetTestResultHandlingLevel
SetToleranceTestResult
SetValueTestResult
GetTestResultContainerByName
GetTestResultSession
GetTestResultState