RetroZilla/modules/oji/tests/doc/draft_descr.html

107 lines
2.4 KiB
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta name="GENERATOR" content="Mozilla/4.7 [en] (WinNT; I) [Netscape]">
</head>
<body>
<h2>
OJI API test specification</h2>
&nbsp;
<h3>
Goals:</h3>
The goals of the tests are to check the stability and correctnesses of
the implementation of the&nbsp; OJI API and to detect its&nbsp; errors.
<h3>
Objects to be tested:</h3>
The OJI exported interfaces are implemented by OJI mozilla module&nbsp;
or by JavaPlugin itself. Due to time/resources constrains we need to prioritize&nbsp;
the interfaces to be tested. The Java Plugin is like to be "third party
product"&nbsp; and are supposed to be tested by team that had produced
it. So the first priority&nbsp; should be assign to interfaces implemented
by OJI mozilla module.
<pre>OJI mozilla module interfaces:</pre>
<table BORDER COLS=2 WIDTH="100%" >
<tr>
<td><a href="OjiAPITestcases_oji.html#nsIJVMManager">nsIJVMManager</a></td>
<td ROWSPAN="3">all 3 are implemented by class nsJVMManager</td>
</tr>
<tr>
<td><a href="OjiAPITestcases_oji.html#nsIThreadManager">nsIThreadManager</a></td>
</tr>
<tr>
<td><a href="OjiAPITestcases_oji.html#nsILiveConnectManager">nsILiveConnectManager</a></td>
</tr>
<tr>
<td><a href="OjiAPITestcases_oji.html#nsIJVMPluginTagInfo">nsIJVMPluginTagInfo</a></td>
<td>implemented by class nsJVMPluginTagInfo</td>
</tr>
<tr>
<td><a href="OjiAPITestcases_oji_JNIEnv.html">JNIEnv</a></td>
<td>implemented by class ProxyJNIEnv and returned by nsIJVMManager::CreateProxyJNI.
It is used by LiveConnect and by other Blackwood modules</td>
</tr>
</table>
<pre>Java Plugin interfaces:</pre>
<table BORDER COLS=1 WIDTH="50%" >
<tr>
<td>nsIJVMPlugin</td>
</tr>
<tr>
<td>nsIJVMConsole</td>
</tr>
<tr>
<td>nsIJVMPrefsWindow</td>
</tr>
<tr>
<td>nsIJVMWindow</td>
</tr>
<tr>
<td>nsISecureEnv</td>
</tr>
<tr>
<td>nsISecureJNI</td>
</tr>
<tr>
<td>nsISecureJNI2</td>
</tr>
<tr>
<td>nsIJVMPluginInstance</td>
</tr>
</table>
<h3>
<br>
Common&nbsp; tests details:</h3>
The tests organization should allow to run the tests:<br>
- individually<br>
- by interface related group<br>
- all<br>
- arbitrary selected set
<p>Due to the fact that the number of the specified tests is about 1000
and they can be ran during one night it is not supposed to select the acceptance
set of the tests.
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
</body>
</html>