![]() |
T4S4
18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
|
Commands to retrieve information about the demo case currently being executed. They must only be called from within demo case namespaces. More...
Functions | |
bindProperty propertyName ?localName? | |
Make a variable added to the demo case with setProperties accessible under a local name. More... | |
getActualFolder ?suffix? | |
Returns the folder into which files created through tests will go. They will be compared against files in the expected folder. See getExpectedFolder. More... | |
getElapsed | |
Returns the amount of time value it took to execute the code in the code attribute. More... | |
getErrorCode | |
Returns the value of the ::errorCode variable produced by code in the bad attribute. More... | |
getErrorInfo | |
Returns the value of the ::errorInfo variable produced by code in the bad attribute. More... | |
getErrorMessage | |
Returns the message produced by code in the bad attribute. More... | |
getErrorRaised | |
Returns whether code in the bad attribute raised an error. More... | |
getExpectedFolder ?suffix? | |
Returns the folder containing files to be compared against files created through tests. More... | |
getFullName | |
Returns the name of the namespace representing the demo case currently being tested. More... | |
getInputFolder ?suffix? | |
Returns the folder containing input test data. More... | |
getProperty propertyName | |
getShortName | |
Returns the short name of the namespace representing the demo case currently being tested. The short name is the namespace name relative to the namespace name of the demo suite, i.e. the result of removing the demo suite's namespace name from the beginning. More... | |
getSimpleName | |
Returns the simple name of the namespace representing the demo case currently being tested. The simple name is the result of calling namespace tail , i.e. the namespace name without leading names. More... | |
Commands to retrieve information about the demo case currently being executed. They must only be called from within demo case namespaces.
T4X::TNT::DemoCase::bindProperty | propertyName ?localName? | ||
Make a variable added to the demo case with setProperties accessible under a local name.
propertyName | name of the property |
localName | name to be used in the code section |
References getFullName().
T4X::TNT::DemoCase::getActualFolder | ?suffix? | ||
Returns the folder into which files created through tests will go. They will be compared against files in the expected folder. See getExpectedFolder.
suffix | string to append to the folder's name. |
T4X::TNT::DemoCase::getElapsed |
Returns the amount of time value it took to execute the code in the code
attribute.
T4X::TNT::DemoCase::getErrorCode |
Returns the value of the ::errorCode
variable produced by code in the bad
attribute.
T4X::TNT::DemoCase::getErrorInfo |
Returns the value of the ::errorInfo
variable produced by code in the bad
attribute.
T4X::TNT::DemoCase::getErrorMessage |
Returns the message produced by code in the bad
attribute.
T4X::TNT::DemoCase::getErrorRaised |
Returns whether code in the bad
attribute raised an error.
T4X::TNT::DemoCase::getExpectedFolder | ?suffix? | ||
Returns the folder containing files to be compared against files created through tests.
suffix | string to append to the folder's name. |
T4X::TNT::DemoCase::getFullName |
Returns the name of the namespace representing the demo case currently being tested.
Referenced by bindProperty(), getProperty(), and getSimpleName().
T4X::TNT::DemoCase::getInputFolder | ?suffix? | ||
Returns the folder containing input test data.
suffix | string to append to the folder's name. |
T4X::TNT::DemoCase::getProperty | propertyName | ||
propertyName | name of the property |
References getFullName().
T4X::TNT::DemoCase::getShortName |
Returns the short name of the namespace representing the demo case currently being tested. The short name is the namespace name relative to the namespace name of the demo suite, i.e. the result of removing the demo suite's namespace name from the beginning.
T4X::TNT::DemoCase::getSimpleName |
Returns the simple name of the namespace representing the demo case currently being tested. The simple name is the result of calling namespace tail
, i.e. the namespace name without leading names.
References getFullName().