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 236845 Details for
Bug 413792
Swing - App - wait for window to close does not succeed before the timeout has expired
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]
patch
0001-enhancement-bug-413792.patch (text/plain), 2.08 KB, created by
Sebastian Struckmann
on 2013-10-24 10:26:40 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Sebastian Struckmann
Created:
2013-10-24 10:26:40 EDT
Size:
2.08 KB
patch
obsolete
>From f92dacd7a5170d080e0de3f31b988d7478377b34 Mon Sep 17 00:00:00 2001 >From: Sebastian Struckmann <sebastian.struckmann@bredex.de> >Date: Thu, 24 Oct 2013 15:43:13 +0200 >Subject: [PATCH] enhancement bug 413792 > >--- > .../jubula/rc/swing/tester/SwingApplicationTester.java | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > >diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/SwingApplicationTester.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/SwingApplicationTester.java >index 638bf1f..8c9d72f 100644 >--- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/SwingApplicationTester.java >+++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/SwingApplicationTester.java >@@ -173,17 +173,20 @@ public class SwingApplicationTester extends AbstractApplicationTester { > */ > public boolean isTrue(AWTEvent event) { > if (event.getID() != WindowEvent.WINDOW_CLOSED >- && event.getID() != ComponentEvent.COMPONENT_HIDDEN) { >+ && event.getID() != ComponentEvent.COMPONENT_HIDDEN >+ && event.getID() != WindowEvent.WINDOW_LOST_FOCUS) { > return false; > } > if (event.getSource() instanceof Frame) { > Frame frame = (Frame)event.getSource(); >- return MatchUtil.getInstance().match( >- frame.getTitle(), m_title, m_operator); >+ return (MatchUtil.getInstance().match( >+ frame.getTitle(), m_title, m_operator) >+ && !frame.isVisible()); > } else if (event.getSource() instanceof Dialog) { > Dialog dialog = (Dialog)event.getSource(); >- return MatchUtil.getInstance().match( >- dialog.getTitle(), m_title, m_operator); >+ return (MatchUtil.getInstance().match( >+ dialog.getTitle(), m_title, m_operator) >+ && !dialog.isVisible()); > } else { > return false; > } >-- >1.7.11 >
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
Flags:
raimar.buehmann
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 413792
: 236845 |
236887
|
236955