summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-12-15 10:46:28 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2014-12-15 10:46:28 +0100
commit7664b08a9d915123fecd44c42632d9c3522fcff1 (patch)
tree4693f2072920ea7f50c7889c2c9028fd859395b8 /sonar-plugin-api
parenta019bf430e96af4314ec93c5c02263f6f28504d9 (diff)
downloadsonarqube-7664b08a9d915123fecd44c42632d9c3522fcff1.tar.gz
sonarqube-7664b08a9d915123fecd44c42632d9c3522fcff1.zip
Remove too early deprecations
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java1
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestCase.java6
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestPlan.java5
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestable.java5
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/TestCase.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/TestPlan.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java5
7 files changed, 0 insertions, 30 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
index 54db782b805..db50719f48f 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
@@ -20,7 +20,6 @@
package org.sonar.api.batch;
import org.sonar.api.batch.fs.InputFile;
-import org.sonar.api.batch.sensor.SensorContext;
import org.sonar.api.design.Dependency;
import org.sonar.api.measures.Measure;
import org.sonar.api.measures.MeasuresFilter;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestCase.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestCase.java
index dfecc85f0a4..a656a76bbb1 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestCase.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestCase.java
@@ -19,16 +19,10 @@
*/
package org.sonar.api.test;
-import org.sonar.api.batch.sensor.SensorContext;
-
import javax.annotation.Nullable;
import java.util.List;
-/**
- * @deprecated since 5.0 use {@link SensorContext#testPlanBuilder(org.sonar.api.batch.fs.InputFile)}
- */
-@Deprecated
public interface MutableTestCase extends TestCase {
MutableTestCase setStatus(@Nullable Status s);
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestPlan.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestPlan.java
index 7a1f9c8cd24..22bccb8d9fb 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestPlan.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestPlan.java
@@ -19,13 +19,8 @@
*/
package org.sonar.api.test;
-import org.sonar.api.batch.sensor.SensorContext;
import org.sonar.api.component.MutablePerspective;
-/**
- * @deprecated since 5.0 use {@link SensorContext#testPlanBuilder(org.sonar.api.batch.fs.InputFile)}
- */
-@Deprecated
public interface MutableTestPlan extends TestPlan<MutableTestCase>, MutablePerspective {
MutableTestCase addTestCase(String name);
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestable.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestable.java
index 2d91cb885e9..be9c30892b1 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestable.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestable.java
@@ -19,13 +19,8 @@
*/
package org.sonar.api.test;
-import org.sonar.api.batch.sensor.SensorContext;
import org.sonar.api.component.MutablePerspective;
-/**
- * @deprecated since 5.0 use {@link SensorContext#testPlanBuilder(org.sonar.api.batch.fs.InputFile)}
- */
-@Deprecated
public interface MutableTestable extends Testable, MutablePerspective {
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/TestCase.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/TestCase.java
index 15dd571699e..abe7025a02a 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/TestCase.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/TestCase.java
@@ -21,10 +21,6 @@ package org.sonar.api.test;
import javax.annotation.Nullable;
-/**
- * @deprecated since 5.0 see {@link org.sonar.api.batch.sensor.test.TestCaseExecution}
- */
-@Deprecated
public interface TestCase {
enum Status {
OK, FAILURE, ERROR, SKIPPED;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/TestPlan.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/TestPlan.java
index affb39bfe5e..dbb864426f5 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/TestPlan.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/TestPlan.java
@@ -21,10 +21,6 @@ package org.sonar.api.test;
import org.sonar.api.component.Perspective;
-/**
- * @deprecated since 5.0
- */
-@Deprecated
public interface TestPlan<T extends TestCase> extends Perspective {
Iterable<T> testCases();
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java
index 1857c49642b..7091b6bee86 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java
@@ -19,17 +19,12 @@
*/
package org.sonar.api.test;
-import org.sonar.api.batch.sensor.SensorContext;
import org.sonar.api.component.Perspective;
import java.util.List;
import java.util.Map;
import java.util.SortedSet;
-/**
- * @deprecated since 5.0 use {@link SensorContext#testPlanBuilder(org.sonar.api.batch.fs.InputFile)}
- */
-@Deprecated
public interface Testable extends Perspective {
List<TestCase> testCases();