On Tue, Jan 6, 2009 at 12:22 AM, Ketan Padegaonkar <[email protected]> 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 ------------------------------------------------------------------------------ _______________________________________________ SWTBot-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse
