Skip to content

Commit

Permalink
Get rid of orchestrator.resetData()
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaladin authored Oct 2, 2020
1 parent c17efde commit 6e8e484
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ target/

# SonarQube
.sonar/
.scannerwork/

# IntelliJ IDEA
*.iws
Expand Down
6 changes: 0 additions & 6 deletions its/plugin/src/test/java/com/sonar/it/flex/CoverageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.sonar.orchestrator.Orchestrator;
import com.sonar.orchestrator.build.SonarScanner;
import java.io.File;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;

Expand All @@ -40,11 +39,6 @@ public class CoverageTest {
private static final String SRC_DIR = "src/main/flex";
private static final File PROJECT_DIR = new File("projects/coverage");

@Before
public void clean() {
orchestrator.resetData();
}

@Test
public void report_path_can_be_relative() throws Exception {
SonarScanner build = Tests.createSonarScanner()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ private String keyFor(String s) {

@BeforeClass
public static void init() {
orchestrator.resetData();

MavenBuild build = Tests.createMavenBuild()
.setPom(new File("projects/as3commons/pom.xml"))
.setCleanSonarGoals();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private static String keyFor(String s) {

@BeforeClass
public static void init() {
orchestrator.resetData();
SonarScanner runner = Tests.createSonarScanner()
.setProjectDir(new File("projects/simple-project"))
.setProperty("sonar.profile", "it-profile");
Expand Down

0 comments on commit 6e8e484

Please sign in to comment.