diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-10 17:35:36 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-12 08:49:09 +0200 |
commit | 73f40c17f4b9cdd03636d7198ac5ae1b563de7d1 (patch) | |
tree | 35583657d4a4d19b871a05a092ba0d4e95592cdd | |
parent | 99dbeaa6d33da6a9e7495bcb4a35ed436e9f8f4f (diff) | |
download | sonarqube-73f40c17f4b9cdd03636d7198ac5ae1b563de7d1.tar.gz sonarqube-73f40c17f4b9cdd03636d7198ac5ae1b563de7d1.zip |
SONAR-7625 SONAR-7621 Deprecate coverage per test and test execution details Sensor APIs
7 files changed, 28 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/CoverageBlock.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/CoverageBlock.java index e3a6641e79d..dfb42a667dc 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/test/CoverageBlock.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/CoverageBlock.java @@ -21,6 +21,10 @@ package org.sonar.api.test; import java.util.List; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@Deprecated public interface CoverageBlock { TestCase testCase(); 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 603c61624b6..bd90d2f0e53 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 @@ -23,6 +23,10 @@ import java.util.List; import javax.annotation.Nullable; import org.sonar.api.batch.fs.InputFile; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@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 a4732041df6..40829397558 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,6 +19,10 @@ */ package org.sonar.api.test; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@Deprecated public interface MutableTestPlan extends TestPlan<MutableTestCase> { /** 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 e17502ddc1b..525acfd568e 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,6 +19,10 @@ */ package org.sonar.api.test; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@Deprecated public interface MutableTestable extends Testable { } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java index 83395d3448b..51975624f7f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java @@ -19,6 +19,10 @@ */ package org.sonar.api.test.exception; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@Deprecated public class CoverageAlreadyExistsException extends TestException { public CoverageAlreadyExistsException(String message) { super(message); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/IllegalDurationException.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/IllegalDurationException.java index 2f21f54f388..8a1cdbc4202 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/IllegalDurationException.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/IllegalDurationException.java @@ -19,6 +19,10 @@ */ package org.sonar.api.test.exception; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@Deprecated public class IllegalDurationException extends TestException { public IllegalDurationException(String message) { super(message); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/TestException.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/TestException.java index 6e2f614133d..b31608029f9 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/TestException.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/TestException.java @@ -19,6 +19,10 @@ */ package org.sonar.api.test.exception; +/** + * @deprecated since 5.6 feature will be removed soon + */ +@Deprecated public class TestException extends RuntimeException { public TestException(String message) { super(message); |