CODE EXAMPLE
<HR>
<a name="Test"></a>
<TABLE BORDER=1 SUMMARY="Javatest Test Description" CLASS= TestDescription>
<THEAD><TR><TH SCOPE="col">Item</TH><TH SCOPE= "col">Value</TH></TR></THEAD>
<TR>
<TD SCOPE="row"> <B>title</B> </TD> <TD> checking deny permission</TD> </TR>
<TR>
<TD SCOPE="row"> <B>source</B> </TD>
<TD> <A HREF="Test.java">Test.java</A> </TD> </TR>
<TR>
<TD SCOPE="row"> <B>executeClass</B> </TD> <TD> sample.pkg.Test</TD>
</TR>
<TR>
<TD SCOPE="row"> <B>deny</B> </TD>
<TD> javax.microedition.io.Connector.file.read </TD> </TR>
</TABLE>
</BODY>
</HTML>
Adding Resource Files in Tests
Test writers must sometimes develop tests that require extra resource files (such as image, data, or class files) for the test execution. When writing tests for CLDC and
During test execution, the test execution framework bundles the resource files (specified in the test description) and the test class files (listed in the testClasses.lst) into a test JAR file.
Chapter 4 Writing Tests 67