Browse Source

Remove wildcard imports in tests

tags/7.7
Janos Gyerik 5 years ago
parent
commit
232ce8639c

+ 2
- 1
plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/AnalysisErrorSensorTest.java View 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();

+ 1
- 1
plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/scm/XooIgnoreCommandTest.java View 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 {

+ 0
- 1
sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/branch/ProjectBranchesTest.java View 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)

Loading…
Cancel
Save