harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-752) Simple automated Eclipse scenario
Date Mon, 18 Sep 2006 13:10:24 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-752?page=all ]

Anton Luht updated HARMONY-752:
-------------------------------

    Attachment: 752-ant-diff.txt

automated launcher for Eclipse scenario for Eclipse 3.2

After applying this patch to Harmony classlib it's possible to run

ant -Dharmony.vm.exe=...  -Declipse-home=.... eclipsehwa

and scenario will be launched.

Eclipse test infrastructure should be installed for this scenario (it's a small set of additional
plugins):
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2-200606291905/eclipse-test-framework-3.2.zip



> Simple automated Eclipse scenario
> ---------------------------------
>
>                 Key: HARMONY-752
>                 URL: http://issues.apache.org/jira/browse/HARMONY-752
>             Project: Harmony
>          Issue Type: Test
>            Reporter: Anton Luht
>            Priority: Minor
>         Attachments: 752-ant-diff.txt, eclipsehwa.zip, HelloAuto.zip
>
>
> Attached is an automated Eclipse scenario that :
> - opens workspace/editor
> - creates a new project
> - creates a class in this project
> - builds the project
> - closes the workspace/editor
> It is based on the code provided by Salikh Zakirov : http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200606.mbox/%3c44A12E65.6020607@Intel.com%3e
> To run the test, unzip the contents of the attached file into <eclipse 3.1.1 home>/eclipse/plugins
directory and run the following command 
> <vm name> -cp <eclipse 3.1.1 home>/eclipse/startup.jar org.eclipse.core.launcher.Main
-application org.eclipse.test.uitestapplication -dev bin -testpluginname HelloAuto -classname
HelloAuto.CreateAndRunTest 
> this command will be run in your usual Eclipse workspace. To run it in a temporary workspace,
append
> -data <path to tmp dir>
> To see XML output of the test, please use
> <vm name> -cp <eclipse 3.1.1 home>/eclipse/startup.jar org.eclipse.core.launcher.Main
-application org.eclipse.test.uitestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
-dev bin -testpluginname HelloAuto -classname HelloAuto.CreateAndRunTest 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message