Search in sources :

Example 1 with SyncComputationSteps

use of org.sonar.ce.task.projectanalysis.taskprocessor.IssueSyncTaskProcessor.SyncComputationSteps in project sonarqube by SonarSource.

the class IssueSyncTaskProcessorTest method orderedStepClasses.

@Test
public void orderedStepClasses() {
    SyncComputationSteps syncComputationSteps = new SyncComputationSteps(null);
    List<Class<? extends ComputationStep>> steps = syncComputationSteps.orderedStepClasses();
    Assertions.assertThat(steps).containsExactly(IgnoreOrphanBranchStep.class, IndexIssuesStep.class);
}
Also used : ComputationStep(org.sonar.ce.task.step.ComputationStep) SyncComputationSteps(org.sonar.ce.task.projectanalysis.taskprocessor.IssueSyncTaskProcessor.SyncComputationSteps) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 SyncComputationSteps (org.sonar.ce.task.projectanalysis.taskprocessor.IssueSyncTaskProcessor.SyncComputationSteps)1 ComputationStep (org.sonar.ce.task.step.ComputationStep)1