diff options
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); |