Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-04-27 07:32:44 +0000
committerAlexander Kurtakov2017-04-27 07:32:44 +0000
commit29628425ae7202feff72113c0d7f562e8326a2f1 (patch)
tree63c224149c524dd4835fbd3209982a3efad818d1
parentf3426794060b2eb88ef98d21b3ad61cdb6bd929d (diff)
downloadorg.eclipse.dltk.core-29628425ae7202feff72113c0d7f562e8326a2f1.tar.gz
org.eclipse.dltk.core-29628425ae7202feff72113c0d7f562e8326a2f1.tar.xz
org.eclipse.dltk.core-29628425ae7202feff72113c0d7f562e8326a2f1.zip
Remove dltk.core.tests.Skip.
Now that we have junit 4.x Ignore unconditionally there is no point in keeping it. It wasn't used at all too. Change-Id: I53dbc965ef328afd5baf6071b4d0a862e4308f88 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/Skip.java27
-rw-r--r--core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/TestSupport.java3
2 files changed, 1 insertions, 29 deletions
diff --git a/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/Skip.java b/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/Skip.java
deleted file mode 100644
index 288334294..000000000
--- a/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/Skip.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 NumberFour AG
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * NumberFour AG - initial API and Implementation (Alex Panchenko)
- *******************************************************************************/
-package org.eclipse.dltk.core.tests;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Like @Ignore in junit4 & until tests will be migrated
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Deprecated
-public @interface Skip {
-
-}
diff --git a/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/TestSupport.java b/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/TestSupport.java
index 250aa52bb..c859e97cf 100644
--- a/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/TestSupport.java
+++ b/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/TestSupport.java
@@ -122,8 +122,7 @@ public class TestSupport {
try {
final Method runMethod = testCase.getClass().getMethod(
testCase.getName(), NO_PARAMS);
- if (runMethod.getAnnotation(Skip.class) != null
- || runMethod.getAnnotation(Ignore.class) != null) {
+ if (runMethod.getAnnotation(Ignore.class) != null) {
return true;
}
} catch (NoSuchMethodException e) {

Back to the top