FinalExam.java

1
package edu.ucsb.cs156.courses.documents;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Builder;
5
import lombok.Data;
6
import lombok.NoArgsConstructor;
7
8
@Data
9
@Builder
10
@NoArgsConstructor
11
@AllArgsConstructor
12
public class FinalExam implements Cloneable {
13
  private boolean hasFinals;
14
  private String comments;
15
  private String examDay;
16
  private String examDate;
17
  private String beginTime;
18
  private String endTime;
19
20
  public Object clone() throws CloneNotSupportedException {
21
22
    FinalExam newFinalExam = (FinalExam) super.clone();
23
24 1 1. clone : replaced return value with null for edu/ucsb/cs156/courses/documents/FinalExam::clone → KILLED
    return newFinalExam;
25
  }
26
}

Mutations

24

1.1
Location : clone
Killed by : edu.ucsb.cs156.courses.documents.ConvertedSectionTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.courses.documents.ConvertedSectionTests]/[method:test_clone()]
replaced return value with null for edu/ucsb/cs156/courses/documents/FinalExam::clone → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.3