Vendor.java

1
package com.jsql.model.injection.vendor.model;
2
3
public class Vendor {
4
    
5
    private final String labelVendor;
6
    
7
    private AbstractVendor instanceVendor;
8
    
9
    public Vendor(AbstractVendor instanceVendor) {
10
        
11
        this.labelVendor = instanceVendor.getModelYaml().getVendor();
12
        this.instanceVendor = instanceVendor;
13
    }
14
    
15
    public Vendor() {
16
        this.labelVendor = "Database auto";
17
    }
18
19
    public AbstractVendor instance() {
20 1 1. instance : replaced return value with null for com/jsql/model/injection/vendor/model/Vendor::instance → NO_COVERAGE
        return this.instanceVendor;
21
    }
22
    
23
    @Override
24
    public String toString() {
25 1 1. toString : replaced return value with "" for com/jsql/model/injection/vendor/model/Vendor::toString → NO_COVERAGE
        return this.labelVendor;
26
    }
27
    
28
    public String transformSqlite(String resultToParse) {
29 1 1. transformSqlite : replaced return value with "" for com/jsql/model/injection/vendor/model/Vendor::transformSqlite → NO_COVERAGE
        return resultToParse;
30
    }
31
}

Mutations

20

1.1
Location : instance
Killed by : none
replaced return value with null for com/jsql/model/injection/vendor/model/Vendor::instance → NO_COVERAGE

25

1.1
Location : toString
Killed by : none
replaced return value with "" for com/jsql/model/injection/vendor/model/Vendor::toString → NO_COVERAGE

29

1.1
Location : transformSqlite
Killed by : none
replaced return value with "" for com/jsql/model/injection/vendor/model/Vendor::transformSqlite → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.16.1