UploadGradeDataJobFactory.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.repositories.GradeDataRepository;
7
import edu.ucsb.cs156.courses.services.UCSBGradeDataService;
8
import lombok.extern.slf4j.Slf4j;
9
10
@Service
11
public class UploadGradeDataJobFactory {
12
13
    @Autowired
14
    UCSBGradeDataService ucsbGradeDataService;
15
16
    @Autowired
17
    GradeDataRepository gradeDataRepository;
18
19
    public UploadGradeDataJob create() {
20 1 1. create : replaced return value with null for edu/ucsb/cs156/courses/jobs/UploadGradeDataJobFactory::create → KILLED
        return new UploadGradeDataJob(
21
                ucsbGradeDataService,
22
                gradeDataRepository);
23
    }
24
}

Mutations

20

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

Active mutators

Tests examined


Report generated by PIT 1.7.3