Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22857

Integration tests: should have Red Deer UI feature included in the target platform

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 4.4.1.AM2
    • 4.4.1.AM3
    • build
    • None

    Description

      The integration tests that we currently have are based on Red Deer. Red Deer Tests need UI portions to get launched. If you currently launch an integration test the launch fails telling you that the red deer application could not be found

      !SESSION 2016-07-29 22:54:54.663 -----------------------------------------------
      eclipse.buildId=unknown
      java.version=1.8.0_20
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -pluginCustomization /home/adietish/jboss-workspaces/jbosstools-integration-tests/tests/org.jboss.tools.openshift.ui.bot.test/../pluginCustomization.ini -version 3 -port 33481 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames org.jboss.tools.openshift.ui.bot.test.common.OCBinaryLocationTest -application org.jboss.reddeer.ui.reddeertestapplication -testApplication org.eclipse.ui.ide.workbench -pluginCustomization /home/adietish/jboss-workspaces/jbosstools-integration-tests/tests/org.jboss.tools.openshift.ui.bot.test/../pluginCustomization.ini -testpluginname org.jboss.tools.openshift.ui.bot.test
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -consoleLog -pluginCustomization /home/adietish/jboss-workspaces/jbosstools-integration-tests/tests/org.jboss.tools.openshift.ui.bot.test/../pluginCustomization.ini -version 3 -port 33481 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames org.jboss.tools.openshift.ui.bot.test.common.OCBinaryLocationTest -application org.jboss.reddeer.ui.reddeertestapplication -testApplication org.eclipse.ui.ide.workbench -data /home/adietish/jboss-workspaces/jbosstools-github/jbosstools-openshift/../junit-workspace -dev file:/home/adietish/jboss-workspaces/jbosstools-github/jbosstools-openshift/.metadata/.plugins/org.eclipse.pde.core/pde-junit/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -pluginCustomization /home/adietish/jboss-workspaces/jbosstools-integration-tests/tests/org.jboss.tools.openshift.ui.bot.test/../pluginCustomization.ini -testpluginname org.jboss.tools.openshift.ui.bot.test
      
      !ENTRY org.eclipse.osgi 4 0 2016-07-29 22:55:04.359
      !MESSAGE Application error
      !STACK 0
      java.lang.RuntimeException: Application "org.jboss.reddeer.ui.reddeertestapplication" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.swtbot.eclipse.core.swtbottestapplication, org.eclipse.ui.ide.workbench, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.eclipse.wst.server.preview.preview, org.eclipse.xsd.ecore.importer.XSD2GenModel.
      	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
      	at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      

      This can be fixed by adding the RedDeer UI Feature into target platform 4.60.1.AM1

      Attachments

        Issue Links

          Activity

            People

              nickboldt Nick Boldt
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: