Extensions.TestResultHandling.AddInfoToTestResult

From emotive
Revision as of 08:55, 15 November 2019 by Nb (talk | contribs) (Created by Ngoc Tran.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name AddInfoToTestResult
Short Description adds additional information to a TestResultContainer within a TestResultSession
Class Action
Extension OTX TestResultHandling extension
Group TestResultHandling related Actions
Exceptions testResult:TestResultContainerException
testResult:TestResultException
testResult:TestResultSessionException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ActionRealisation TestResultHandling.AddInfoToTestResult(TestResultSessionTerm testResultSession, TestResultContainerTerm testResultContainer, StringTerm information);

Description

The AddFileToTestResult action adds a file to a TestResultContainer within a TestResultSession by defining the file path. The use case is adding files after evaluating the test result, e.g. adding a CAN trace file in case of a NOT_OK TestResultState.

Properties

Name Data Type Class Default Cardinality Description
testResultSession testResult:TestResultSession Term - [1..1] The TestResultSession in which the test results are to be handled.
testResultContainer testResult:TestResultContainer Term - [1..1] The TestResultContainer which will receive the additional information.
information otx:String Term - [1..1] The textual information which will be added.


See also

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