protected void setUp() throws Exception { Fixture.setUp(); display = new Display(); shell = new Shell(display, SWT.NONE); lca = new ScaleLCA(); Fixture.fakeNewRequest(display); }
@Before public void setUp() { Fixture.setUp(); new Display(); gc = mock(GC.class); dispatcher = new GCOperationDispatcher(gc, ClientCanvasTestUtil.createDrawings(3)); }
@Before public void setUp() { Fixture.setUp(); Fixture.fakePhase(PhaseId.PROCESS_ACTION); display = new Display(); shell = new Shell(display); text = new Text(shell, SWT.NONE); }
@Before public void setUp() { Fixture.setUp(); Display display = new Display(); shell = new Shell(display); writer = new ProtocolMessageWriter(); shellId = WidgetUtil.getId(shell); }
@Before public void setUp() { Fixture.setUp(); Fixture.fakePhase(PhaseId.PROCESS_ACTION); display = new Display(); menuItem = mock(MenuItem.class); menuItem.display = display; acceleratorSupport = new AcceleratorBinding(menuItem); }
@Before public void setUp() { Fixture.setUp(); display = new Display(); shell = new Shell(display); progressBar = new ProgressBar(shell, SWT.NONE); lca = new ProgressBarLCA(); Fixture.fakeNewRequest(); }
@Before public void setUp() { Fixture.setUp(); object = mock(Geolocation.class); GeolocationSynchronizer original = new GeolocationSynchronizer(object); synchronizer = spy(original); adapter = mock(GeolocationAdapter.class); when(object.getAdapter(GeolocationAdapter.class)).thenReturn(adapter); }
@Before public void setUp() { Fixture.setUp(); display = new Display(); shell = new Shell(display, SWT.NONE); combo = new Combo(shell, SWT.NONE); lca = new ComboLCA(); Fixture.fakeNewRequest(); }
@Before public void setUp() { Fixture.setUp(); Fixture.fakePhase(PhaseId.PROCESS_ACTION); display = new Display(); shell = new Shell(display); tree = new Tree(shell, SWT.NONE); column = new TreeColumn(tree, SWT.NONE); eventLog = new ArrayList<Event>(); }
@Before public void setUp() { Fixture.setUp(); Fixture.fakePhase(PhaseId.PROCESS_ACTION); }
@Before public void setUp() { Fixture.setUp(); applicationContext = getApplicationContext(); }
@Before public void setUp() { Fixture.setUp(); display = new Display(); shell = new Shell(display); }
@Override protected void setUp() throws Exception { Fixture.setUp(); entryPoint = mockEntryPoint(); entryPointFactory = mockEntryPointFactory(entryPoint); }
@Before public void setUp() { Fixture.setUp(); display = new Display(); }
@Override protected void setUp() throws Exception { Fixture.setUp(); }