Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » SWTBot test problem: Double Click node call Derect Edit Label(Double Click node call Derect Edit Label when run SWTBot test in Maven build)
SWTBot test problem: Double Click node call Derect Edit Label [message #1468903] Tue, 11 November 2014 06:21 Go to next message
Sann Tran is currently offline Sann TranFriend
Messages: 15
Registered: November 2014
Junior Member
In representation diagram, we have 2 nodes that represent 2 Folders inside a directory. The first node represents the empty folder, and the second node represents the folder that contain sub-folder inside.

We configure the .odesign so that when double click to a node, if the node present empty folder then nothing happens, else open the folder. And also set Direct Edit Label to Node (that present Folder)

It works fine when we run as SWTBot, but problem is that if we run test using Maven build, the double click to Node of empty folder will trigger Derect Edit Label, it mean that instead of nothing happens as expected, the node label is replaced by a textbox to edit.
(No problem found with the node of folder has sub-folder)

So what causes this problem? The problem comes from Maven or Sirius? And what should I do to fix now?

[Updated on: Wed, 12 November 2014 07:22]

Report message to a moderator

Re: SWTBot test problem: Double Click node call Derect Edit Label [message #1470849 is a reply to message #1468903] Wed, 12 November 2014 17:31 Go to previous messageGo to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi Sann,

Do you run your SWTBot tests on Windows or Linux?
When you launch the tests with Maven, which plugin do you use, which
viewer do you use, Xephyr, Xvnc, ... ?
Your issue seems not related to Sirius.

Best Regards.

Le 11/11/2014 14:59, Sann Tran a écrit :
> For example, in representation diagram, we have 2 nodes that represent 2
> Folders inside a directory. The first node represents the empty folder,
> and the second node represents the folder that contain sub-folder inside.
>
> We configure the .odesign that when double click to a node, if the node
> present empty folder then nothing happens, else open the folder. And
> also set Derect Edit Label to Node (that present Folder)
>
> It works fine when we run as SWTBot, but problem is that if we run test
> using Maven build, the double click to Node of empty folder will trigger
> Derect Edit Label, it mean that instead of nothing happens as expected,
> the node label is replaced by a textbox to edit.
> (No problem found with the node of folder has sub-folder)



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: SWTBot test problem: Double Click node call Derect Edit Label [message #1472782 is a reply to message #1470849] Fri, 14 November 2014 04:51 Go to previous messageGo to next message
Sann Tran is currently offline Sann TranFriend
Messages: 15
Registered: November 2014
Junior Member
Thanks for quick reply,

The problem was found on Window, and we have not tested on Linux yet.
We use tycho-surefire-plugin for viewer, I think.

Please check it again, and if the issue is not related to Sirius, I think that we should raise the issue on Maven forum.

Best regards,
Re: SWTBot test problem: Double Click node call Derect Edit Label [message #1472942 is a reply to message #1472782] Fri, 14 November 2014 07:57 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Our Sirius SWTBot tests are executed on Linux, then I can't say if your
issue is related to Sirius.

Best Regards.

Le 14/11/2014 05:51, Sann Tran a écrit :
> Thanks for quick reply,
>
> The problem was found on Window, and we have not tested on Linux yet.
> We use tycho-surefire-plugin for viewer, I think.
>
> Please check it again, and if the issue is not related to Sirius, I
> think that we should raise the issue on Maven forum.
>
> Best regards,



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:EEF Integration with Sirius 2.0
Next Topic:HowTo dynamically extend the tool palette at runtime
Goto Forum:
  


Current Time: Tue Apr 23 08:23:22 GMT 2024

Powered by FUDForum. Page generated in 0.04515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top