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 Resource resource = new Resource();
12
    private Strategy strategy = new Strategy();
13
14
    public String getEngine() {
15 1 1. getEngine : replaced return value with "" for com/jsql/model/injection/engine/model/yaml/ModelYaml::getEngine → SURVIVED
        return this.engine;
16
    }
17
18
    public void setEngine(String engine) {
19
        this.engine = engine;
20
    }
21
22
    public Resource getResource() {
23 1 1. getResource : replaced return value with null for com/jsql/model/injection/engine/model/yaml/ModelYaml::getResource → KILLED
        return this.resource;
24
    }
25
26
    public void setResource(Resource resource) {
27
        this.resource = resource;
28
    }
29
30
    public Strategy getStrategy() {
31 1 1. getStrategy : replaced return value with null for com/jsql/model/injection/engine/model/yaml/ModelYaml::getStrategy → NO_COVERAGE
        return this.strategy;
32
    }
33
34
    public void setStrategy(Strategy strategy) {
35
        this.strategy = strategy;
36
    }
37
}

Mutations

15

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

23

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

31

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