Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] (no subject)

Just a TimeoutException but I have made progress. It turns out I can programmatically add an Action to the menu in a MenuListener and find that. So I'm pretty sure it's my one menu item not being contributed somehow.

Craig

On Wed, Apr 11, 2012 at 10:35 AM, Xavier S. <xavier.seignard@xxxxxxxxx> wrote:
Hi,
What is the debug output of your maven execution?
Anything relevant?

Le mercredi 11 avril 2012, Craig Foote a écrit :

I'm having trouble running an SWTBot TestCase under maven and tycho. The following code checks for a context menu item which works when running the test in my IDE but not when I run it using maven.

SWTBotTableItem item = view.bot().table().getTableItem("a");
item.select();
item.contextMenu("b");

In my pom I'm specifying tycho 0.14.1 and swtbot 2.0.0. It specifies the following configuration for the tycho-surefire-plugin:

<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>

I have my dependencies listed as well. I've added debugging statements to the test method and verified the plugins that should be active are and that the current selection is correct. Just no context menu.

What could I be doing wrong?

Craig

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top