UpdateCourseDataWithQuarterJobFactory.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
import edu.ucsb.cs156.courses.services.UCSBSubjectsService;
9
import lombok.extern.slf4j.Slf4j;
10
11
@Service
12
@Slf4j
13
public class UpdateCourseDataWithQuarterJobFactory  {
14
15
    @Autowired
16
    private UCSBSubjectsService ucsbSubjectService;
17
18
    @Autowired
19
    private UCSBCurriculumService ucsbCurriculumService;
20
21
    @Autowired
22
    private ConvertedSectionCollection convertedSectionCollection;
23
24
    public UpdateCourseDataWithQuarterJob create(String quarterYYYYQ) {
25
        log.info("ucsbSubjectService = " + ucsbSubjectService);
26
        log.info("ucsbCurriculumService = " + ucsbCurriculumService);
27
        log.info("convertedSectionCollection = " + convertedSectionCollection);
28 1 1. create : replaced return value with null for edu/ucsb/cs156/courses/jobs/UpdateCourseDataWithQuarterJobFactory::create → KILLED
        return new UpdateCourseDataWithQuarterJob(quarterYYYYQ, ucsbSubjectService, ucsbCurriculumService, convertedSectionCollection);
29
    }
30
}

Mutations

28

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

Active mutators

Tests examined


Report generated by PIT 1.7.3