framework.html.svn-base

来自「cqME :java framework for TCK test.」· SVN-BASE 代码 · 共 481 行

SVN-BASE
481
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html> <head> <style type="text/css"> /* <![CDATA[ */ @import "/branding/css/tigris.css"; @import "/branding/css/inst.css"; /* ]]> */ </style> <link rel="stylesheet" type="text/css" href="/branding/css/print.css" media="print" /><script src="/branding/scripts/tigris.js" type="text/javascript"></script> <title>        ME Framework</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="version" content="3.5.1.19.8" />  <style type="text/css"><!--.style3 {color: #e76f00}--> </style></head><body  class="composite">  <!--BEGIN * PAGE TITLE --><div id="projecthome" class="app"> <!--END * PAGE TITLE --> <TABLE border="0" width="100%"><TBODY><TR><TD colspan="4"><IMG SRC="images/hdr_MEFramework.png" width="794" height="72" border="0"></TD><TD><br></TD><TD><br></TD></TR><TR><TD><!--BEGIN * EXPLANATORY TEXT PARAGRAPH[S] -->  <p>The ME Framework is a set of JT harness plugins that supports the JavaME platform. TCK architects use the JT harness and the MEFramework to construct TCK test suites for Java ME technologies.</p><!--BEGIN SECTION HEADER *  THIS IS A GREEN BAR WITH WHITE TEXT  -->  <p>  <h3>News and Announcements</h3><!--END SECTION HEADER *  THIS IS A GREEN BAR WITH WHITE TEXT   --><p><b>New ME Framework NetBeans Development Module</b> (May 2, 2007) <br />You can now create and run a Java ME test suite with just a few mouseclicks using the ME Framework module pack prototype for the NetBeansintegrated development environment.  You can use the module to quickly write,configure, and debug tests, and then bind the tests to applications orlibraries to create an application test suite.</p><p>A description of the module and instructions about its use can be foundin <A HREF="http://weblogs.java.net/blog/a_glasman/">Alexander Glasman's blog</A>.</p><p>You can download the modules from the <AHREF="https://cqme.dev.java.net/servlets/ProjectDocumentList?folderID=7250&expandFolder=7250&folderID=0">Documentsand Files section</A> of the web site.</p><p>The source code is located in the Subversion repository under<code>trunk/testme-code</code><p>As always, we welcome your comments and suggestions. </p><!--BEGIN SECTION HEADER *  THIS IS A GREEN BAR WITH WHITE TEXT   -->  <p><A NAME="overview"></A><h3>Overview</h3><!--END SECTION HEADER *  THIS IS A GREEN BAR WITH WHITE TEXT   --><p>A TCK is a test suite and a set of tools used to certify that animplementation of a Java technology conforms both to the applicableJava platform specifications and to the corresponding referenceimplementations - the end result is a Java technology that iscertified as compatible. TCK test suites use the JT harness fortest execution and test suite management.</p><p>The ME Framework is a set of JT harness plugins thatprovides support for the Java ME platform. TCK architects use the JTharness and the ME Framework to construct TCK test suites for Java ME technologies.</p><p>While the ME Framework was originally designed to support TCK test suites,its use is not limited to TCKs. The test suite architect mayneed to extend the ME Framework with additional functionality to supportcustom test types or a specific platform.</p><h4>Basic Features</h4><p>The following ME Framework features extend JT harness functionality:<ul><li><b>Test bundling (for CLDC-based test suites).</b>   Packages several tests into one downloadable test application bundle.   This significantly reduces the number of application downloads as well   as the quantity of code that is downloaded.<li><b>Parallel test execution.</b>   Enables several test devices to be connect to a JT harness host.   Automated tests run concurrently on all connected devices as part of a   single JT harness session.<li><b>Test export (for CLDC-based test suites).</b>   Creates standalone versions of automated tests that can   be run without a harness-agent setup.<li><b>Preinstalled agent (for CLDC-based test suites).</b>   Makes it possible to preinstall shared agent classes on the device before   the test run. This reduces the amount of application code that is downloaded.<li><b>MIDP 2.0 security.</b>   Provides functionality to handle MIDP security features, such as:   <ul>   <li>Permissions</li>   <li>Certificates</li>   <li>Java Archive (JAR) file signing</li>   </ul><li><b>Base test suite classes and configuration interview questions.</b>   Automatically adds appropriate questions to the configuration interview.</ul><h4>Platform Support</h4><p>The ME Framework supports the following Java ME platforms:<table cellpadding="5"><tr><th width="100">Platform</th><th>Versions Supported</th></tr><tr valign="top"><td>CLDC </td><td>1.0 (JSR 20)<br /> 1.1 (JSR 139)</td></tr><tr valign="top"><td>MIDP</td><td>1.0 (JSR 37) <br />2.0 (JSR 118)</td><tr valign="top"><td>CDC</td><td>1.0 (JSR 36) <br />1.1 (JSR 218)</td></tr><tr valign="top"><td>FP</td><td>1.0 (JSR 46) <br />1.1 (JSR 219)</td></tr><tr valign="top"><td>PBP</td><td>1.0 (JSR 129) <br />1.1 (JSR 217)</td></tr><tr valign="top"><td>PP</td><td>1.0 (JSR 62) <br />1.1 (JSR 216)</td></tr></table><p><b>Note:</b> Support for IMP 1.0 (JSR 195) and IMP NG 2.0 (JSR 228) is alsoavailable but is limited and has not been extensively tested.</p><h4>Test Type Support</h4><p>The ME Framework supports the following test types commonly used in TCKs.</p><ul><li>Simple automated tests<li>Network distributed tests<li>Interactive tests<li>Over-the-air download tests for MIDP-based implementations</ul><h4>Agents</h4><p>An agent is a separate program that works in conjunction with theJT harness to run tests on a system other than the one that isrunning the JT harness (typical when testing Java MEtechnologies). The following table shows the agents the ME Frameworkprovides for the different application models and communicationprotocols available in different Java ME technologies.</p><table cellpadding="5"><tr><th width="100">Agent</th><th>Platform</th><th>Application Model</th><th>Communication Channel</th></tr><tr valign="top"><td>cldc_agent </td><td>CLDC 1.0/1.1</td><td>Main</td><td>Pluggable (HTTP by default)</td></tr><tr valign="top"><td>midp_agent </td><td>MIDP 2.0</td><td>MIDlet</td><td>HTTP</td></tr><tr valign="top"><td>midp_agent10 </td><td>MIDP 1.0</td><td>MIDlet</td><td>HTTP</td></tr><tr valign="top"><td>cdc_agent</td><td>CDC 1.0/1.1</td><td>Main</td><td>Datagram</td></tr><tr valign="top"><td>main_agent</td><td>FP 1.0/1.1</td><td>Main</td><td>Socket</td></tr><tr valign="top"><td>xlet_agent</td><td>PBP 1.0/1.1</td><td>Xlet</td><td>Socket</td></tr><tr valign="top"><td>applet_agent</td><td>PP 1.0/1.1</td><td>Applet</td><td>Socket</td></tr></table><p>For CDC-based implementations, the agent is pre-loaded on the deviceand handles test download and execution. For CLDC-based implementations,agents are bundled with test applications and the application managementsoftware (AMS) handles download and execution.</p><!--BEGIN SECTION HEADER *  THIS IS A GREEN BAR WITH WHITE TEXT   -->  <p><A NAME="documentation"></A><h3>ME Framework Documentation</h3><!--END SECTION HEADER *  THIS IS A GREEN BAR WITH WHITE TEXT   --><p>The following document describes the ME Framework and how to useit with your TCK test suites. This document was developed for theME Framework commercial product and is provided solely for yourconvenience and is not being released under GPL version 2 as part ofthis project. This document cannot be modified. </p><p>Download this document from <A HREF="http://java.sun.com/javame/reference/apis.jsp#meframework">Java ME Technology APIs & Docs</A> on the <code>java.sun.com</code> web site.</p><table border="0" cellpadding="5"><tr valign="top"><td width="200"><A HREF="http://java.sun.com/javame/reference/apis.jsp#meframework">ME TCK Framework Developer's Guide</A></td><td>Describes how to use resources from the ME Framework to developand configure test suites and tests for Java ME technologies.</td></tr></table></TD><TD width="1%">&nbsp;</td><TD width="208" valign="top">  <table style="margin-top:0pt" border="0" cellspacing="10">     <tr>     <td>     <A href="http://download.java.net/mobileembedded/cqme/meframework/download.html "><IMG src="/branding/images/phoneme/download.gif" align="absmiddle"></A>     </td>     <td>     <p style="margin-top:1pt;margin-left:1pt">     <A href="http://download.java.net/mobileembedded/cqme/meframework/download.html ">Download</A><br><font color="red">Last Update: 07/24/07</font>      </p>         </td>     </tr>     <tr>     <td>     <A href="https://mobileandembedded.dev.java.net/content/contribute.html"><IMG style="margin-top:-3pt" src="/branding/images/meapplicationdevelopers/projects.gif" align="left"></A>      </td>     <td>     <p style="margin-top:3pt">     <A href="https://mobileandembedded.dev.java.net/content/contribute.html">Contribute</A>     </p>     </td>     </tr>      <tr>      <td>      <A href="https://cqme.dev.java.net/source/browse/cqme/"><IMG style="margin-left:4pt" src="/branding/images/phoneme/srcbrowse.gif" align="absmiddle"></A>      </td>	      <td>      <p style="margin-top:6pt;margin-left:1pt">      <A href="https://cqme.dev.java.net/source/browse/cqme/">Browse</A>      </p>      </td>      </tr>  </table>    <table style="margin-top:18pt" border=0 cellpadding=0 cellspacing=0>    <tr>    <td style="background-repeat: repeat-y;" background="https://mobileandembedded.dev.java.net/images/gradationBox_top.png"></td>    </tr>    <tr>    <td style="background-repeat: repeat-y;" background="https://mobileandembedded.dev.java.net/images/gradationBox_middle.png" valign="top">         <TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=15 BORDER=0 VALIGN="top">        <TR>         <TD>	<FONT size="-2">           <UL>		<b>Quick Links</b><BR>                <sup><hr align="left" width="80" /></sup></p>                <LI style="margin-top:4pt;margin-left:-12pt"><A HREF="https://cqme.dev.java.net/source/browse/cqme/">Browse or download the ME Framework source code</A></LI>		<LI style="margin-top:4pt;margin-left:-12pt"><A HREF="#documentation"><i>Java ME TCK Framework Developer's Guide</i><A></LI>		<LI style="margin-top:4pt;margin-left:-12pt"><A HREF="fw_buildinfo.html">Build the ME Framework</A></LI>		<LI style="margin-top:4pt;margin-left:-12pt"><A HREF="http://download.java.net/mobileembedded/cqme/meframework/download.html">Download the latest ME Framework build</A></LI>		<LI style="margin-top:4pt;margin-left:-12pt"><A HREF="framework_roadmap.html">Plans for upcoming releases</A></LI>		<LI style="margin-top:4pt;margin-left:-12pt"><A HREF="submit_bug.html">Bug submission policy</A></LI>		<LI style="margin-top:4pt;margin-left:-12pt"><A HREF="https://cqme.dev.java.net/servlets/ProjectIssues">Submit or find a bug</A></LI>	</UL>	</FONT>	        </TD>        </TR>      </TABLE>    </td>    </tr>    <tr>    <td width=208 style="background-repeat: no-repeat;" background="https://mobileandembedded.dev.java.net/images/gradationBox_bottom.png">&nbsp;</td>    </tr>    </table></TD></TR></TABLE></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?