protected void doTearDown() throws Exception {
   theShell.dispose();
   theShell = null;
   //		img.dispose();
   //		img2.dispose();
   super.doTearDown();
 }
 protected void doSetUp() throws Exception {
   super.doSetUp();
   theShell = new Shell(Display.getCurrent(), SWT.NONE);
   theShell.setBounds(0, 0, 1024, 768);
   theShell.setVisible(true);
   img = UIPerformancePlugin.getImageDescriptor("icons/anything.gif").createImage();
   img2 = UIPerformancePlugin.getImageDescriptor("icons/view.gif").createImage();
 }