ModelYaml.java

1
2
package com.jsql.model.injection.engine.model.yaml;
3
4
import org.apache.commons.lang3.StringUtils;
5
6
import java.io.Serializable;
7
8
public class ModelYaml implements Serializable {
9
10
    private String engine = StringUtils.EMPTY;
11
    private String clone = StringUtils.EMPTY;
12
    private Resource resource = new Resource();
13
    private Strategy strategy = new Strategy();
14
15
    public String getEngine() {
16 1 1. getEngine : replaced return value with "" for com/jsql/model/injection/engine/model/yaml/ModelYaml::getEngine → SURVIVED
        return this.engine;
17
    }
18
19
    public void setEngine(String engine) {
20
        this.engine = engine;
21
    }
22
23
    public String getClone() {
24 1 1. getClone : replaced return value with "" for com/jsql/model/injection/engine/model/yaml/ModelYaml::getClone → SURVIVED
        return this.clone;
25
    }
26
27
    public void setClone(String clone) {
28
        this.clone = clone;
29
    }
30
31
    public Resource getResource() {
32 1 1. getResource : replaced return value with null for com/jsql/model/injection/engine/model/yaml/ModelYaml::getResource → KILLED
        return this.resource;
33
    }
34
35
    public void setResource(Resource resource) {
36
        this.resource = resource;
37
    }
38
39
    public Strategy getStrategy() {
40 1 1. getStrategy : replaced return value with null for com/jsql/model/injection/engine/model/yaml/ModelYaml::getStrategy → NO_COVERAGE
        return this.strategy;
41
    }
42
43
    public void setStrategy(Strategy strategy) {
44
        this.strategy = strategy;
45
    }
46
}

Mutations

16

1.1
Location : getEngine
Killed by : none
replaced return value with "" for com/jsql/model/injection/engine/model/yaml/ModelYaml::getEngine → SURVIVED
Covering tests

24

1.1
Location : getClone
Killed by : none
replaced return value with "" for com/jsql/model/injection/engine/model/yaml/ModelYaml::getClone → SURVIVED
Covering tests

32

1.1
Location : getResource
Killed by : ParameterUtilSpock.[engine:spock]/[spec:ParameterUtilSpock]/[feature:$spock_feature_0_1]
replaced return value with null for com/jsql/model/injection/engine/model/yaml/ModelYaml::getResource → KILLED

40

1.1
Location : getStrategy
Killed by : none
replaced return value with null for com/jsql/model/injection/engine/model/yaml/ModelYaml::getStrategy → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.23.0