diff options
author | Michal Duda <michal.duda@sonarsource.com> | 2020-09-11 14:30:31 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-09-17 20:07:12 +0000 |
commit | eb32a549b5e193d244a20504b357dac05e61a58a (patch) | |
tree | 9ba89bf1a729795c27d6166572aba18695861ea2 /sonar-scanner-engine/src/test/java/org/sonar/scanner/rule | |
parent | 8b9fd711b06139820b15109ef8f2dc3fb89da794 (diff) | |
download | sonarqube-eb32a549b5e193d244a20504b357dac05e61a58a.tar.gz sonarqube-eb32a549b5e193d244a20504b357dac05e61a58a.zip |
SONAR-13867 Collect number of indexed C/C++ files in the scanner
Diffstat (limited to 'sonar-scanner-engine/src/test/java/org/sonar/scanner/rule')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/QProfileVerifierTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/QProfileVerifierTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/QProfileVerifierTest.java index c427e5c9ccf..4720972d391 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/QProfileVerifierTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/QProfileVerifierTest.java @@ -24,6 +24,7 @@ import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.slf4j.Logger; +import org.sonar.api.SonarRuntime; import org.sonar.api.batch.fs.internal.TestInputFileBuilder; import org.sonar.scanner.scan.branch.BranchConfiguration; import org.sonar.scanner.scan.filesystem.InputComponentStore; @@ -42,7 +43,7 @@ public class QProfileVerifierTest { @Before public void before() { - store = new InputComponentStore(mock(BranchConfiguration.class)); + store = new InputComponentStore(mock(BranchConfiguration.class), mock(SonarRuntime.class)); profiles = mock(QualityProfiles.class); QProfile javaProfile = new QProfile("p1", "My Java profile", "java", null); when(profiles.findByLanguage("java")).thenReturn(javaProfile); |