From f1b4428c014da7768d14bbd34cc322594b283bb4 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 4 Nov 2015 16:27:42 +0100 Subject: [PATCH] clean imports in ITs --- it/it-tests/src/test/java/it/Category3Suite.java | 4 ---- .../test/java/it/analysisExclusion/IssueExclusionsTest.java | 1 - .../java/it/duplication/CrossProjectDuplicationsTest.java | 1 - .../src/test/java/it/duplication/DuplicationsTest.java | 1 - .../java/it/settings/SettingsTestRestartingOrchestrator.java | 1 - it/it-tests/src/test/java/it/user/FavouriteTest.java | 3 --- 6 files changed, 11 deletions(-) diff --git a/it/it-tests/src/test/java/it/Category3Suite.java b/it/it-tests/src/test/java/it/Category3Suite.java index a997d042931..fe0fe1068d1 100644 --- a/it/it-tests/src/test/java/it/Category3Suite.java +++ b/it/it-tests/src/test/java/it/Category3Suite.java @@ -18,10 +18,6 @@ import it.analysis.ProjectExclusionsTest; import it.analysis.ProjectProvisioningTest; import it.analysis.SettingsEncryptionTest; import it.analysis.TempFolderTest; -import it.analysisExclusion.FileExclusionsTest; -import it.analysisExclusion.IssueExclusionsTest; -import it.duplication.CrossProjectDuplicationsTest; -import it.duplication.DuplicationsTest; import org.junit.ClassRule; import org.junit.runner.RunWith; import org.junit.runners.Suite; diff --git a/it/it-tests/src/test/java/it/analysisExclusion/IssueExclusionsTest.java b/it/it-tests/src/test/java/it/analysisExclusion/IssueExclusionsTest.java index 0cff840be27..688596ec2c6 100644 --- a/it/it-tests/src/test/java/it/analysisExclusion/IssueExclusionsTest.java +++ b/it/it-tests/src/test/java/it/analysisExclusion/IssueExclusionsTest.java @@ -9,7 +9,6 @@ import com.sonar.orchestrator.Orchestrator; import com.sonar.orchestrator.build.BuildResult; import com.sonar.orchestrator.build.SonarRunner; import com.sonar.orchestrator.locator.FileLocation; -import it.Category3Suite; import it.Category4Suite; import org.junit.Before; import org.junit.ClassRule; diff --git a/it/it-tests/src/test/java/it/duplication/CrossProjectDuplicationsTest.java b/it/it-tests/src/test/java/it/duplication/CrossProjectDuplicationsTest.java index e94289ba848..45708556c60 100644 --- a/it/it-tests/src/test/java/it/duplication/CrossProjectDuplicationsTest.java +++ b/it/it-tests/src/test/java/it/duplication/CrossProjectDuplicationsTest.java @@ -7,7 +7,6 @@ package it.duplication; import com.sonar.orchestrator.Orchestrator; import com.sonar.orchestrator.build.MavenBuild; -import it.Category3Suite; import it.Category4Suite; import org.junit.Before; import org.junit.ClassRule; diff --git a/it/it-tests/src/test/java/it/duplication/DuplicationsTest.java b/it/it-tests/src/test/java/it/duplication/DuplicationsTest.java index 7880a4e6b95..a800174764a 100644 --- a/it/it-tests/src/test/java/it/duplication/DuplicationsTest.java +++ b/it/it-tests/src/test/java/it/duplication/DuplicationsTest.java @@ -7,7 +7,6 @@ package it.duplication; import com.sonar.orchestrator.Orchestrator; import com.sonar.orchestrator.build.MavenBuild; -import it.Category3Suite; import it.Category4Suite; import org.junit.BeforeClass; import org.junit.ClassRule; diff --git a/it/it-tests/src/test/java/it/settings/SettingsTestRestartingOrchestrator.java b/it/it-tests/src/test/java/it/settings/SettingsTestRestartingOrchestrator.java index 20c69447378..aa90d7dcb9d 100644 --- a/it/it-tests/src/test/java/it/settings/SettingsTestRestartingOrchestrator.java +++ b/it/it-tests/src/test/java/it/settings/SettingsTestRestartingOrchestrator.java @@ -27,7 +27,6 @@ import org.junit.After; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; -import util.ItUtils; import util.selenium.SeleneseTest; import static util.ItUtils.*; diff --git a/it/it-tests/src/test/java/it/user/FavouriteTest.java b/it/it-tests/src/test/java/it/user/FavouriteTest.java index c2fd6988040..b3bc8ce5ae4 100644 --- a/it/it-tests/src/test/java/it/user/FavouriteTest.java +++ b/it/it-tests/src/test/java/it/user/FavouriteTest.java @@ -24,11 +24,9 @@ import com.google.common.base.Function; import com.google.common.collect.Iterables; import com.sonar.orchestrator.Orchestrator; import com.sonar.orchestrator.build.SonarRunner; -import com.sonar.orchestrator.locator.FileLocation; import it.Category4Suite; import java.util.List; import org.junit.Before; -import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; import org.sonar.wsclient.Sonar; @@ -40,7 +38,6 @@ import org.sonar.wsclient.services.FavouriteQuery; import static com.google.common.collect.Lists.newArrayList; import static org.assertj.core.api.Assertions.assertThat; import static util.ItUtils.projectDir; -import static util.ItUtils.runProjectAnalysis; /** * TODO This test should not require an analysis, only provionning the project should be enough -- 2.39.5