UploadGradeDataJobFactory.java

1
package edu.ucsb.cs156.courses.jobs;
2
3
import edu.ucsb.cs156.courses.repositories.GradeHistoryRepository;
4
import edu.ucsb.cs156.courses.services.UCSBGradeHistoryServiceImpl;
5
import org.springframework.beans.factory.annotation.Autowired;
6
import org.springframework.stereotype.Service;
7
8
@Service
9
public class UploadGradeDataJobFactory {
10
11
  @Autowired UCSBGradeHistoryServiceImpl ucsbGradeHistoryServiceImpl;
12
13
  @Autowired GradeHistoryRepository gradeHistoryRepository;
14
15
  public UploadGradeDataJob create() {
16 1 1. create : replaced return value with null for edu/ucsb/cs156/courses/jobs/UploadGradeDataJobFactory::create → KILLED
    return new UploadGradeDataJob(ucsbGradeHistoryServiceImpl, gradeHistoryRepository);
17
  }
18
}

Mutations

16

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.17.0