Skip to content

Commit 866aa68

Browse files
committed
Skip some Edge test when testing IE
1 parent f746154 commit 866aa68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ public void test_Constructor_asyncParentDisposal() {
342342

343343
@Test
344344
public void test_Constructor_multipleInstantiationsInDifferentShells() {
345+
assumeTrue("This test is intended for Edge only", isEdge);
345346
final int numberOfBrowsers = 5;
346347
for (int i = 0; i < numberOfBrowsers; i++) {
347348
Shell browserShell = new Shell(Display.getCurrent());
@@ -396,7 +397,7 @@ public void close() {
396397

397398
@Test
398399
public void test_Constructor_multipleInstantiationsInDifferentThreads() {
399-
assumeTrue("test case is only relevant on Windows", SwtTestUtil.isWindows);
400+
assumeTrue("This test is intended for Edge only", isEdge);
400401

401402
int numberOfApplication = 5;
402403
List<EdgeBrowserApplication> browserApplications = new ArrayList<>();

0 commit comments

Comments
 (0)