SWTBot and Dependency Injection [message #1772522] |
Mon, 11 September 2017 23:31 |
Diego Tavolaro Messages: 6 Registered: August 2017 |
Junior Member |
|
|
Hello everyone,
I am developing an Eclipse E4 RCP Application
I would like to retrieve, using SWTBot, one of the MPart of my application for some tests.
I was trying everything for that.
By using SWTWorkbenchBot and IEclipseContext (injected) I had an error about the context.
By using the matcher, I did not find methods which would help me to find the part.
Do you know any suggestions for that?
And do you know if there is something I can do to inject objects (for example context, partService, modelService, etc...) in a SWTBot test ?
Thanks.
PS: if you think I forgot something for your understanding, please, tell me. I will give you more information. I am new to SWTBot.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02358 seconds