diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-02-19 23:06:58 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-02-20 09:36:21 +0100 |
commit | 272fb51fc5f7dcbef163938c3230ef1e4f87640a (patch) | |
tree | 91cdc2d9847c9fb1fcacde60e0220e9aedf38578 /sonar-batch | |
parent | 72d197c7c6b3a87668c4375d04b35e2d8339c427 (diff) | |
download | sonarqube-272fb51fc5f7dcbef163938c3230ef1e4f87640a.tar.gz sonarqube-272fb51fc5f7dcbef163938c3230ef1e4f87640a.zip |
SONAR-5931 Cleanup new issue API
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/sensor/DefaultSensorStorageTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/sensor/DefaultSensorStorageTest.java b/sonar-batch/src/test/java/org/sonar/batch/sensor/DefaultSensorStorageTest.java index 02b526f0375..157bd38a20a 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/sensor/DefaultSensorStorageTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/sensor/DefaultSensorStorageTest.java @@ -187,7 +187,7 @@ public class DefaultSensorStorageTest { sensorStorage.store(new DefaultIssue() .onFile(file) - .ruleKey(RuleKey.of("foo", "bar")) + .forRule(RuleKey.of("foo", "bar")) .message("Foo") .atLine(3) .effortToFix(10.0)); @@ -213,7 +213,7 @@ public class DefaultSensorStorageTest { sensorStorage.store(new DefaultIssue() .onDir(dir) - .ruleKey(RuleKey.of("foo", "bar")) + .forRule(RuleKey.of("foo", "bar")) .message("Foo") .effortToFix(10.0)); @@ -236,7 +236,7 @@ public class DefaultSensorStorageTest { sensorStorage.store(new DefaultIssue() .onProject() - .ruleKey(RuleKey.of("foo", "bar")) + .forRule(RuleKey.of("foo", "bar")) .message("Foo") .overrideSeverity(Severity.BLOCKER) .effortToFix(10.0)); |