UpdateFinalsDataJobFactory.java

1
package edu.ucsb.cs156.courses.jobs;
2
3
import edu.ucsb.cs156.courses.collections.ConvertedSectionCollection;
4
import edu.ucsb.cs156.courses.services.UCSBCurriculumService;
5
import org.springframework.beans.factory.annotation.Autowired;
6
import org.springframework.stereotype.Service;
7
8
@Service
9
public class UpdateFinalsDataJobFactory {
10
11
  @Autowired private UCSBCurriculumService ucsbCurriculumService;
12
13
  @Autowired private ConvertedSectionCollection convertedSectionCollection;
14
15
  public UpdateFinalsDataJob createForQuarterRange(
16
      String start_quarterYYYYQ, String end_quarterYYYYQ) {
17 1 1. createForQuarterRange : replaced return value with null for edu/ucsb/cs156/courses/jobs/UpdateFinalsDataJobFactory::createForQuarterRange → KILLED
    return new UpdateFinalsDataJob(
18
        start_quarterYYYYQ, end_quarterYYYYQ, ucsbCurriculumService, convertedSectionCollection);
19
  }
20
}

Mutations

17

1.1
Location : createForQuarterRange
Killed by : edu.ucsb.cs156.courses.jobs.UpdateFinalsDataJobFactoryTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.courses.jobs.UpdateFinalsDataJobFactoryTests]/[method:test_createForQuarterRange()]
replaced return value with null for edu/ucsb/cs156/courses/jobs/UpdateFinalsDataJobFactory::createForQuarterRange → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.3