1 | ||
2 | package com.jsql.model.injection.vendor.model.yaml; | |
3 | ||
4 | import org.apache.commons.lang3.StringUtils; | |
5 | ||
6 | import java.io.Serializable; | |
7 | import java.util.Arrays; | |
8 | import java.util.List; | |
9 | import java.util.stream.Collectors; | |
10 | ||
11 | public class Test implements Serializable { | |
12 | ||
13 | private List<String> falsy = Arrays.asList( | |
14 | "'a' = 'b'", | |
15 | "'a' %21= 'a'", | |
16 | "'b' %21= 'b'", | |
17 | "1 = 2", | |
18 | "1 %21= 1", | |
19 | "2 %21= 2" | |
20 | ); | |
21 | | |
22 | private List<String> truthy = Arrays.asList( | |
23 | "'a' = 'a'", | |
24 | "'b' = 'b'", | |
25 | "'a' %21= 'b'", | |
26 | "1 = 1", | |
27 | "2 = 2", | |
28 | "1 %21= 2" | |
29 | ); | |
30 | ||
31 | private String initialization = "0%2b1 = 1"; | |
32 | private String bit = StringUtils.EMPTY; | |
33 | private String length = StringUtils.EMPTY; | |
34 | ||
35 | public List<String> getTruthy() { | |
36 |
1
1. getTruthy : replaced return value with Collections.emptyList for com/jsql/model/injection/vendor/model/yaml/Test::getTruthy → NO_COVERAGE |
return this.truthy; |
37 | } | |
38 | ||
39 | public void setTruthy(List<String> truthy) { | |
40 | this.truthy = truthy; | |
41 | } | |
42 | ||
43 | public List<String> getFalsy() { | |
44 |
1
1. getFalsy : replaced return value with Collections.emptyList for com/jsql/model/injection/vendor/model/yaml/Test::getFalsy → NO_COVERAGE |
return this.falsy; |
45 | } | |
46 | ||
47 | public void setFalsy(List<String> falsy) { | |
48 | this.falsy = falsy; | |
49 | } | |
50 | ||
51 | public String getInitialization() { | |
52 |
1
1. getInitialization : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Test::getInitialization → NO_COVERAGE |
return this.initialization; |
53 | } | |
54 | ||
55 | public void setInitialization(String initialization) { | |
56 | this.initialization = initialization; | |
57 | } | |
58 | ||
59 | public String getBit() { | |
60 |
1
1. getBit : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Test::getBit → NO_COVERAGE |
return this.bit; |
61 | } | |
62 | ||
63 | public void setBit(String bit) { | |
64 | this.bit = bit; | |
65 | } | |
66 | ||
67 | public String getLength() { | |
68 |
1
1. getLength : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Test::getLength → NO_COVERAGE |
return this.length; |
69 | } | |
70 | ||
71 | public void setLength(String length) { | |
72 | this.length = length; | |
73 | } | |
74 | ||
75 | public String getTruthyAsString() { | |
76 |
1
1. getTruthyAsString : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Test::getTruthyAsString → NO_COVERAGE |
return this.truthy.stream() |
77 | .collect( | |
78 | Collectors.joining(System.lineSeparator()) | |
79 | ); | |
80 | } | |
81 | | |
82 | public void setTruthy(String truthy) { | |
83 | this.truthy = Arrays.asList(truthy.split("[\r\n]+")); | |
84 | } | |
85 | | |
86 | public String getFalsyAsString() { | |
87 |
1
1. getFalsyAsString : replaced return value with "" for com/jsql/model/injection/vendor/model/yaml/Test::getFalsyAsString → NO_COVERAGE |
return this.falsy.stream() |
88 | .collect( | |
89 | Collectors.joining(System.lineSeparator()) | |
90 | ); | |
91 | } | |
92 | | |
93 | public void setFalsy(String falsy) { | |
94 | this.falsy = Arrays.asList(falsy.split("[\r\n]+")); | |
95 | } | |
96 | } | |
Mutations | ||
36 |
1.1 |
|
44 |
1.1 |
|
52 |
1.1 |
|
60 |
1.1 |
|
68 |
1.1 |
|
76 |
1.1 |
|
87 |
1.1 |