Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeo Ufimtsev2017-02-16 19:24:25 +0000
committerLeo Ufimtsev2017-02-16 19:24:25 +0000
commit1133c09eab77d11fb4416493fef47559497f59a8 (patch)
treebf62121672d1d8ee89e30c86e4109aa8b193d1d9 /tests
parent18425db4df09432f84f2b602783f2a0bf9ba7c31 (diff)
downloadeclipse.platform.swt-1133c09eab77d11fb4416493fef47559497f59a8.tar.gz
eclipse.platform.swt-1133c09eab77d11fb4416493fef47559497f59a8.tar.xz
eclipse.platform.swt-1133c09eab77d11fb4416493fef47559497f59a8.zip
Bug 511874 temporarily disable test_execute_and_closeListener osx/win32Y20170216-1515Y20170216-1450
This test seems to be inconsistent on Cocoa and Win32. It may be an issue with the test itself. For now, I'm making this test only run on webkit* I will setup a Cocoa/Win32 box to investigate this after vacation in 2 weeks. For now to prevent build log errors, I'll turn the test off. Change-Id: I40e2ad2ff8afcfe0efa5e47f080e46312aee0f8f Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
index ec92ca3b7c..f95c9fcf98 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
@@ -15,6 +15,7 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.junit.Assume.assumeFalse;
+import static org.junit.Assume.assumeTrue;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
@@ -686,7 +687,8 @@ public void test_execute_withNullArg() {
*/
@Test
public void test_execute_and_closeListener () {
- // This test appears to be failing only on OSX.
+ String skipMsg = "This test is unstable on Cocoa/Win32 at present. Skipping test on non webkit2 for now. To be fixed in Bug 511874";
+ assumeTrue(skipMsg, isWebkit1 || isWebkit2);
// See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=511874
AtomicBoolean hasClosed = new AtomicBoolean(false);

Back to the top