aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2018-11-26 16:36:06 +0100
committersonartech <sonartech@sonarsource.com>2019-01-16 09:43:03 +0100
commitcc9d2163a0feb24e4139db55bb616368122a18d4 (patch)
treee21b1f7a959ff65e8f67f7a731638d4a2bbbdd31 /sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob
parent38abb93944c9e0887bed470595882ef1822e4b2c (diff)
downloadsonarqube-cc9d2163a0feb24e4139db55bb616368122a18d4.tar.gz
sonarqube-cc9d2163a0feb24e4139db55bb616368122a18d4.zip
SONAR-11508, SONAR-11484 Index files at project level
Diffstat (limited to 'sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob/DefaultPostJobContextTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob/DefaultPostJobContextTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob/DefaultPostJobContextTest.java
index 3d45aa214d8..f9381879df1 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob/DefaultPostJobContextTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/postjob/DefaultPostJobContextTest.java
@@ -26,7 +26,6 @@ import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import org.sonar.api.batch.AnalysisMode;
-import org.sonar.api.batch.fs.internal.DefaultInputProject;
import org.sonar.api.batch.fs.internal.TestInputFileBuilder;
import org.sonar.api.batch.postjob.issue.PostJobIssue;
import org.sonar.api.batch.rule.Severity;
@@ -54,8 +53,7 @@ public class DefaultPostJobContextTest {
@Before
public void setUp() throws IOException {
issueCache = mock(IssueCache.class);
- DefaultInputProject project = TestInputFileBuilder.newDefaultInputProject("foo", temp.newFolder());
- componentStore = new InputComponentStore(project, mock(BranchConfiguration.class));
+ componentStore = new InputComponentStore(mock(BranchConfiguration.class));
settings = new MapSettings();
analysisMode = mock(AnalysisMode.class);
context = new DefaultPostJobContext(settings.asConfig(), settings, issueCache, componentStore, analysisMode);