Skip to content

Commit fa99e88

Browse files
committed
Disable unstable testCompleteActivationChar() on Windows
See #890
1 parent ed71f53 commit fa99e88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/contentassist/AsyncContentAssistTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import static org.junit.Assert.assertNotNull;
1818
import static org.junit.Assert.assertNull;
1919
import static org.junit.Assert.assertTrue;
20+
import static org.junit.Assume.assumeFalse;
2021

2122
import java.util.Arrays;
2223
import java.util.Collection;
@@ -40,6 +41,8 @@
4041
import org.eclipse.core.runtime.IStatus;
4142
import org.eclipse.core.runtime.Platform;
4243

44+
import org.eclipse.jface.util.Util;
45+
4346
import org.eclipse.jface.text.Document;
4447
import org.eclipse.jface.text.IDocument;
4548
import org.eclipse.jface.text.contentassist.ContentAssistant;
@@ -130,6 +133,7 @@ protected boolean condition() {
130133

131134
@Test
132135
public void testCompleteActivationChar() {
136+
assumeFalse("test fails on Windows, see https://github.com/eclipse-platform/eclipse.platform.ui/issues/890", Util.isWindows());
133137
shell.setLayout(new FillLayout());
134138
shell.setSize(500, 300);
135139
SourceViewer viewer= new SourceViewer(shell, null, SWT.NONE);

0 commit comments

Comments
 (0)