Search in sources :

Example 1 with AuditPurgeComputationSteps

use of org.sonar.ce.task.projectanalysis.taskprocessor.AuditPurgeTaskProcessor.AuditPurgeComputationSteps in project sonarqube by SonarSource.

the class AuditPurgeTaskProcessorTest method orderedStepClasses.

@Test
public void orderedStepClasses() {
    AuditPurgeComputationSteps auditPurgeComputationSteps = new AuditPurgeComputationSteps(null);
    List<Class<? extends ComputationStep>> steps = auditPurgeComputationSteps.orderedStepClasses();
    Assertions.assertThat(steps).containsExactly(AuditPurgeStep.class);
}
Also used : ComputationStep(org.sonar.ce.task.step.ComputationStep) AuditPurgeComputationSteps(org.sonar.ce.task.projectanalysis.taskprocessor.AuditPurgeTaskProcessor.AuditPurgeComputationSteps) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 AuditPurgeComputationSteps (org.sonar.ce.task.projectanalysis.taskprocessor.AuditPurgeTaskProcessor.AuditPurgeComputationSteps)1 ComputationStep (org.sonar.ce.task.step.ComputationStep)1