Coder Social home page Coder Social logo

jbosstools-integration-tests's Introduction

The JBoss Tools Integration Tests project

Summary

JBoss Tools Integration Test contains SWT Bot test plugins for overall integration testing of JBoss Tools.

Install

JBoss Tools Integration Tests is part of JBoss Tools from which it can be downloaded and installed on its own or together with the full JBoss Tools distribution.

Get the code

The easiest way to get started with the code is to create your own fork, and then clone your fork:

$ git clone [email protected]:<you>/jbosstools-integration-tests.git
$ cd jbosstools-integration-tests
$ git remote add upstream git://github.com/jbosstools/jbosstools-integration-tests.git

At any time, you can pull changes from the upstream and merge them onto your master:

$ git checkout master               # switches to the 'master' branch
$ git pull upstream master          # fetches all 'upstream' changes and merges 'upstream/master' onto your 'master' branch
$ git push origin                   # pushes all the updates to your fork, which should be in-sync with 'upstream'

The general idea is to keep your 'master' branch in-sync with the 'upstream/master'.

Building JBoss Tools Integration Tests

To build JBoss Tools Integration Tests requires specific versions of Java and Maven. Also, there is some Maven setup. The How to Build JBoss Tools with Maven 3 document will guide you through that setup.

This command will run the build:

$ mvn clean verify

If you just want to check if things compiles/builds you can run:

$ mvn clean verify -DskipTest=true

But do not push changes without having the new and existing unit tests pass!

Contribute fixes and features

JBoss Tools Integration Tests is open source, and we welcome anybody that wants to participate and contribute!

If you want to fix a bug or make any changes, please log an issue in the JBoss Tools JIRA describing the bug or new feature and give it a component type of QA. Then we highly recommend making the changes on a topic branch named with the JIRA issue number. For example, this command creates a branch for the JBIDE-1234 issue:

$ git checkout -b jbide-1234

After you're happy with your changes and a full build (with unit tests) runs successfully, commit your changes on your topic branch (with good comments). Then it's time to check for any recent changes that were made in the official repository:

$ git checkout master               # switches to the 'master' branch
$ git pull upstream master          # fetches all 'upstream' changes and merges 'upstream/master' onto your 'master' branch
$ git checkout jbide-1234           # switches to your topic branch
$ git rebase master                 # reapplies your changes on top of the latest in master
                                      (i.e., the latest from master will be the new base for your changes)

If the pull grabbed a lot of changes, you should rerun your build with tests enabled to make sure your changes are still good.

You can then push your topic branch and its changes into your public fork repository:

$ git push origin jbide-1234         # pushes your topic branch into your public fork of JBoss Tools Integration Tests

And then generate a pull-request where we can review the proposed changes, comment on them, discuss them with you, and if everything is good merge the changes right into the official repository.

Branching process check-list

Integration Tests have different life cycle than other repos in JBT - we typically don’t need to develop tests for next versions of JBT until the current version under development is released. So while we’re testing the current version, we’re using master.

Once a major version of JBT is released (e.g. JBT 4.1.1.Final), create a branch, e.g. jbosstools-4.1.x

In the newly created maintenance branch, these steps are needed:

  • Fix RedDeer repo url in root pom.xml to point to something stable rather then the ever-moving RedDeer master repo

  • Update integration tests repo url in root pom.xml to point to a maintenance repo, e.g.:

     http://download.jboss.org/jbosstools/updates/nightly/integrationtests/4.1.kepler/
    

    This is a chicken-egg problem. In order to add this repo to the pom, you need the url to be working. But to create the Jenkins job you need to have this branch ready.

    So either create the job using master branch first and later change it to use the maintenance branch once it's ready. Or first do the rest of these steps, create the job, publish the site and eventually change the url in the pom.

In the master branch, these steps are needed:

  • Update parent pom dependency to new version, e.g. 4.2.0.Alpha1-SNAPSHOT

  • Update integration tests repo url in root pom.xml

  • Update all plugins/tests/poms version to the new version:

    $ mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version> 
    

    where version is e.g. 4.2.0-SNAPSHOT

  • Update range for bot.ext in all manifests to the new version, e.g.:

    $ find . -iname manifest.mf|xargs perl -pi -e 's/\[4.1.0,4.2.0\)/[4.2.0,4.3.0)/' 
    

Known Problems

jbosstools-integration-tests's People

Contributors

adietish avatar apodhrad avatar dmaliarevich avatar fbricon avatar jeffmaury avatar jkopriva avatar jniederm avatar jpeterka avatar jrichter1 avatar ldimaggi avatar lfabriko avatar ljelinkova avatar luvalach avatar maxandersen avatar mbaluch avatar mickaelistria avatar mmalina avatar nickboldt avatar odockal avatar olkornii avatar psrna avatar psuchy avatar rawagner avatar rhopp avatar sbouchet avatar sbunciak avatar snjeza avatar vpakan avatar vprusa avatar zcervink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jbosstools-integration-tests's Issues

