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 302940
Collapse All | Expand All

(-)src/org/eclipse/swt/widgets/Shell_Test.java (+6 lines)
Lines 91-96 Link Here
91
    Rectangle clientAreaWithMenuBar = shell.getClientArea();
91
    Rectangle clientAreaWithMenuBar = shell.getClientArea();
92
    assertTrue( clientAreaWithoutMenuBar.y < clientAreaWithMenuBar.y );
92
    assertTrue( clientAreaWithoutMenuBar.y < clientAreaWithMenuBar.y );
93
  }
93
  }
94
  
95
  public void testDefaultConstructor() {
96
    Shell shell = new Shell();
97
    assertNotNull( shell.getDisplay() );
98
    assertSame( Display.getCurrent(), shell.getDisplay() );
99
  }
94
100
95
  public void testConstructor() throws Exception {
101
  public void testConstructor() throws Exception {
96
    Shell shell;
102
    Shell shell;

Return to bug 302940