InstructorReportJob.java

1
package edu.ucsb.cs156.happiercows.jobs;
2
3
import edu.ucsb.cs156.happiercows.services.jobs.JobContext;
4
import edu.ucsb.cs156.happiercows.services.jobs.JobContextConsumer;
5
import lombok.Builder;
6
7
@Builder
8
public class InstructorReportJob implements JobContextConsumer {
9
10
    @Override
11
    public void accept(JobContext ctx) throws Exception {
12 1 1. accept : removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED
        ctx.log("Producing instructor report");
13 1 1. accept : removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED
        ctx.log("This is where the code to producing instructor report will go.");
14 1 1. accept : removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED
        ctx.log("Instructor report has been produced!");
15
    }
16
}

Mutations

12

1.1
Location : accept
Killed by : edu.ucsb.cs156.happiercows.jobs.InstructorReportJobTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.happiercows.jobs.InstructorReportJobTests]/[method:test_log_output()]
removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED

13

1.1
Location : accept
Killed by : edu.ucsb.cs156.happiercows.jobs.InstructorReportJobTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.happiercows.jobs.InstructorReportJobTests]/[method:test_log_output()]
removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED

14

1.1
Location : accept
Killed by : edu.ucsb.cs156.happiercows.jobs.InstructorReportJobTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.happiercows.jobs.InstructorReportJobTests]/[method:test_log_output()]
removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.3