Browse Source

SONAR-7625 SONAR-7621 Deprecate coverage per test and test execution details Sensor APIs

tags/5.6-RC1
Julien HENRY 8 years ago
parent
commit
73f40c17f4

+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/CoverageBlock.java View File

@@ -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();

+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestCase.java View File

@@ -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);


+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestPlan.java View File

@@ -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> {

/**

+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/MutableTestable.java View File

@@ -19,6 +19,10 @@
*/
package org.sonar.api.test;

/**
* @deprecated since 5.6 feature will be removed soon
*/
@Deprecated
public interface MutableTestable extends Testable {

}

+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/exception/CoverageAlreadyExistsException.java View File

@@ -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);

+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/exception/IllegalDurationException.java View File

@@ -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);

+ 4
- 0
sonar-plugin-api/src/main/java/org/sonar/api/test/exception/TestException.java View File

@@ -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);

Loading…
Cancel
Save