ClearProjects are not working on JBDS 7.0.0 Alpha2

Reason of that is changing the link in servers view (if no server is defined). In previous versions is was formatted like: "No servers available. Define a new server from the new server wizard..."

Now the whole line is a link. Fix is trivial but I am waiting for Rob to say if it is a bug or a feature request.

org.jboss.tools.runtime.as.ui.bot.test uncompilable

assigned to: rrabara
labels: bug
(I don't have permissions to assign labels properly.)

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.0:compile (default-compile) on project org.jboss.tools.runtime.as.ui.bot.test: Compilation failure: Compilation failure:
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SearchingForRuntimesDialog.java:[12,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ShellTree;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ShellTree cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SearchingForRuntimesDialog.java:[55,0]
[ERROR] return new ShellTree().getAllItems();
[ERROR] ^^^^^^^^^
[ERROR] ShellTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java:[34,0]
[ERROR] runtime.setName(table.cell(i, 1));
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type Table
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java:[35,0]
[ERROR] runtime.setVersion(table.cell(i, 2));
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type Table
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java:[36,0]
[ERROR] runtime.setLocation(table.cell(i, 3));
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type Table
[ERROR] 5 problems (5 errors)

org.jboss.tools.maven.ui.bot.test uncompilable

assigned to: rawagner
labels: bug
(I don't have permissions to assign labels properly.)

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.0:compile (default-compile) on project org.jboss.tools.maven.ui.bot.test: Compilation failure: Compilation failure:
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenProjectWizardThirdPage.java:[12,0]
[ERROR] new WaitUntil(new ButtonWithTextIsActive("Cancel"),TimePeriod.LONG); //wait for progressbar to finish
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor ButtonWithTextIsActive(String) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRemoteRepositoriesPreferencePage.java:[27,0]
[ERROR] new DefaultTable("Remote Repositories",0).select(oldRepo.getName());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultTable(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRemoteRepositoriesPreferencePage.java:[38,0]
[ERROR] new DefaultTable("Remote Repositories",0).select(repository.getName());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultTable(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRemoteRepositoriesPreferencePage.java:[44,0]
[ERROR] new DefaultTable("Remote Repositories",0).select(name);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultTable(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRepositoriesDialog.java:[26,0]
[ERROR] new DefaultCombo("Profile","Profile ID:").setSelection(repo);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, String) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRepositoriesDialog.java:[38,0]
[ERROR] new DefaultCombo("Profile","Profile ID:").setText(repoID);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, String) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRepositoriesDialog.java:[51,0]
[ERROR] new DefaultTable("Repositories",0).select(repo);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultTable(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRepositoriesDialog.java:[59,0]
[ERROR] if(new DefaultTable("Repositories",0).rowCount() > 0){
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultTable(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenRepositoriesDialog.java:[70,0]
[ERROR] new DefaultTable("Repositories",0).select(repo);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultTable(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/seam/SeamProjectFirstPage.java:[36,0]
[ERROR] new DefaultCombo("Target runtime", 0).setSelection(runtime);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/seam/SeamProjectFirstPage.java:[40,0]
[ERROR] new DefaultCombo("Target Server", 0).setSelection(server);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/NewProjectFirstPage.java:[36,0]
[ERROR] new DefaultCombo("Target runtime", 0).setSelection(runtime);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/seam/SeamPreferencePage.java:[21,0]
[ERROR] if(new DefaultTable().cell(i, 3).equals(seamPath)){
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type DefaultTable
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/EARProjectFirstPage.java:[35,0]
[ERROR] new DefaultCombo("Target runtime", 0).setSelection(runtime);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/EARProjectFirstPage.java:[39,0]
[ERROR] new DefaultCombo("Target Server", 0).setSelection(server);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenProjectWizardSecondPage.java:[18,0]
[ERROR] new DefaultTable().select(archetype,1);
[ERROR] ^^^^^^
[ERROR] The method select(int...) in the type AbstractTable is not applicable for the arguments (String, int)
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenProfilesDialog.java:[42,0]
[ERROR] new DefaultTable().check(profileName);
[ERROR] ^^^^^
[ERROR] The method check(String) is undefined for the type DefaultTable
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenProfilesDialog.java:[44,0]
[ERROR] new DefaultTable().check(profileName+" (auto activated)");
[ERROR] ^^^^^
[ERROR] The method check(String) is undefined for the type DefaultTable
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/dialog/maven/MavenProfilesDialog.java:[60,0]
[ERROR] profiles.add(new DefaultTable().cell(i, 0));
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type DefaultTable
[ERROR] 19 problems (19 errors)

org.jboss.tools.mylyn.ui.bot.test uncompilable

assigned to: ldimaggi
labels: bug
(I don't have permissions to assign labels properly.)

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.0:compile (default-compile) on project org.jboss.tools.mylyn.ui.bot.test: Compilation failure: Compilation failure:
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/TestSupport.java:[12,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ViewTree;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ViewTree cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynTestBugzillaQuery.java:[20,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ViewTree;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ViewTree cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynTestBugzillaQuery.java:[63,0]
[ERROR] ViewTree FeatureTree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynTestBugzillaQuery.java:[63,0]
[ERROR] ViewTree FeatureTree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynTestBugzillaQuery.java:[68,0]
[ERROR] ViewTree RepoTree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynTestBugzillaQuery.java:[68,0]
[ERROR] ViewTree RepoTree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynBugzillaQueryTest.java:[26,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ViewTree;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ViewTree cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynBugzillaQueryTest.java:[251,0]
[ERROR] ViewTree bugzillaTree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynBugzillaQueryTest.java:[251,0]
[ERROR] ViewTree bugzillaTree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynReqTest.java:[136,0]
[ERROR] log.info(TaskTable.cell(i,0));
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type DefaultTable
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynReqTest.java:[137,0]
[ERROR] if (TaskTable.cell(i, 0).equals(TASKNAME)) {
[ERROR] ^^^^
[ERROR] The method cell(int, int) is undefined for the type DefaultTable
[ERROR] 11 problems (11 errors)

Server Runtime Label

In class tests / org.jboss.tools.ui.bot.ext / src / org / jboss / tools / ui / bot / ext / gen / ActionItem.java is incorrect label for EAP 6.1.x.

There is string "JBoss Enterprise Application Platform 6.1 Runtime (Tech Preview)" - between Runtime and (Tech Preview) are 2 spaces instead of 1 - creating EAP Server Runtime 6.1.x with SWTBot is broken.

org.jboss.tools.hibernate.ui.bot.test uncompilable

assigned to: jpeterka
labels: bug
(I don't have permissions to assign labels properly.)

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.0:compile (default-compile) on project org.jboss.tools.hibernate.ui.bot.test: Compilation failure: Compilation failure:
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/GenerateJPAHibernateAnnotationsContextMenu.java:[13,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ViewTreeItem;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ViewTreeItem cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/GenerateJPAHibernateAnnotationsContextMenu.java:[43,0]
[ERROR] TreeItem item = new ViewTreeItem(prj,"src",pckg,"Dog.java");
[ERROR] ^^^^^^^^^^^^
[ERROR] ViewTreeItem cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/GenerateJPAHibernateAnnotationsContextMenu.java:[54,0]
[ERROR] TreeItem itemre = new ViewTreeItem(prj,"src",pckg,"Dog.java");
[ERROR] ^^^^^^^^^^^^
[ERROR] ViewTreeItem cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/GenerateJPAHibernateAnnotationsMenuBar.java:[14,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ViewTreeItem;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ViewTreeItem cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/GenerateJPAHibernateAnnotationsMenuBar.java:[42,0]
[ERROR] TreeItem item = new ViewTreeItem(prj,"src",pckg,"Dog.java");
[ERROR] ^^^^^^^^^^^^
[ERROR] ViewTreeItem cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/GenerateJPAHibernateAnnotationsMenuBar.java:[53,0]
[ERROR] TreeItem item2 = new ViewTreeItem(prj,"src",pckg,"Dog.java");
[ERROR] ^^^^^^^^^^^^
[ERROR] ViewTreeItem cannot be resolved to a type
[ERROR] 6 problems (6 errors)

org.jboss.tools.hibernate.reddeer uncompilable

assigned to: jpeterka
labels: bug
(I don't have permissions to assign labels properly.)

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.0:compile (default-compile) on project org.jboss.tools.hibernate.reddeer: Compilation failure: Compilation failure:
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[16,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ShellTreeItem;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ShellTreeItem cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[17,0]
[ERROR] import org.jboss.reddeer.swt.impl.tree.ViewTree;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.jboss.reddeer.swt.impl.tree.ViewTree cannot be resolved
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[33,0]
[ERROR] Tree tree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[51,0]
[ERROR] Tree tree = new ViewTree();
[ERROR] ^^^^^^^^
[ERROR] ViewTree cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[66,0]
[ERROR] new ShellTreeItem("Hibernate", "Hibernate Console Configuration").select();
[ERROR] ^^^^^^^^^^^^^
[ERROR] ShellTreeItem cannot be resolved to a type
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[73,0]
[ERROR] new DefaultText("Project:", 0).setText(configuration.getProject());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultText(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[74,0]
[ERROR] new DefaultCombo("Database connection:", 0).setSelection(configuration.getDatabaseConnection());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultCombo(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[76,0]
[ERROR] new DefaultText("Project:", 0).setText(configuration.getProject());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultText(String, int) is undefined
[ERROR] /home/jakub/redhat/repos/jbosstools-integration-tests/tests/org.jboss.tools.hibernate.reddeer/src/org/jboss/tools/hibernate/reddeer/console/HibernateConfigurationView.java:[77,0]
[ERROR] new DefaultText("Configuration file:", 0).setText(configuration.getConfigurationFile());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor DefaultText(String, int) is undefined
[ERROR] 9 problems (9 errors)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.