Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] Test issue

Hi Mathias and Mickael,

 

The good news is that I was able to get almost all the tests to run successfully except a few exceptions below:

1)      ProjectCreationWizardTest.java : canCreateSWTBotProject test fails

2)      menu(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find view menu with label Try the Banana at index 0

3)        toolbarToogleButton(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

4)        openView(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

5)        toolbarDropDownButton(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

6)        toolbarPushButton(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

7)        toolbarRadioButton(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

8)        getToolbarButtons(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

9)        toolbarButtonNotFound(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget.

10)    FileUtilsTest.java  : canReadFromAFile, canReadFromUrl fail. (FileNotFoundException and says the device is disposed)

 

I marked the entire classes in which there were failing tests to be ignored and rest of the tests  run smoothly.

 

However, in terms of errors in the project, I still get the following error even after installing all the m2e connectors from the catalogue :

Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin:0.5.8.201207111220:prepare-agent (execution: default, phase: initialize)      pom.xml              /indigo  line 19   Maven Project Build Lifecycle Mapping Problem

 

The above error is in pom.xml of all the projects. In terms of quickfixes available for this, there is a fix to permanently mark goal ‘prepare-agent’  in pom.xml as ignored in eclipse build? Should I enable this option ?

 

Also, please advise on the next step.

 

Thanks,

Rohit

 

From: swtbot-dev-bounces@xxxxxxxxxxx [mailto:swtbot-dev-bounces@xxxxxxxxxxx] On Behalf Of Mickael Istria
Sent: Thursday, April 11, 2013 2:35 PM
To: swtbot-dev@xxxxxxxxxxx
Subject: Re: [swtbot-dev] Test issue

 

On 04/11/2013 01:49 AM, Matthias Sohn wrote:

go to Preferences > Plug-in Development > API Baselines click "Add Baseline..." and enter the path

to a local copy of the p2 repository of the latest SWTBot release (don't know if there is a prepackaged zip

otherwise you have to mirror that using p2 mirror task)

On this page, you can find a zipped version of the p2 repo: http://wiki.eclipse.org/SWTBot/Releases#SWTBot_2.1.0_.28Latest_release.29

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets


Back to the top