diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-10-19 10:33:11 +0200 |
---|---|---|
committer | Julien HENRY <henryju@yahoo.fr> | 2016-10-21 13:17:30 +0200 |
commit | 87660673df0efcb981b8bd1c831d3df33e75810a (patch) | |
tree | 2e3bf4824c846670e1585355f79ca536a3684848 /sonar-scanner-engine | |
parent | ceb274da86cae287fa3b51384c90f4211218c2fd (diff) | |
download | sonarqube-87660673df0efcb981b8bd1c831d3df33e75810a.tar.gz sonarqube-87660673df0efcb981b8bd1c831d3df33e75810a.zip |
Move old test API to deprecated package
Diffstat (limited to 'sonar-scanner-engine')
9 files changed, 11 insertions, 11 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultCoverageBlock.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultCoverageBlock.java index 003a099b8d6..95d8e2a2b77 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultCoverageBlock.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultCoverageBlock.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import java.util.List; import org.sonar.api.batch.fs.internal.DefaultInputFile; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultTestCase.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultTestCase.java index b87cee936d5..522b47307f8 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultTestCase.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultTestCase.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import com.google.common.base.Preconditions; import java.util.LinkedHashMap; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultTestPlan.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultTestPlan.java index 65f7da160a9..0c64de43637 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultTestPlan.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultTestPlan.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import com.google.common.collect.Lists; import java.util.ArrayList; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultTestable.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultTestable.java index cf99ba2cc75..e59067275b6 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/DefaultTestable.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/DefaultTestable.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import java.util.List; import java.util.Map; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/TestPlanBuilder.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/TestPlanBuilder.java index 7376eb0a174..94fbfd0ef18 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/TestPlanBuilder.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/TestPlanBuilder.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import java.util.HashMap; import java.util.Map; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/TestableBuilder.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/TestableBuilder.java index 2f327a344f2..4c9c3de46fb 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/TestableBuilder.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/TestableBuilder.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import javax.annotation.CheckForNull; import org.sonar.api.batch.fs.InputFile; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/package-info.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/package-info.java index e52c37000b7..d0d8c9b59ed 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/test/package-info.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/deprecated/test/package-info.java @@ -18,6 +18,6 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ @ParametersAreNonnullByDefault -package org.sonar.scanner.test; +package org.sonar.scanner.deprecated.test; import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/TestExecutionAndCoveragePublisher.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/TestExecutionAndCoveragePublisher.java index c920a34f0fe..e5f7cc0cbe1 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/TestExecutionAndCoveragePublisher.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/TestExecutionAndCoveragePublisher.java @@ -30,14 +30,14 @@ import org.sonar.api.test.CoverageBlock; import org.sonar.api.test.MutableTestCase; import org.sonar.api.test.MutableTestPlan; import org.sonar.api.test.TestCase; +import org.sonar.scanner.deprecated.test.DefaultTestable; +import org.sonar.scanner.deprecated.test.TestPlanBuilder; import org.sonar.scanner.index.BatchComponent; import org.sonar.scanner.index.BatchComponentCache; import org.sonar.scanner.protocol.output.ScannerReport; import org.sonar.scanner.protocol.output.ScannerReport.CoverageDetail; import org.sonar.scanner.protocol.output.ScannerReport.Test; import org.sonar.scanner.protocol.output.ScannerReport.Test.TestStatus; -import org.sonar.scanner.test.DefaultTestable; -import org.sonar.scanner.test.TestPlanBuilder; import org.sonar.scanner.protocol.output.ScannerReportWriter; public class TestExecutionAndCoveragePublisher implements ReportPublisherStep { diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java index 310acabe741..c7c34eb64d2 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java @@ -42,6 +42,8 @@ import org.sonar.scanner.bootstrap.ExtensionUtils; import org.sonar.scanner.bootstrap.MetricProvider; import org.sonar.scanner.cpd.CpdExecutor; import org.sonar.scanner.cpd.index.SonarCpdBlockIndex; +import org.sonar.scanner.deprecated.test.TestPlanBuilder; +import org.sonar.scanner.deprecated.test.TestableBuilder; import org.sonar.scanner.events.EventBus; import org.sonar.scanner.index.BatchComponentCache; import org.sonar.scanner.index.DefaultIndex; @@ -90,8 +92,6 @@ import org.sonar.scanner.scan.measure.DeprecatedMetricFinder; import org.sonar.scanner.scan.measure.MeasureCache; import org.sonar.scanner.source.CodeColorizers; import org.sonar.scanner.storage.Storages; -import org.sonar.scanner.test.TestPlanBuilder; -import org.sonar.scanner.test.TestableBuilder; public class ProjectScanContainer extends ComponentContainer { |