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 212055 Details for
Bug 372699
Invisible shell become an active shell under some constellations
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
Bug-372946-testcase.patch (text/plain), 1.58 KB, created by
Ivan Furnadjiev
on 2012-03-05 05:23:29 EST
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2012-03-05 05:23:29 EST
Size:
1.58 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.test >Index: src/org/eclipse/swt/widgets/Display_Test.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/Display_Test.java,v >retrieving revision 1.79 >diff -u -r1.79 Display_Test.java >--- src/org/eclipse/swt/widgets/Display_Test.java 18 Feb 2012 16:53:39 -0000 1.79 >+++ src/org/eclipse/swt/widgets/Display_Test.java 5 Mar 2012 10:22:29 -0000 >@@ -1381,6 +1381,34 @@ > assertFalse( executed.get() ); > } > >+ public void testRemoveShell_VisibleActiveShell() { >+ Fixture.fakePhase( PhaseId.PROCESS_ACTION ); >+ Display display = new Display(); >+ Shell visibleShell = new Shell( display ); >+ visibleShell.open(); >+ Shell invisibleShell = new Shell( display ); >+ Shell shell = new Shell( display ); >+ shell.open(); >+ >+ shell.close(); >+ >+ assertFalse( invisibleShell.isVisible() ); >+ assertSame( visibleShell, display.getActiveShell() ); >+ } >+ >+ public void testRemoveShell_NoActiveShell() { >+ Fixture.fakePhase( PhaseId.PROCESS_ACTION ); >+ Display display = new Display(); >+ Shell invisibleShell = new Shell( display ); >+ Shell shell = new Shell( display ); >+ shell.open(); >+ >+ shell.close(); >+ >+ assertFalse( invisibleShell.isVisible() ); >+ assertNull( display.getActiveShell() ); >+ } >+ > private static void setCursorLocation( Display display, int x, int y ) { > IDisplayAdapter adapter = display.getAdapter( IDisplayAdapter.class ); > adapter.setCursorLocation( x, y );
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 372699
: 212055