Sun Microsystems 1.2 Telephone Accessories User Manual


 
Chapter 4 Writing Tests 45
The following is an example of the remote attribute entry that must be added to the
test description file.
In the example, the remote attribute execution command is composed of the
following values:
sample.pkg.SampleDistributedTest is the fully qualified name of the
remote test class.
$testMsgSwitch is an environment variable used by the Framework to start the
remote test component.
remoteSource Attribute
The remoteSource attribute contains the name of the remote test class of the
distributed test group. If more than one remote test source file is specified in the test
description, the names must be separated by white space.
The following is an example of the remoteSource attribute entry in which the
remote test class is SampleDistributedTest.java.
executeArgs Attribute
The executeArgs attribute contains the environment variables that are passed to
the test classes or client test component being executed. The values for these
attributes are exported from the configuration interview and defined in the test
environment. When more than one environment variable is specified in the test
description, the names and values must be separated by white space.
CODE EXAMPLE 4-2 remote Attribute
<TR>
<TD> <B>remote</B></TD>
<TD> networkAgent: sample.pkg.SampleDistributedTest
-msgSwitch $testMsgSwitch</TD>
</TR>
CODE EXAMPLE 4-3 remoteSource Attribute
<TR>
<TD> <B>remoteSource</B> </TD>
<TD> SampleDistributedTest.java </TD>
</TR>