|
1
|
|
package fr.sii.ogham.email.builder.javamail; |
|
2
|
|
|
|
3
|
|
import fr.sii.ogham.core.builder.configuration.ConfigurationValueBuilderHelper; |
|
4
|
|
import fr.sii.ogham.core.convert.Converter; |
|
5
|
|
import fr.sii.ogham.core.env.PropertyResolver; |
|
6
|
|
|
|
7
|
|
/** |
|
8
|
|
* Decorate original {@link PropertyResolver} to override some values. |
|
9
|
|
* |
|
10
|
|
* For example, if a list of hosts is provided with the following values |
|
11
|
|
* <code>"ogham.email.host", "mail.smtp.host"</code> then when caller asks for |
|
12
|
|
* <code>"mail.host"</code>, it returns: |
|
13
|
|
* <ul> |
|
14
|
|
* <li>the value of the property "ogham.email.host" if it exists</li> |
|
15
|
|
* <li>the value of the property "mail.smtp.host" if "ogham.email.host" doesn't |
|
16
|
|
* exist and "mail.smtp.host" exists</li> |
|
17
|
|
* <li>the value of "mail.host" otherwise</li> |
|
18
|
|
* </ul> |
|
19
|
|
* |
|
20
|
|
* It works the same for ports. |
|
21
|
|
* |
|
22
|
|
* @author Aurélien Baudet |
|
23
|
|
* |
|
24
|
|
*/ |
|
25
|
|
public class OverrideJavaMailResolver implements PropertyResolver { |
|
26
|
|
private final PropertyResolver delegate; |
|
27
|
|
private final Converter converter; |
|
28
|
|
private final ConfigurationValueBuilderHelper<?, String> host; |
|
29
|
|
private final ConfigurationValueBuilderHelper<?, Integer> port; |
|
30
|
|
|
|
31
|
|
public OverrideJavaMailResolver(PropertyResolver delegate, Converter converter, ConfigurationValueBuilderHelper<?, String> host, ConfigurationValueBuilderHelper<?, Integer> port) { |
|
32
|
|
super(); |
|
33
|
|
this.delegate = delegate; |
|
34
|
|
this.converter = converter; |
|
35
|
|
this.host = host; |
|
36
|
|
this.port = port; |
|
37
|
|
} |
|
38
|
|
|
|
39
|
|
@Override |
|
40
|
|
public boolean containsProperty(String key) { |
|
41
|
3
1. containsProperty : negated conditional → TIMED_OUT
2. containsProperty : negated conditional → KILLED
3. containsProperty : negated conditional → KILLED
|
if (getValue(key) != null) { |
|
42
|
3
1. containsProperty : replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → TIMED_OUT
2. containsProperty : replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
3. containsProperty : replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
|
return true; |
|
43
|
|
} |
|
44
|
6
1. containsProperty : replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → TIMED_OUT
2. containsProperty : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → TIMED_OUT
3. containsProperty : replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
4. containsProperty : replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
5. containsProperty : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
6. containsProperty : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
|
return delegate.containsProperty(key); |
|
45
|
|
} |
|
46
|
|
|
|
47
|
|
@Override |
|
48
|
|
public String getProperty(String key) { |
|
49
|
|
String value = getValue(key); |
|
50
|
3
1. getProperty : negated conditional → SURVIVED
2. getProperty : negated conditional → TIMED_OUT
3. getProperty : negated conditional → KILLED
|
if (value != null) { |
|
51
|
3
1. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
2. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT
3. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → KILLED
|
return value; |
|
52
|
|
} |
|
53
|
3
1. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
2. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT
3. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → KILLED
|
return delegate.getProperty(key); |
|
54
|
|
} |
|
55
|
|
|
|
56
|
|
@Override |
|
57
|
|
public String getProperty(String key, String defaultValue) { |
|
58
|
|
String value = getValue(key); |
|
59
|
3
1. getProperty : negated conditional → SURVIVED
2. getProperty : negated conditional → TIMED_OUT
3. getProperty : negated conditional → KILLED
|
if (value != null) { |
|
60
|
3
1. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
2. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT
3. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → KILLED
|
return value; |
|
61
|
|
} |
|
62
|
2
1. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
2. getProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
|
return delegate.getProperty(key, defaultValue); |
|
63
|
|
} |
|
64
|
|
|
|
65
|
|
@Override |
|
66
|
|
public <T> T getProperty(String key, Class<T> targetType) { |
|
67
|
|
String value = getValue(key); |
|
68
|
3
1. getProperty : negated conditional → SURVIVED
2. getProperty : negated conditional → TIMED_OUT
3. getProperty : negated conditional → KILLED
|
if (value != null) { |
|
69
|
2
1. getProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
2. getProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT
|
return converter.convert(value, targetType); |
|
70
|
|
} |
|
71
|
2
1. getProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
2. getProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
|
return delegate.getProperty(key, targetType); |
|
72
|
|
} |
|
73
|
|
|
|
74
|
|
@Override |
|
75
|
|
public <T> T getProperty(String key, Class<T> targetType, T defaultValue) { |
|
76
|
|
String value = getValue(key); |
|
77
|
1
1. getProperty : negated conditional → NO_COVERAGE
|
if (value != null) { |
|
78
|
1
1. getProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
|
return converter.convert(value, targetType); |
|
79
|
|
} |
|
80
|
1
1. getProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
|
return delegate.getProperty(key, targetType, defaultValue); |
|
81
|
|
} |
|
82
|
|
|
|
83
|
|
@Override |
|
84
|
|
public String getRequiredProperty(String key) { |
|
85
|
|
String value = getValue(key); |
|
86
|
1
1. getRequiredProperty : negated conditional → NO_COVERAGE
|
if (value != null) { |
|
87
|
1
1. getRequiredProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
return value; |
|
88
|
|
} |
|
89
|
1
1. getRequiredProperty : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
return delegate.getRequiredProperty(key); |
|
90
|
|
} |
|
91
|
|
|
|
92
|
|
@Override |
|
93
|
|
public <T> T getRequiredProperty(String key, Class<T> targetType) { |
|
94
|
|
String value = getValue(key); |
|
95
|
1
1. getRequiredProperty : negated conditional → NO_COVERAGE
|
if (value != null) { |
|
96
|
1
1. getRequiredProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
return converter.convert(value, targetType); |
|
97
|
|
} |
|
98
|
1
1. getRequiredProperty : replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
return delegate.getRequiredProperty(key, targetType); |
|
99
|
|
} |
|
100
|
|
|
|
101
|
|
private String getValue(String key) { |
|
102
|
6
1. getValue : negated conditional → SURVIVED
2. getValue : negated conditional → TIMED_OUT
3. getValue : negated conditional → TIMED_OUT
4. getValue : negated conditional → KILLED
5. getValue : negated conditional → KILLED
6. getValue : negated conditional → KILLED
|
if (isPortKey(key) && getPortValue() != null) { |
|
103
|
3
1. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → TIMED_OUT
2. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
3. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
|
return getPortValue(); |
|
104
|
|
} |
|
105
|
6
1. getValue : negated conditional → TIMED_OUT
2. getValue : negated conditional → TIMED_OUT
3. getValue : negated conditional → KILLED
4. getValue : negated conditional → KILLED
5. getValue : negated conditional → KILLED
6. getValue : negated conditional → KILLED
|
if (isHostKey(key) && getHostValue() != null) { |
|
106
|
3
1. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → TIMED_OUT
2. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
3. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
|
return getHostValue(); |
|
107
|
|
} |
|
108
|
3
1. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → TIMED_OUT
2. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
3. getValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
|
return null; |
|
109
|
|
} |
|
110
|
|
|
|
111
|
|
private String getPortValue() { |
|
112
|
|
Integer value = port.getValue(); |
|
113
|
3
1. getPortValue : negated conditional → TIMED_OUT
2. getPortValue : negated conditional → KILLED
3. getPortValue : negated conditional → KILLED
|
if (value == null) { |
|
114
|
3
1. getPortValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → NO_COVERAGE
2. getPortValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED
3. getPortValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED
|
return null; |
|
115
|
|
} |
|
116
|
3
1. getPortValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → TIMED_OUT
2. getPortValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED
3. getPortValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED
|
return String.valueOf(value); |
|
117
|
|
} |
|
118
|
|
|
|
119
|
|
private static boolean isHostKey(Object key) { |
|
120
|
9
1. isHostKey : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isHostKey → TIMED_OUT
2. isHostKey : negated conditional → TIMED_OUT
3. isHostKey : negated conditional → TIMED_OUT
4. isHostKey : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isHostKey → KILLED
5. isHostKey : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isHostKey → KILLED
6. isHostKey : negated conditional → KILLED
7. isHostKey : negated conditional → KILLED
8. isHostKey : negated conditional → KILLED
9. isHostKey : negated conditional → KILLED
|
return "mail.smtp.host".equals(key) || "mail.host".equals(key); |
|
121
|
|
} |
|
122
|
|
|
|
123
|
|
private static boolean isPortKey(Object key) { |
|
124
|
9
1. isPortKey : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isPortKey → TIMED_OUT
2. isPortKey : negated conditional → TIMED_OUT
3. isPortKey : negated conditional → TIMED_OUT
4. isPortKey : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isPortKey → KILLED
5. isPortKey : replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isPortKey → KILLED
6. isPortKey : negated conditional → KILLED
7. isPortKey : negated conditional → KILLED
8. isPortKey : negated conditional → KILLED
9. isPortKey : negated conditional → KILLED
|
return "mail.smtp.port".equals(key) || "mail.port".equals(key); |
|
125
|
|
} |
|
126
|
|
|
|
127
|
|
private String getHostValue() { |
|
128
|
3
1. getHostValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getHostValue → TIMED_OUT
2. getHostValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getHostValue → KILLED
3. getHostValue : replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getHostValue → KILLED
|
return host.getValue(); |
|
129
|
|
} |
|
130
|
|
} |
| | Mutations |
| 41 |
|
1.1 Location : containsProperty Killed by : oghamall.it.email.EmailCustomImplTest.simple(oghamall.it.email.EmailCustomImplTest) negated conditional → KILLED 2.2 Location : containsProperty Killed by : none negated conditional → TIMED_OUT 3.3 Location : containsProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.valuesWithEmptyProps(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED
|
| 42 |
|
1.1 Location : containsProperty Killed by : none replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → TIMED_OUT 2.2 Location : containsProperty Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED 3.3 Location : containsProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
|
| 44 |
|
1.1 Location : containsProperty Killed by : oghamall.it.configuration.EmptyBuilderTest.manualJavaMailConfigurationCanSendEmail(oghamall.it.configuration.EmptyBuilderTest) replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED 2.2 Location : containsProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED 3.3 Location : containsProperty Killed by : none replaced boolean return with false for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → TIMED_OUT 4.4 Location : containsProperty Killed by : none replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → TIMED_OUT 5.5 Location : containsProperty Killed by : oghamall.it.email.EmailCustomImplTest.simple(oghamall.it.email.EmailCustomImplTest) replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED 6.6 Location : containsProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.valuesWithEmptyProps(oghamjavamail.it.builder.OverridePropertiesTest) replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::containsProperty → KILLED
|
| 50 |
|
1.1 Location : getProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 2.2 Location : getProperty Killed by : none negated conditional → TIMED_OUT 3.3 Location : getProperty Killed by : none negated conditional → SURVIVED
|
| 51 |
|
1.1 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT 2.2 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED 3.3 Location : getProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → KILLED
|
| 53 |
|
1.1 Location : getProperty Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → KILLED 2.2 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT 3.3 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
|
| 59 |
|
1.1 Location : getProperty Killed by : none negated conditional → SURVIVED 2.2 Location : getProperty Killed by : oghamall.it.configuration.JavaMailConfigurationTest.asDeveloperIDefineHostInMyOwnCode(oghamall.it.configuration.JavaMailConfigurationTest) negated conditional → KILLED 3.3 Location : getProperty Killed by : none negated conditional → TIMED_OUT
|
| 60 |
|
1.1 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT 2.2 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED 3.3 Location : getProperty Killed by : oghamall.it.configuration.JavaMailConfigurationTest.asDeveloperIDefineHostUsingProperties(oghamall.it.configuration.JavaMailConfigurationTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → KILLED
|
| 62 |
|
1.1 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE 2.2 Location : getProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED
|
| 68 |
|
1.1 Location : getProperty Killed by : none negated conditional → SURVIVED 2.2 Location : getProperty Killed by : oghamjavamail.it.builder.JavaMailCustomConfigurationTest.oghamPropertyShouldOverride(oghamjavamail.it.builder.JavaMailCustomConfigurationTest) negated conditional → KILLED 3.3 Location : getProperty Killed by : none negated conditional → TIMED_OUT
|
| 69 |
|
1.1 Location : getProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED 2.2 Location : getProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → TIMED_OUT
|
| 71 |
|
1.1 Location : getProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → SURVIVED 2.2 Location : getProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
|
| 77 |
|
1.1 Location : getProperty Killed by : none negated conditional → NO_COVERAGE
|
| 78 |
|
1.1 Location : getProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
|
| 80 |
|
1.1 Location : getProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getProperty → NO_COVERAGE
|
| 86 |
|
1.1 Location : getRequiredProperty Killed by : none negated conditional → NO_COVERAGE
|
| 87 |
|
1.1 Location : getRequiredProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
| 89 |
|
1.1 Location : getRequiredProperty Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
| 95 |
|
1.1 Location : getRequiredProperty Killed by : none negated conditional → NO_COVERAGE
|
| 96 |
|
1.1 Location : getRequiredProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
| 98 |
|
1.1 Location : getRequiredProperty Killed by : none replaced return value with null for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getRequiredProperty → NO_COVERAGE
|
| 102 |
|
1.1 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 2.2 Location : getValue Killed by : none negated conditional → TIMED_OUT 3.3 Location : getValue Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 4.4 Location : getValue Killed by : none negated conditional → SURVIVED 5.5 Location : getValue Killed by : none negated conditional → TIMED_OUT 6.6 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED
|
| 103 |
|
1.1 Location : getValue Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → TIMED_OUT 2.2 Location : getValue Killed by : oghamall.it.email.EmailSMTPAuthenticationTest.authenticated(oghamall.it.email.EmailSMTPAuthenticationTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED 3.3 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
|
| 105 |
|
1.1 Location : getValue Killed by : none negated conditional → TIMED_OUT 2.2 Location : getValue Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 3.3 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 4.4 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 5.5 Location : getValue Killed by : none negated conditional → TIMED_OUT 6.6 Location : getValue Killed by : oghamall.it.configuration.JavaMailConfigurationTest.asDeveloperIDefineHostInMyOwnCode(oghamall.it.configuration.JavaMailConfigurationTest) negated conditional → KILLED
|
| 106 |
|
1.1 Location : getValue Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → TIMED_OUT 2.2 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED 3.3 Location : getValue Killed by : oghamall.it.configuration.JavaMailConfigurationTest.asDeveloperIDefineHostUsingProperties(oghamall.it.configuration.JavaMailConfigurationTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
|
| 108 |
|
1.1 Location : getValue Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED 2.2 Location : getValue Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → TIMED_OUT 3.3 Location : getValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getValue → KILLED
|
| 113 |
|
1.1 Location : getPortValue Killed by : oghamall.it.configuration.EmptyBuilderTest.manualJavaMailConfigurationCanSendEmail(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 2.2 Location : getPortValue Killed by : none negated conditional → TIMED_OUT 3.3 Location : getPortValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED
|
| 114 |
|
1.1 Location : getPortValue Killed by : oghamall.it.configuration.EmptyBuilderTest.manualJavaMailConfigurationCanSendEmail(oghamall.it.configuration.EmptyBuilderTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED 2.2 Location : getPortValue Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → NO_COVERAGE 3.3 Location : getPortValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.noOverrideWithEmptyProps(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED
|
| 116 |
|
1.1 Location : getPortValue Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → TIMED_OUT 2.2 Location : getPortValue Killed by : oghamall.it.email.EmailSMTPAuthenticationTest.authenticated(oghamall.it.email.EmailSMTPAuthenticationTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED 3.3 Location : getPortValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getPortValue → KILLED
|
| 120 |
|
1.1 Location : isHostKey Killed by : none replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isHostKey → TIMED_OUT 2.2 Location : isHostKey Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isHostKey → KILLED 3.3 Location : isHostKey Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isHostKey → KILLED 4.4 Location : isHostKey Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 5.5 Location : isHostKey Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 6.6 Location : isHostKey Killed by : none negated conditional → TIMED_OUT 7.7 Location : isHostKey Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 8.8 Location : isHostKey Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 9.9 Location : isHostKey Killed by : none negated conditional → TIMED_OUT
|
| 124 |
|
1.1 Location : isPortKey Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isPortKey → KILLED 2.2 Location : isPortKey Killed by : none replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isPortKey → TIMED_OUT 3.3 Location : isPortKey Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced boolean return with true for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::isPortKey → KILLED 4.4 Location : isPortKey Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 5.5 Location : isPortKey Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 6.6 Location : isPortKey Killed by : none negated conditional → TIMED_OUT 7.7 Location : isPortKey Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) negated conditional → KILLED 8.8 Location : isPortKey Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest) negated conditional → KILLED 9.9 Location : isPortKey Killed by : none negated conditional → TIMED_OUT
|
| 128 |
|
1.1 Location : getHostValue Killed by : oghamall.it.configuration.JavaMailConfigurationTest.asDeveloperIDefineHostUsingProperties(oghamall.it.configuration.JavaMailConfigurationTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getHostValue → KILLED 2.2 Location : getHostValue Killed by : oghamjavamail.it.builder.OverridePropertiesTest.values(oghamjavamail.it.builder.OverridePropertiesTest) replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getHostValue → KILLED 3.3 Location : getHostValue Killed by : none replaced return value with "" for fr/sii/ogham/email/builder/javamail/OverrideJavaMailResolver::getHostValue → TIMED_OUT
|