Skip to content

Commit

Permalink
Disable unstable testCompleteActivationChar() on Windows
Browse files Browse the repository at this point in the history
See #890
  • Loading branch information
iloveeclipse committed Aug 21, 2023
1 parent ed71f53 commit fa99e88
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeFalse;

import java.util.Arrays;
import java.util.Collection;
Expand All @@ -40,6 +41,8 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;

import org.eclipse.jface.util.Util;

import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.contentassist.ContentAssistant;
Expand Down Expand Up @@ -130,6 +133,7 @@ protected boolean condition() {

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

0 comments on commit fa99e88

Please sign in to comment.