Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-752

Simple automated Eclipse scenario

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Misc
    • None

    Description

      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

      Attachments

        1. 752-ant-diff.txt
          6 kB
          Anton Luht
        2. eclipsehwa.zip
          40 kB
          Anton Luht
        3. HelloAuto.zip
          40 kB
          Anton Luht

        Activity

          People

            varlax Alexey Varlamov
            aluht Anton Luht
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: