T4S4  18.1 C7177 A20283
Teamcenter Gateway for SAP S/4HANA API Reference
T4X::TestingSupport::DemoCase Namespace Reference

Commands to retrieve information about the demo case currently being executed. They must only be called from within demo case namespaces. More...

Functions

 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...
 
 getExpectedFolder ?suffix?
 Returns the folder containing files to be compared against files created through tests. More...
 
 getInputFolder ?suffix?
 Returns the folder containing input test data. More...
 
 getName
 Returns the name of the namespace representing the demo case currently being tested. 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...
 

Detailed Description

Commands to retrieve information about the demo case currently being executed. They must only be called from within demo case namespaces.

Function Documentation

◆ getActualFolder()

T4X::TestingSupport::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.

Parameters
suffixstring to append to the folder's name.

◆ getExpectedFolder()

T4X::TestingSupport::DemoCase::getExpectedFolder   ?suffix?  

Returns the folder containing files to be compared against files created through tests.

Parameters
suffixstring to append to the folder's name.

◆ getInputFolder()

T4X::TestingSupport::DemoCase::getInputFolder   ?suffix?  

Returns the folder containing input test data.

Parameters
suffixstring to append to the folder's name.

◆ getName()

T4X::TestingSupport::DemoCase::getName

Returns the name of the namespace representing the demo case currently being tested.

◆ getSimpleName()

T4X::TestingSupport::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.