UpdateCourseDataRangeOfQuartersSingleSubjectJobFactory.java

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

Mutations

21

1.1
Location : create
Killed by : edu.ucsb.cs156.courses.jobs.UpdateCourseDataRangeOfQuartersSingleSubjectJobFactoryTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.courses.jobs.UpdateCourseDataRangeOfQuartersSingleSubjectJobFactoryTests]/[method:test_create()]
replaced return value with null for edu/ucsb/cs156/courses/jobs/UpdateCourseDataRangeOfQuartersSingleSubjectJobFactory::create → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.3