Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 174633 Details for
Bug 320282
Font ctor should not accept null name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
testcase
clipboard.txt (text/plain), 968 bytes, created by
Benjamin Muskalla
on 2010-07-19 11:27:38 EDT
(
hide
)
Description:
testcase
Filename:
MIME Type:
Creator:
Benjamin Muskalla
Created:
2010-07-19 11:27:38 EDT
Size:
968 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.test >Index: src/org/eclipse/swt/graphics/Font_Test.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/Font_Test.java,v >retrieving revision 1.11 >diff -u -r1.11 Font_Test.java >--- src/org/eclipse/swt/graphics/Font_Test.java 19 Jul 2010 08:06:15 -0000 1.11 >+++ src/org/eclipse/swt/graphics/Font_Test.java 19 Jul 2010 15:26:27 -0000 >@@ -50,6 +50,17 @@ > } > } > >+ public void testConstructorWithNullNameHashcodeClash() { >+ Device device = new Display(); >+ new Font( device, "", 1, SWT.NONE ); >+ try { >+ new Font( device, null, 1, SWT.NONE ); >+ fail( "The font name must not be null" ); >+ } catch( IllegalArgumentException e ) { >+ // Expected >+ } >+ } >+ > public void testConstructorWithNullFontData() { > Device device = new Display(); > try {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 320282
: 174633