Skip to content

Commit

Permalink
SONAR-6681 Remove UnitTestDecorator form the batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Lancelot committed Jul 21, 2015
1 parent d9ac0b4 commit 245d9e1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 185 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.List;
import org.sonar.batch.compute.DirectoriesDecorator;
import org.sonar.batch.compute.FilesDecorator;
import org.sonar.batch.compute.UnitTestDecorator;
import org.sonar.batch.cpd.CpdComponents;
import org.sonar.batch.issue.tracking.IssueTracking;
import org.sonar.batch.scan.report.ConsoleReport;
Expand Down Expand Up @@ -67,7 +66,6 @@ public static Collection all(DefaultAnalysisMode analysisMode) {
RuleNameProvider.class,

// to be moved to compute engine
UnitTestDecorator.class,
DirectoriesDecorator.class,
FilesDecorator.class
);
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void computeMeasuresOnSampleProject() throws Exception {
.newScanTask(new File(tmpDir, "sonar-project.properties"))
.start();

assertThat(result.allMeasures()).hasSize(37);
assertThat(result.allMeasures()).hasSize(25);
}

@Test
Expand Down

0 comments on commit 245d9e1

Please sign in to comment.