I have not; but I assume you would need to add it to your run configuration in 
order to see it go.   

--  
Jody Garnett


On Thursday, 16 February 2012 at 9:50 AM, Nazareno Chan wrote:

>  
> Has anyone had SWT Bot setup working for the uDig project? I tried to set it 
> up yesterday but only got errors. I tried to set it up on a clean Eclipse 
> installation and it worked smoothly.
>  
>  
>   
>  
>  
> Thanks!
>  
>  
>   
>  
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Jody Garnett
> Sent: Tuesday, 14 February 2012 9:54 PM
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] Creating JUnit Test for New View
>  
>  
>  
>  
>   
>  
> >  
> > Hi Guys,
> >  
> >  
> >  
> >   
> >  
> >  
> >  
> > I’m creating a test class for the new Legend View.
> >  
> >  
> >  
> > ·         Is there a standard project where I should put this? Do I need to 
> > create a new plugin for the test? Or would putting it in 
> > net.refractions.udig.project.tests.ui be alright?
> >  
> >  
> >  
> >  
>  
>  
> Each plugin in uDig has a place where its tests live; you should not need to 
> make a new test plugin. I think the one you mention is correct.
>  
>  
> >  
> > ·         Should it run the same as a simple JUnit plugin test? For 
> > example, create the class, add dependency to project being tested, then run 
> > as JUnit Plugin Test?
> >  
> >  
> >   
> >  
> >  
> >  
> >  
> >  
>  
>  
> You could split your tests into two test cases (i.e. one for simple JUnit 
> tests focused on data structures) but most of your tests will be Plugin Tests 
> as you will need to poke at the user interface (and a live EMF model).  
>  
>  
>  
>   
>  
>  
>  
> I also note you can use SWT Bot to automated some of the button poking; see 
> the Eclipse Plugins book for details.  
>  
>  
> >  
> > Thanks,
> >  
> >  
> >  
> > Naz Chan
> >  
> >  
> >  
> >   
> >  
> >  
> >  
> > Ps. Sorry bout all the questions, still finding my way through..
> >  
> >  
> >  
> >   
> >  
> >  
> >  
> >   
> >  
> >  
> >  
> >   ________________________________   
> >  
> >  
> >  
> > The contents of this email are confidential and may be subject to legal or 
> > professional privilege and copyright. No representation is made that this 
> > email is free of viruses or other defects. If you have received this 
> > communication in error, you may not copy or distribute any part of it or 
> > otherwise disclose its contents to anyone. Please advise the sender of your 
> > incorrect receipt of this correspondence.
> >  
> >  
> >  
> >  
> > _______________________________________________
> >  
> >  
> >  
> > User-friendly Desktop Internet GIS (uDig)
> >  
> >  
> >  
> > http://udig.refractions.net
> >  
> >  
> >  
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >  
> >  
> >  
> >  
> >  
>  
>  
>   
>  
>  
>  
>  
>  
> The contents of this email are confidential and may be subject to legal or 
> professional privilege and copyright. No representation is made that this 
> email is free of viruses or other defects. If you have received this 
> communication in error, you may not copy or distribute any part of it or 
> otherwise disclose its contents to anyone. Please advise the sender of your 
> incorrect receipt of this correspondence.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>  
>  


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to