OTX Reference  
OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetEqualityTestResult Class Reference

Sets the TestResult by an actual value against a nominal value for equality More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetEqualityTestResult:
Inheritance graph

Public Attributes

SimpleTerm actualValue
 The actual value which shall be evaluated against the nominal value. More...
 
SimpleTerm nominalValue
 The nominal value for the evaluation of the actual value. More...
 
TestResultStateVariable testResultState
 This optional element represents the TestResultState variable which shall receive the state of the evaluation. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult
StringTerm description
 This optional element can be used for a textual description of the test result. More...
 
MapTerm properties
 This optional element can be used for setting properties of the test result (e.g. a print condition, an identifier for forwarding the result value to a downstream IT system). The keys and values of the map shall be only of otx:CountableType. More...
 
TestResultSeverityTerm severity
 This element represents the TestResultSeverity of the test result. More...
 
TestResultContainerTerm testResultContainer
 The TestResultContainer which shall receive the test result. More...
 
TestResultSessionTerm testResultSession
 The TestResultSession in which the test results are to be handled. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Sets the TestResult by an actual value against a nominal value for equality

The SetEqualityTestResult activity to sets the result of a TestResultContainer within a TestResultSession by evaluating an actual value against a nominal value for equality.

Exceptions
Exceptions.TestResultContainerExceptionIf the TestResultContainer is a parent TestResultContainer with child TestResultContainers.
Exceptions.TestResultExceptionIf a test result value element is not valid for the test result handling framework, e.g. the data size of the actual value is too large.
Checker rules
CheckerRule.TestResultHandling_Chk003 - correct element types for properties map
Core.CheckerRule.Core_Chk049 - uniform relation operand type
Syntax
TestResultHandling.SetEqualityTestResult(TestResultSessionTerm testResultSession, TestResultContainerTerm testResultContainer, SimpleTerm actualValue, SimpleTerm nominalValue, TestResultStateVariable testResultState = NULL, TestResultSeverityTerm severity = @TestResultSeverity:TRACK, StringTerm description = "", MapTerm properties = NULL);
SimpleTerm nominalValue
The nominal value for the evaluation of the actual value.
Definition: TestResultHandling.cs:1397
TestResultStateVariable testResultState
This optional element represents the TestResultState variable which shall receive the state of the ev...
Definition: TestResultHandling.cs:1407
SimpleTerm actualValue
The actual value which shall be evaluated against the nominal value.
Definition: TestResultHandling.cs:1387
TestResultSessionTerm testResultSession
The TestResultSession in which the test results are to be handled.
Definition: TestResultHandling.cs:883
TestResultSeverityTerm severity
This element represents the TestResultSeverity of the test result.
Definition: TestResultHandling.cs:905
MapTerm properties
This optional element can be used for setting properties of the test result (e.g. a print condition,...
Definition: TestResultHandling.cs:925
StringTerm description
This optional element can be used for a textual description of the test result.
Definition: TestResultHandling.cs:915
TestResultContainerTerm testResultContainer
The TestResultContainer which shall receive the test result.
Definition: TestResultHandling.cs:893
Examples
// Local Declarations
TestResultHandling.TestResultSession TestResultSession1;
TestResultHandling.TestResultContainer TestResultContainer1;
TestResultHandling.TestResultState TestResultState1 = @TestResultState:NOT_TESTED;
// Flow
TestResultSession1 = TestResultHandling.GetTestResultSession("emotive", "244");
TestResultContainer1 = TestResultHandling.GetTestResultContainerByName(TestResultCon2);
TestResultHandling.SetEqualityTestResult(TestResultSession1, TestResultContainer1, NULL, NULL, NULL, "emotive", "emotive", TestResultState1);
TestResultHandling.CloseTestResultSession(TestResultSession1);
@ NOT_TESTED
The TestResultContainer has not been tested yet.This is the most critical state.

Member Data Documentation

◆ actualValue

SimpleTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetEqualityTestResult.actualValue

The actual value which shall be evaluated against the nominal value.

◆ nominalValue

SimpleTerm OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetEqualityTestResult.nominalValue

The nominal value for the evaluation of the actual value.

◆ testResultState

TestResultStateVariable OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetEqualityTestResult.testResultState

This optional element represents the TestResultState variable which shall receive the state of the evaluation.