CODE EXAMPLE 4-10OTA Test Description File (Continued)

<H1>Test Specifications and Descriptions for Test</H1> <HR>

<a name="Test"></a>

<TABLE BORDER=1 CLASS=TestDescription> <TR>

<TD> <B>title</B></TD> <TD> Over-the-Air Test</TD> </TR>

<TR>

<TD> <B>source</B></TD> <TD> <A HREF=

"midlet/Test_MIDlet.java">midlet/Test_MIDlet.java</A></TD> </TR>

<TR>

<TD> <B>executeClass</B></TD>

<TD> sample.pkg.OTA.Test_MIDlet</TD> </TR>

<TR>

<TD> <B>keywords</B></TD>

<TD> runtime positive ota </TD> <TR>

<TD> <B>remote</B></TD>

<TD> networkAgent: sample.pkg.OTA.OTATest1 -httpServerPort $httpServerPort -testDir $testDir -OTAHandlerClass $OTAHandlerClass

-OTAHandlerArgs $OTAHandlerArgs</TD> <TR>

<TD> <B>remoteSource</B></TD>

<TD> <A HREF="OTATest1.java">OTATest1.java</TD> </TABLE>

</BODY>

</HTML>

The following is an example of a test description for a trusted OTA test. See

remote Attribute” on page 55 for a description of the values that must be set in the remote attribute for a trusted OTA test.

CODE EXAMPLE 4-11Trusted OTA Test Description File

<TITLE>Test Specifications and Descriptions for Test</TITLE> </HEAD>

<BODY>

<H1>Test Specifications and Descriptions for Test</H1> <HR>

<a name="Test"></a>

56 Java ME TCK Framework Developer’s Guide • July 2007

Page 76
Image 76
Sun Microsystems 1.2 manual Code Example 4-11Trusted OTA Test Description File