diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-10 18:12:35 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-12 08:49:09 +0200 |
commit | f785c62ff8259184c889eacea78c5dc25cb9e1a3 (patch) | |
tree | 7041dfa84407c19f3287d1a9e4b4d50e8f9dad96 /plugins/sonar-xoo-plugin/src/test/java/org | |
parent | 73f40c17f4b9cdd03636d7198ac5ae1b563de7d1 (diff) | |
download | sonarqube-f785c62ff8259184c889eacea78c5dc25cb9e1a3.tar.gz sonarqube-f785c62ff8259184c889eacea78c5dc25cb9e1a3.zip |
SONAR-7612 Move new Sensor API out of @Beta
Diffstat (limited to 'plugins/sonar-xoo-plugin/src/test/java/org')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/extensions/XooPostJobTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/extensions/XooPostJobTest.java b/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/extensions/XooPostJobTest.java index 82112ac2709..66b9c5e227f 100644 --- a/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/extensions/XooPostJobTest.java +++ b/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/extensions/XooPostJobTest.java @@ -23,7 +23,7 @@ import org.junit.Rule; import org.junit.Test; import org.sonar.api.batch.postjob.PostJobContext; import org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor; -import org.sonar.api.batch.postjob.issue.Issue; +import org.sonar.api.batch.postjob.issue.PostJobIssue; import org.sonar.api.utils.log.LogTester; import java.util.Arrays; @@ -41,8 +41,8 @@ public class XooPostJobTest { public void increaseCoverage() { new XooPostJob().describe(new DefaultPostJobDescriptor()); PostJobContext context = mock(PostJobContext.class); - when(context.issues()).thenReturn(Arrays.<Issue>asList()); - when(context.resolvedIssues()).thenReturn(Arrays.<Issue>asList()); + when(context.issues()).thenReturn(Arrays.<PostJobIssue>asList()); + when(context.resolvedIssues()).thenReturn(Arrays.<PostJobIssue>asList()); new XooPostJob().execute(context); assertThat(logTester.logs()).contains("Resolved issues: 0", "Open issues: 0"); } |