|
Replies:
1
-
Last Post:
Apr 17, 2008 2:11 AM
by: Vladimir Sizikov
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
How to use ME Framework1.2 properly for CDC Environment?
Posted:
Apr 15, 2008 4:49 AM
|
|
|
Hi,
I had run TCK for MIDP using ME Framework 1.2 successfully. Now i want to run the TCK for CDC environment?
What is the main purposes of using cdc_agent.jar, main_agent.jar, xlet_agent.jar and applet_agent.jar? How can we use those jars in CDC? What is the purpose of each jar?
That to I want to know about how to bundle the classes and resources ? and How can we use configuration Interview to get required information from the user for tests to run?
Pls any one let me know about the above issues.
Thanks & Regards, Muralidhar
|
|
|
|
|
|
|
Re: How to use ME Framework1.2 properly for CDC Environment?
Posted:
Apr 17, 2008 2:11 AM
in response to: murali_reddy219
|
|
|
|
|
Hi Murali,
The JAR files you've mentioned are the test agents for CDC side.
- main_agent.jar is the default one, it's just a stand-alone agent with main() method - xlet_agent.jar is for agent, wrapped into Xlet - applet_agent.jar is for the agent, wrapped into Agent (these diffrent application models (Main, Xlet, Applet) are supported by various CDC stack specifications)
The CDC test execution is very different from MIDP one. On CDC, you don't use 'autotest' functionality and you don't download the test bundles in a loop.
Instead, the agent is being started once, and then connects to the JavaTest harness on Java SE side via communication channel (TCP/IP, UDP, Serial, etc), and obtains the classes and resources via that link.
Essentialy, the test agent on CDC side juts creates a custom class loader to load the classes via remote link.
For some additional info on the test agents and appropriate command line parameters, please take a look at ISSUE #249: https://cqme.dev.java.net/issues/show_bug.cgi?id=249
It provides a command line options on how to start the AgentMain, the maint test agent for CDC stack.
In a nutshell, you launch the JavaTest harness with your test suite, specify the CDC mode, select appropriate communication, and start the test run. Then, on CDC side, you launch the agent with appropriate options so that it could connect ot the JavaTest.
Thanks, --Vladimir
On 4/15/2008 1:49 PM, meframework@mobileandembedded.org wrote: > Hi, > > I had run TCK for MIDP using ME Framework 1.2 successfully. Now i want to run the TCK for CDC environment? > > What is the main purposes of using cdc_agent.jar, main_agent.jar, xlet_agent.jar and applet_agent.jar? [vladimir_sizikov.vcf] --------------------------------------------------------------------- To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net For additional commands, e-mail: meframework-help@cqme.dev.java.net
|
|
|
|
|