Sun Microsystems 1.2 Telephone Accessories User Manual


 
42 Java ME TCK Framework Developer’s Guide July 2007
Automated Test Execution
FIGURE 4-1 and the associated text are for CLDC and MIDP execution mode. In the
diagram, arrows indicate the direction of dataflow between the device and the
workstation. The numbered items indicate the sequence and the content of the
dataflow.
FIGURE 4-1 Automated Test Execution
1. getNextApp - The AMS issues a getNextApp command to the execution server
on the workstation.
The AMS implementation is device specific and must be provided by the licensee.
2. Application Bundle - The execution server sends an application bundle to the
AMS.
The AMS downloads and executes the application bundle on the device. Test
bundles are created by the Framework.
3. getNextTest - The agent issues a getNextTest request to the execution server.
4. Test Name - The execution server returns the name of the next test in the
application bundle that the agent should run.
1
2
3
4
5
getNextApp
Application Bundle
(agent + tests)
getNextTest
sendTestResult
Test Name
DevicePC or Workstation
JavaTest Harness
Execution
Server
AMS
Agent
Tests