| 1 | <HTML>
|
|---|
| 2 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|---|
| 3 |
|
|---|
| 4 | <HEAD>
|
|---|
| 5 |
|
|---|
| 6 | <style type="text/css">
|
|---|
| 7 | table.results {
|
|---|
| 8 | background-color: white;
|
|---|
| 9 | border-collapse: collapse;
|
|---|
| 10 | border-color: black black black black;
|
|---|
| 11 | border-spacing: 0px;
|
|---|
| 12 | border-style: outset outset outset outset;
|
|---|
| 13 | border-width: 0px 0px 0px 0px;
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
| 16 | table.results th {
|
|---|
| 17 | background-color: white;
|
|---|
| 18 | border-style: inset inset inset inset;
|
|---|
| 19 | border-color: gray gray gray gray;
|
|---|
| 20 | border-width: 1px 1px 1px 1px;
|
|---|
| 21 | padding: 1px 1px 1px 1px;
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | table.results td {
|
|---|
| 25 | background-color: white;
|
|---|
| 26 | border-color: gray gray gray gray;
|
|---|
| 27 | border-style: inset inset inset inset;
|
|---|
| 28 | border-width: 1px 1px 1px 1px;
|
|---|
| 29 | padding: 2px 2px 2px 2px;
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | </style>
|
|---|
| 33 |
|
|---|
| 34 | <!-- Load all tests scripts -->
|
|---|
| 35 | <script language="JavaScript" src="common.js"></script>
|
|---|
| 36 | <script language="JavaScript" src="jsj_get_tests.js"></script>
|
|---|
| 37 | <script language="JavaScript" src="jsj_set_tests.js"></script>
|
|---|
| 38 | <script language="JavaScript" src="jsj_func_rettype_tests.js"></script>
|
|---|
| 39 | <script language="JavaScript" src="jsj_func_parameters_tests.js"></script>
|
|---|
| 40 | <script language="JavaScript" src="jsj_func_overload_tests.js"></script>
|
|---|
| 41 | <script language="JavaScript" src="jsj_type_conversion_tests.js"></script>
|
|---|
| 42 | <script language="JavaScript" src="jjs_tests.js"></script>
|
|---|
| 43 | <script language="JavaScript" src="jjs_get_tests.js"></script>
|
|---|
| 44 | <script language="JavaScript" src="jjs_set_tests.js"></script>
|
|---|
| 45 | <script language="JavaScript" src="jjs_func_rettype_tests.js"></script>
|
|---|
| 46 | <script language="JavaScript" src="jjs_func_parameters_tests.js"></script>
|
|---|
| 47 | <script language="JavaScript" src="jjs_eval_test.js"></script>
|
|---|
| 48 |
|
|---|
| 49 | </HEAD>
|
|---|
| 50 |
|
|---|
| 51 | <BODY>
|
|---|
| 52 |
|
|---|
| 53 | <!-- Test selection/launch input -->
|
|---|
| 54 | <form id="testForm">
|
|---|
| 55 | <table STYLE="width:100%; float:static">
|
|---|
| 56 | <tr>
|
|---|
| 57 | <td>
|
|---|
| 58 | <input type=checkbox name="jsjget"><tt>JS -> Java read tests</tt><BR>
|
|---|
| 59 | <input type=checkbox name="jsjset"><tt>JS -> Java set tests</tt><BR>
|
|---|
| 60 | <input type=checkbox name="jsjfp"><tt>JS -> Java function parameter conversion tests</tt><BR>
|
|---|
| 61 | <input type=checkbox name="jsjfrt"><tt>JS -> Java function return type tests</tt><BR>
|
|---|
| 62 | <input type=checkbox name="jsjfr"><tt>JS -> Java function resolution tests</tt><BR>
|
|---|
| 63 | </td>
|
|---|
| 64 | <td>
|
|---|
| 65 | <input type=checkbox name="jsjtc"><tt>JS -> Java type conversion tests</tt><BR>
|
|---|
| 66 | <input type=checkbox name="jjsget"><tt>Java -> JS read tests</tt><BR>
|
|---|
| 67 | <input type=checkbox name="jjsset"><tt>Java -> JS set tests</tt><BR>
|
|---|
| 68 | <input type=checkbox name="jjcparam"><tt>Java -> JS function parameter conversion tests</tt><BR>
|
|---|
| 69 | <input type=checkbox name="jjcrt"><tt>Java -> JS function return type tests</tt><BR>
|
|---|
| 70 | <input type=checkbox name="jjeval"><tt>Java -> JS eval test</tt><BR>
|
|---|
| 71 | </td>
|
|---|
| 72 | </tr>
|
|---|
| 73 | <tr>
|
|---|
| 74 | <td>
|
|---|
| 75 | <input type=button id="run_selected" value="Run selected tests" onclick="doTest();">
|
|---|
| 76 | <input type=button id= "run_all" value="Run all tests" onclick="testAll();">
|
|---|
| 77 | </td>
|
|---|
| 78 | </tr>
|
|---|
| 79 | </table>
|
|---|
| 80 | </form>
|
|---|
| 81 |
|
|---|
| 82 | <!-- Results -->
|
|---|
| 83 | <DIV ID="RESULTS">
|
|---|
| 84 | <DIV ID="totals" STYLE="width:100%; float:static"></DIV>
|
|---|
| 85 | <DIV ID="results" STYLE="width:100%; float:static"></DIV>
|
|---|
| 86 | </DIV>
|
|---|
| 87 |
|
|---|
| 88 | <APPLET CODE="PluginTest.class" ARCHIVE="PluginTest.jar" NAME="PluginTest" WIDTH="0" HEIGHT=0 MAYSCRIPT></APPLET><BR>
|
|---|
| 89 |
|
|---|
| 90 | </BODY>
|
|---|
| 91 | </HTML>
|
|---|