]> source.dussan.org Git - sonarqube.git/commitdiff
Remove wildcard imports in tests
authorJanos Gyerik <janos.gyerik@sonarsource.com>
Mon, 11 Feb 2019 08:57:37 +0000 (09:57 +0100)
committerSonarTech <sonartech@sonarsource.com>
Mon, 11 Feb 2019 19:20:55 +0000 (20:20 +0100)
plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/AnalysisErrorSensorTest.java
plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/scm/XooIgnoreCommandTest.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/branch/ProjectBranchesTest.java

index 33de5f97c2fecd3e61329dd22f6cbdb3d72e8ad4..647e411cae50bdf484d70f32b932ea60106f1964 100644 (file)
@@ -26,7 +26,6 @@ import java.nio.file.Path;
 import java.util.ArrayList;
 import java.util.List;
 
-import static org.assertj.core.api.Assertions.*;
 import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
@@ -37,6 +36,8 @@ import org.sonar.api.batch.fs.internal.TestInputFileBuilder;
 import org.sonar.api.batch.sensor.error.AnalysisError;
 import org.sonar.api.batch.sensor.internal.SensorContextTester;
 
+import static org.assertj.core.api.Assertions.assertThat;
+
 public class AnalysisErrorSensorTest {
   @Rule
   public TemporaryFolder temp = new TemporaryFolder();
index 615c8b40fd46baa4e933c08c769a96c1f3f97f24..1087e95dbb3215c7ce3e103a030a8faa13944187 100644 (file)
@@ -27,7 +27,7 @@ import org.junit.Test;
 import org.junit.rules.ExpectedException;
 import org.junit.rules.TemporaryFolder;
 
-import static org.assertj.core.api.Assertions.*;
+import static org.assertj.core.api.Assertions.assertThat;
 import static org.sonar.xoo.scm.XooIgnoreCommand.IGNORE_FILE_EXTENSION;
 
 public class XooIgnoreCommandTest {
index 7d88a1abc435bdc58ddcf4df31392702004b0041..40c6c59ee59f31a90562df43438bb574c9b71e4b 100644 (file)
@@ -29,7 +29,6 @@ import java.util.List;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
-import static org.assertj.core.api.Assertions.*;
 import static org.assertj.core.api.Assertions.assertThat;
 
 @RunWith(DataProviderRunner.class)