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 159175 Details for
Bug 302940
[Shell] NPE in Shell default constructor
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]
Test case to reproduce exception
clipboard.txt (text/plain), 954 bytes, created by
RĂ¼diger Herrmann
on 2010-02-16 08:33:32 EST
(
hide
)
Description:
Test case to reproduce exception
Filename:
MIME Type:
Creator:
RĂ¼diger Herrmann
Created:
2010-02-16 08:33:32 EST
Size:
954 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.test >Index: src/org/eclipse/swt/widgets/Shell_Test.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/Shell_Test.java,v >retrieving revision 1.27 >diff -u -r1.27 Shell_Test.java >--- src/org/eclipse/swt/widgets/Shell_Test.java 5 Feb 2010 13:10:24 -0000 1.27 >+++ src/org/eclipse/swt/widgets/Shell_Test.java 16 Feb 2010 13:32:57 -0000 >@@ -91,6 +91,12 @@ > Rectangle clientAreaWithMenuBar = shell.getClientArea(); > assertTrue( clientAreaWithoutMenuBar.y < clientAreaWithMenuBar.y ); > } >+ >+ public void testDefaultConstructor() { >+ Shell shell = new Shell(); >+ assertNotNull( shell.getDisplay() ); >+ assertSame( Display.getCurrent(), shell.getDisplay() ); >+ } > > public void testConstructor() throws Exception { > Shell shell;
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 302940
: 159175