background image
<< home_interface_name Variable | Variables Used in COM/VB and EJB Templates >>
<< home_interface_name Variable | Variables Used in COM/VB and EJB Templates >>

Replacement Variables

Replacement Variables for Scenario Test Generation Templates
127
Replacement Variables for Scenario Test Generation Templates
The replacement variables for the scenario test generation templates can be logically
divided into the following categories:
s
Variables used in both the COM/VB and EJB templates
s
Variables used only in the COM/VB templates
s
Variables used only in the EJB templates
For a list of the scenario test generation templates, see Templates for Scenario Test
Generation
on page 13.
<create_params>
String that can be used as an arglist for the create method invocation.
Before:
Invoke the create method.
<remote_interface_name> remote = home.create(<create_params>);
After:
Invoke the create method.
Checking remote = home.create(accountID, customerID, lastTrans,
openBalance);
<keyvalue_declaration>
Same as <createparam_declaration> but for the Key class constructor
method that is associated with the operation class selected for
generation.
<keyvalue_init>
Same as for the <createparam_init> but for the key class constructor's
parameters.
<key_params>
Same as for the <create_params> but for the key class constructor's
parameters.
<datapool_init>
Same as the <parameter_initialization> that is indicated above for
COM/VB. This is provided only for EJB and NOT for COM, whereas
<parameter_initialization> is provided for both.
Variable
Description and Example