Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 262089
Collapse All | Expand All

(-)src/org/eclipse/swt/RWTFixture.java (-1 / +4 lines)
Lines 372-378 Link Here
372
      }
372
      }
373
    }
373
    }
374
    
374
    
375
    while( RWTLifeCycle.getSessionDisplay().readAndDispatch() ) {
375
    Display display = RWTLifeCycle.getSessionDisplay();
376
    if( display != null ) {
377
      while( display.readAndDispatch() ) {
378
      }
376
    }
379
    }
377
    
380
    
378
    lifeCycle.sleep();
381
    lifeCycle.sleep();
(-)src/org/eclipse/swt/internal/widgets/displaykit/DisplayLCA_Test.java (+8 lines)
Lines 248-253 Link Here
248
    assertEquals( Boolean.TRUE, compositeInitState[ 0 ] );
248
    assertEquals( Boolean.TRUE, compositeInitState[ 0 ] );
249
  }
249
  }
250
  
250
  
251
  public void testRenderDisposed() {
252
    Display display = new Display();
253
    display.dispose();
254
    RWTFixture.fakeNewRequest();
255
    RWTFixture.executeLifeCycleFromServerThread();
256
    // ensure that life cycle execution succeeds with disposed display
257
  }
258
  
251
  public void testFocusControl() {
259
  public void testFocusControl() {
252
    Display display = new Display();
260
    Display display = new Display();
253
    Shell shell = new Shell( display, SWT.NONE );
261
    Shell shell = new Shell( display, SWT.NONE );

Return to bug 262089