diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-08-08 16:23:22 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-08-08 16:23:22 +0200 |
commit | 3d58102c0564f72a49d6d8a691eabbf760d2d20a (patch) | |
tree | 446a79b076a685170ff50e4b1280053d64b95607 /sonar-batch/src/test/java/org/sonar/batch/phases | |
parent | 6fc44fc8c736f720305752097cf0690fc48551a8 (diff) | |
download | sonarqube-3d58102c0564f72a49d6d8a691eabbf760d2d20a.tar.gz sonarqube-3d58102c0564f72a49d6d8a691eabbf760d2d20a.zip |
SONAR-2674 The method Sensor#shouldExecuteOnProject() must not be executed before Initializer extensions
Diffstat (limited to 'sonar-batch/src/test/java/org/sonar/batch/phases')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/phases/PostJobsExecutorTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/phases/PostJobsExecutorTest.java b/sonar-batch/src/test/java/org/sonar/batch/phases/PostJobsExecutorTest.java index 60efff96509..b17c0de0350 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/phases/PostJobsExecutorTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/phases/PostJobsExecutorTest.java @@ -42,9 +42,9 @@ public class PostJobsExecutorTest { Project project = new Project("project"); ProjectDefinition projectDefinition = ProjectDefinition.create(); - PostJobsExecutor executor = new PostJobsExecutor(jobs, project, projectDefinition, mock(MavenPluginExecutor.class)); + PostJobsExecutor executor = new PostJobsExecutor(null, project, projectDefinition, mock(MavenPluginExecutor.class)); SensorContext context = mock(SensorContext.class); - executor.execute(context); + executor.execute(context, jobs); verify(job1).executeOn(project, context); verify(job2).executeOn(project, context); |