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 |
Sann Tran 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 |
Esteban Dugueperoux 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
|
|
| | |
Goto Forum:
Current Time: Tue Apr 23 08:23:22 GMT 2024
Powered by FUDForum. Page generated in 0.04515 seconds
|