Re: [SWTBot-users] How to use SWTBot to find a class in mainTypeDialog
Brought to you by:
kpadegaonkar
From: Yao Q. <qiy...@gm...> - 2009-01-06 03:40:26
|
On Tue, Jan 6, 2009 at 12:22 AM, Ketan Padegaonkar <ket...@gm...> wrote: > You're possibly using a table, most 'lists' in eclipse are actually > tables :) > > Also you need not assert on the shell being null, you'll *never* get a > null, but a WidgetNotFoundException if any widget is not found. Exactly, :) I've formed a habit to assertNull when I get an object returned from a method. Exception here is better than null. -- Yao GNU/Linux Developer |