Difference between revisions of "Extensions.TestResultHandling.SetEqualityTestResult"

From emotive
Jump to navigation Jump to search
(Created by Ngoc Tran.)
 
(Edited by Ngoc Tran.)
 
Line 1: Line 1:
{{DISPLAYTITLE:OTX '''AddInfoToTestResult'''}}[[Category:TestResultHandling]]
+
{{DISPLAYTITLE:OTX '''SetEqualityTestResult'''}}[[Category:TestResultHandling]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | AddInfoToTestResult | Sets the test result of a [[Extensions.TestResultHandling.TestResultContainer|TestResultContainer]] within a [[Extensions.TestResultHandling.TestResultSession|TestResultSession]] by evaluating an actual value against a nominal value for equality | [[Action]] | [[Extensions.TestResultHandling|OTX TestResultHandling extension]] | [[Extensions.TestResultHandling#Actions|TestResultHandling related Actions]]| [[Extensions.TestResultHandling.TestResultContainerException|testResult:TestResultContainerException]] <br/> [[Extensions.TestResultHandling.TestResultException|testResult:TestResultException]] <br/> [[Extensions.TestResultHandling.TestResultSessionException|testResult:TestResultSessionException]] | [[Core.Validation.CoreChk049|Core_Chk049]] <br /> [[Extensions.TestResultHandling.TestResultHandlingChk003|TestResultHandling_Chk003]] |}}
+
{{ClassificationActivity | SetEqualityTestResult | Sets the test result of a [[Extensions.TestResultHandling.TestResultContainer|TestResultContainer]] within a [[Extensions.TestResultHandling.TestResultSession|TestResultSession]] by evaluating an actual value against a nominal value for equality | [[Action]] | [[Extensions.TestResultHandling|OTX TestResultHandling extension]] | [[Extensions.TestResultHandling#Actions|TestResultHandling related Actions]]| [[Extensions.TestResultHandling.TestResultContainerException|testResult:TestResultContainerException]] <br/> [[Extensions.TestResultHandling.TestResultException|testResult:TestResultException]] <br/> [[Extensions.TestResultHandling.TestResultSessionException|testResult:TestResultSessionException]] | [[Core.Validation.CoreChk049|Core_Chk049]] <br /> [[Extensions.TestResultHandling.TestResultHandlingChk003|TestResultHandling_Chk003]] |}}
  
 
== OTL Syntax ==
 
== OTL Syntax ==

Latest revision as of 04:17, 19 November 2019

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