class UPact
Package: swiss.avm.up.core.generic.testing.javamodel.UPact
Direct Known Subclasses:
class UPact extends Resource, AnnotableComment
UPact is a comprehensive framework for testing elements of an application as well as the entire software.
In general, all elements of a controller's interface can be tested using UPact.
Properties
comment
Describes the intent of this Resource.
TextLiteral[0..1]
A Literal that accepts multiple lines of text.
legacyTestFramework
If this option is activated, the legacy test environment is loaded onto the controller and activated.
BooleanLiteral[0..1]
A literal where only the two values 'false' and 'true' are accepted.
testSuite
Define a sequence of test cases.
ATestSuite[0..N]
testSuiteInstance
Select a suite or define a sequence of suites, which may be executed on a target.
SuiteInstance[0..N]
Previously defined test suites can be instantiated with this class. This makes it possible to execute the same test suite in different constellations.
testTargetConfig
Activate plattform configuration(s) as target(s) for UPact tests.
- necessary unless legacy framework is used
TestTargetConfig[0..1]
Declaration of test target platform configurations
Method Summary
getAllSuiteInstances
@TestingFunctionSpace
Return:
List<SuiteSelect>
getAllTestCaseInstances
@TestingFunctionSpace
AutomaticCodeTesting.testSuite.getTestSuites@TestingFunctionSpace.testCaseInstance
Return:
List<TestCaseInstance>
getAllTestSuites
@TestingFunctionSpace
Return:
List<TestSuite>
getMaxSuiteControlId
@TestingFunctionSpace
Return:
IntegerLiteral
getMaxSuiteValueId
@TestingFunctionSpace
Return:
IntegerLiteral
getNumberOfSuites
@TestingFunctionSpace
Return:
IntegerLiteral
getUpconnectTestTarget
@FJUnitTesting
Return:
UPconnectTestTarget