Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot application and plugin
SWTBot application and plugin [message #31135] Wed, 01 April 2009 07:49 Go to next message
Brice Laurel is currently offline Brice Laurel
Messages: 72
Registered: July 2009
Member
Hi list,

I created a SWTBot application (testAppli1). In Eclipse 3.4, I do (File ->
New -> Project -> Plugin project ....) which test appli1 (a rcp
application in my workspace). I want to know if testAppli1 is a plugin ?
If yes, why it's don't extend an extension point of appli1.

Thanks in advance for your help.
Re: SWTBot application and plugin [message #31203 is a reply to message #31135] Wed, 01 April 2009 16:10 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Yes the application is a plugin. A test-plugin (which is still a plugin
with test code) does not "extend from" the extension point of the
application, because there's no such thing as an extension point of the
application :)

What you're probably asking for is why the SWTBot test plugin does not
depend on the application? This is because the test plugin does not need
to depend on any code that's sitting inside your application. Some
people prefer to add that dependency if they want to reuse some pieces
of code to make tests simpler and more robust.

-- Ketan

On 1/4/09 00:49, Brice Laurel wrote:
> Hi list,
>
> I created a SWTBot application (testAppli1). In Eclipse 3.4, I do (File
> -> New -> Project -> Plugin project ....) which test appli1 (a rcp
> application in my workspace). I want to know if testAppli1 is a plugin ?
> If yes, why it's don't extend an extension point of appli1.
>
> Thanks in advance for your help.
>
Re: SWTBot application and plugin [message #31490 is a reply to message #31203] Mon, 06 April 2009 08:44 Go to previous message
DEMGNE KAMDEM Carole BÃ?©atrice is currently offline DEMGNE KAMDEM Carole BÃ?©atrice
Messages: 1
Registered: July 2009
Junior Member
Thanks Ketan for your answer,

How to test my plugin is linked with the application to test it does not
point to expansion?

If testAppli is a plugin of appli1. How I can launch testAppli1 from
appli1?. (I want just to explain my work : I think I don't understand
exactly the SWTBot principle).

Thanks in advance for your help.
Previous Topic:Improvements for testing RCP applications
Next Topic:Extra space needed in name to find a menu item
Goto Forum:
  


Current Time: Mon Sep 22 20:16:39 GMT 2014

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

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