TimeLocation.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
@AllArgsConstructor
11
@NoArgsConstructor
12
public class TimeLocation implements Cloneable {
13
  private String room;
14
  private String building;
15
  private String roomCapacity;
16
  private String days;
17
  private String beginTime;
18
  private String endTime;
19
20
  @Override
21
  public Object clone() throws CloneNotSupportedException {
22 1 1. clone : replaced return value with null for edu/ucsb/cs156/courses/documents/TimeLocation::clone → KILLED
    return super.clone();
23
  }
24
}

Mutations

22

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

Active mutators

Tests examined


Report generated by PIT 1.17.0