Skip to content

Commit

Permalink
Ignore Test on JDT > 3.39 / Eclipse 4.33 / 2024-09
Browse files Browse the repository at this point in the history
See #3102

Signed-off-by: Christian Dietrich <[email protected]>
  • Loading branch information
cdietrich committed Jul 27, 2024
1 parent d6e1595 commit e9fa59d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2013, 2022 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2013, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand All @@ -26,7 +26,9 @@
import org.eclipse.xtext.ui.testing.util.IResourcesSetupUtil;
import org.eclipse.xtext.ui.testing.util.JavaProjectSetupUtil;
import org.eclipse.xtext.util.StringInputStream;
import org.junit.Assume;
import org.junit.Test;
import org.osgi.framework.Version;

import com.google.inject.Inject;

Expand All @@ -44,6 +46,8 @@ public class JavaClasspathTest extends AbstractXtendUITestCase {

@Test
public void testNoJavaInClasspath() throws Exception {
Assume.assumeTrue("Newer JDT requires a fix in Xtext",
JavaCore.getPlugin().getBundle().getVersion().compareTo(new Version(3,39,0)) < 0);
LogCapture capturedLogging = LoggingTester.captureLogging(Level.ERROR, AbstractClassMirror.class, new Runnable() {

@Override
Expand Down

0 comments on commit e9fa59d

Please sign in to comment.