[jbosstools-issues] [JBoss JIRA] (JBIDE-22857) Integration tests: should have Red Deer UI features included in the target platform

Andre Dietisheim (JIRA) issues at jboss.org
Fri Jul 29 17:12:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273171#comment-13273171 ] 

Andre Dietisheim commented on JBIDE-22857:
------------------------------------------

[~akazakov] Can we please get this in so that we can start creating bot tests?

> Integration tests: should have Red Deer UI features included in the target platform
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-22857
>                 URL: https://issues.jboss.org/browse/JBIDE-22857
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build, openshift
>    Affects Versions: 4.4.1.AM2
>            Reporter: Andre Dietisheim
>
> The integration tests that we currently have are based on [Red Deer|https://github.com/jboss-reddeer]. Red Deer Tests need UI portions to get launched. If you currently launch an [integration test|https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/common/OCBinaryLocationTest.java] the launch fails telling you that the red deer application could not be found
> {code}
> !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)
> {code}
> This can be fixed by adding the RedDeer UI Feature into target platform 4.60.1.AM1



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list