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

(-)src/org/eclipse/swt/graphics/Font_Test.java (+11 lines)
Lines 50-55 Link Here
50
    }
50
    }
51
  }
51
  }
52
52
53
  public void testConstructorWithNullNameHashcodeClash() {
54
    Device device = new Display();
55
    new Font( device, "", 1, SWT.NONE );
56
    try {
57
      new Font( device, null, 1, SWT.NONE );
58
      fail( "The font name must not be null" );
59
    } catch( IllegalArgumentException e ) {
60
      // Expected
61
    }
62
  }
63
53
  public void testConstructorWithNullFontData() {
64
  public void testConstructorWithNullFontData() {
54
    Device device = new Display();
65
    Device device = new Display();
55
    try {
66
    try {

Return to bug 320282