1
|
|
package fr.sii.ogham.core.resource.resolver; |
2
|
|
|
3
|
|
import org.slf4j.Logger; |
4
|
|
import org.slf4j.LoggerFactory; |
5
|
|
|
6
|
|
import fr.sii.ogham.core.exception.resource.ResourceResolutionException; |
7
|
|
import fr.sii.ogham.core.resource.Resource; |
8
|
|
import fr.sii.ogham.core.resource.path.ResolvedPath; |
9
|
|
import fr.sii.ogham.core.resource.path.ResolvedResourcePath; |
10
|
|
import fr.sii.ogham.core.resource.path.ResourcePath; |
11
|
|
|
12
|
|
/** |
13
|
|
* <p> |
14
|
|
* Decorator resource resolver that use parent path and extension for resource |
15
|
|
* resolution. |
16
|
|
* </p> |
17
|
|
* <p> |
18
|
|
* For example, the parent path values "email/user/" and the extension is |
19
|
|
* ".html". The resource name is "hello". This resource resolver appends the |
20
|
|
* parent path, the resource name and the extension generating the path |
21
|
|
* "email/user/hello.html". |
22
|
|
* </p> |
23
|
|
* <p> |
24
|
|
* Once the path is generated, then this implementation delegates the real |
25
|
|
* resource resolution to another implementation. |
26
|
|
* </p> |
27
|
|
* |
28
|
|
* @author Aurélien Baudet |
29
|
|
* |
30
|
|
*/ |
31
|
|
public class RelativeResolver implements DelegateResourceResolver { |
32
|
|
private static final Logger LOG = LoggerFactory.getLogger(RelativeResolver.class); |
33
|
|
|
34
|
|
/** |
35
|
|
* The parent path to add to the resource name (or path) |
36
|
|
*/ |
37
|
|
private String parentPath; |
38
|
|
|
39
|
|
/** |
40
|
|
* The suffix to add to the resource name (or path) |
41
|
|
*/ |
42
|
|
private String extension; |
43
|
|
|
44
|
|
/** |
45
|
|
* The delegate resolver that will do the real resource resolution |
46
|
|
*/ |
47
|
|
private RelativisableResourceResolver delegate; |
48
|
|
|
49
|
|
/** |
50
|
|
* Initialize the resolver with the mandatory delegate and a parent path. No |
51
|
|
* extension will be appended to the resource path. |
52
|
|
* |
53
|
|
* @param delegate |
54
|
|
* the resolver that will do the real resource resolution |
55
|
|
* @param parentPath |
56
|
|
* a string to add before the resource path |
57
|
|
*/ |
58
|
|
public RelativeResolver(RelativisableResourceResolver delegate, String parentPath) { |
59
|
|
this(delegate, parentPath, ""); |
60
|
|
} |
61
|
|
|
62
|
|
/** |
63
|
|
* Initialize the resolver with the mandatory delegate, a parent path and a |
64
|
|
* extension. |
65
|
|
* |
66
|
|
* @param delegate |
67
|
|
* the resolver that will do the real resource resolution |
68
|
|
* @param parentPath |
69
|
|
* a string to add before the resource path |
70
|
|
* @param extension |
71
|
|
* a string to add after the resource path |
72
|
|
*/ |
73
|
|
public RelativeResolver(RelativisableResourceResolver delegate, String parentPath, String extension) { |
74
|
|
super(); |
75
|
7
1. <init> : negated conditional → NO_COVERAGE
2. <init> : negated conditional → TIMED_OUT
3. <init> : negated conditional → KILLED
4. <init> : negated conditional → KILLED
5. <init> : negated conditional → KILLED
6. <init> : negated conditional → KILLED
7. <init> : negated conditional → KILLED
|
this.parentPath = parentPath == null ? "" : parentPath; |
76
|
4
1. <init> : negated conditional → SURVIVED
2. <init> : negated conditional → NO_COVERAGE
3. <init> : negated conditional → TIMED_OUT
4. <init> : negated conditional → KILLED
|
this.extension = extension == null ? "" : extension; |
77
|
|
this.delegate = delegate; |
78
|
|
} |
79
|
|
|
80
|
|
@Override |
81
|
|
public Resource getResource(ResourcePath path) throws ResourceResolutionException { |
82
|
6
1. getResource : negated conditional → NO_COVERAGE
2. getResource : negated conditional → TIMED_OUT
3. getResource : negated conditional → KILLED
4. getResource : negated conditional → KILLED
5. getResource : negated conditional → KILLED
6. getResource : negated conditional → KILLED
|
if (delegate.isAbsolute(path)) { |
83
|
|
LOG.trace("Absolute resource path {} => do not add parentPath/extension", path); |
84
|
6
1. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → NO_COVERAGE
2. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → TIMED_OUT
3. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
4. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
5. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
6. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
|
return delegate.getResource(path); |
85
|
|
} |
86
|
|
// special case when extension is already set |
87
|
4
1. getResource : negated conditional → NO_COVERAGE
2. getResource : negated conditional → SURVIVED
3. getResource : negated conditional → NO_COVERAGE
4. getResource : negated conditional → KILLED
|
if (!extension.isEmpty() && path.getOriginalPath().endsWith(extension)) { |
88
|
|
LOG.debug("Adding parentPath '{}' and skipping extension '{}' to the resource path {}", parentPath, extension, path); |
89
|
1
1. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → NO_COVERAGE
|
return delegate.getResource(delegate.resolve(path, parentPath, "")); |
90
|
|
} |
91
|
|
LOG.debug("Adding parentPath '{}' and extension '{}' to the resource path {}", parentPath, extension, path); |
92
|
5
1. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → NO_COVERAGE
2. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
3. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
4. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
5. getResource : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
|
return delegate.getResource(delegate.resolve(path, parentPath, extension)); |
93
|
|
} |
94
|
|
|
95
|
|
@Override |
96
|
|
public boolean supports(ResourcePath path) { |
97
|
12
1. supports : replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → NO_COVERAGE
2. supports : replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → NO_COVERAGE
3. supports : replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → TIMED_OUT
4. supports : replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → TIMED_OUT
5. supports : replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
6. supports : replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
7. supports : replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
8. supports : replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
9. supports : replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
10. supports : replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
11. supports : replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
12. supports : replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
|
return delegate.supports(path); |
98
|
|
} |
99
|
|
|
100
|
|
@Override |
101
|
|
public ResolvedPath resolve(ResourcePath path) { |
102
|
|
ResolvedPath resourcePath = delegate.resolve(path); |
103
|
6
1. resolve : negated conditional → NO_COVERAGE
2. resolve : negated conditional → TIMED_OUT
3. resolve : negated conditional → KILLED
4. resolve : negated conditional → KILLED
5. resolve : negated conditional → KILLED
6. resolve : negated conditional → KILLED
|
if (delegate.isAbsolute(resourcePath)) { |
104
|
|
LOG.trace("Absolute resource path {} => do not add parentPath/extension", path); |
105
|
3
1. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → NO_COVERAGE
2. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → TIMED_OUT
3. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
|
return resourcePath; |
106
|
|
} |
107
|
|
// special case when extension is already set |
108
|
5
1. resolve : negated conditional → NO_COVERAGE
2. resolve : negated conditional → SURVIVED
3. resolve : negated conditional → NO_COVERAGE
4. resolve : negated conditional → KILLED
5. resolve : negated conditional → KILLED
|
if (!extension.isEmpty() && resourcePath.getResolvedPath().endsWith(extension)) { |
109
|
|
LOG.debug("Adding parentPath ({}) and skipping extension ({}) to the resource path {}", parentPath, extension, path); |
110
|
2
1. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → NO_COVERAGE
2. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
|
return new ResolvedResourcePath(path, resourcePath.getLookup(), parentPath + resourcePath.getResolvedPath()); |
111
|
|
} |
112
|
|
LOG.debug("Adding parentPath ({}) and extension ({}) to the resource path {}", parentPath, extension, path); |
113
|
5
1. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → NO_COVERAGE
2. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
3. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
4. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
5. resolve : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
|
return new ResolvedResourcePath(path, resourcePath.getLookup(), parentPath + resourcePath.getResolvedPath() + extension); |
114
|
|
} |
115
|
|
|
116
|
|
@Override |
117
|
|
public ResourceResolver getActualResourceResolver() { |
118
|
12
1. getActualResourceResolver : negated conditional → NO_COVERAGE
2. getActualResourceResolver : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → NO_COVERAGE
3. getActualResourceResolver : negated conditional → TIMED_OUT
4. getActualResourceResolver : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → TIMED_OUT
5. getActualResourceResolver : negated conditional → KILLED
6. getActualResourceResolver : negated conditional → KILLED
7. getActualResourceResolver : negated conditional → KILLED
8. getActualResourceResolver : negated conditional → KILLED
9. getActualResourceResolver : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED
10. getActualResourceResolver : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED
11. getActualResourceResolver : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED
12. getActualResourceResolver : replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED
|
return delegate instanceof DelegateResourceResolver ? ((RelativeResolver) delegate).getActualResourceResolver() : delegate; |
119
|
|
} |
120
|
|
|
121
|
|
@Override |
122
|
|
public String toString() { |
123
|
3
1. toString : replaced return value with "" for fr/sii/ogham/core/resource/resolver/RelativeResolver::toString → NO_COVERAGE
2. toString : replaced return value with "" for fr/sii/ogham/core/resource/resolver/RelativeResolver::toString → SURVIVED
3. toString : replaced return value with "" for fr/sii/ogham/core/resource/resolver/RelativeResolver::toString → TIMED_OUT
|
return "RelativeResolver [parentPath=" + parentPath + ", extension=" + extension + ", delegate=" + delegate + "]"; |
124
|
|
} |
125
|
|
} |
| | Mutations |
75 |
|
1.1 Location : <init> Killed by : none negated conditional → NO_COVERAGE 2.2 Location : <init> Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.foundWithoutNamespace(oghamthymeleafv3.it.ThymeleafDetectorTest) negated conditional → KILLED 3.3 Location : <init> Killed by : oghamcore.it.html.translator.InlineImageTranslatorTest.oghamAttributesShoulBeRemoved(oghamcore.it.html.translator.InlineImageTranslatorTest) negated conditional → KILLED 4.4 Location : <init> Killed by : none negated conditional → TIMED_OUT 5.5 Location : <init> Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.found(oghamthymeleafv2.it.ThymeleafDetectorTest) negated conditional → KILLED 6.6 Location : <init> Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 7.7 Location : <init> Killed by : oghamall.it.html.translator.JsoupInlineCssTranslatorTest.externalStyles(oghamall.it.html.translator.JsoupInlineCssTranslatorTest) negated conditional → KILLED
|
76 |
|
1.1 Location : <init> Killed by : oghamall.it.resolver.FreemarkerRelativeResourcesTests.relativeToPrefixSuffixAndPath(oghamall.it.resolver.FreemarkerRelativeResourcesTests) negated conditional → KILLED 2.2 Location : <init> Killed by : none negated conditional → TIMED_OUT 3.3 Location : <init> Killed by : none negated conditional → SURVIVED 4.4 Location : <init> Killed by : none negated conditional → NO_COVERAGE
|
82 |
|
1.1 Location : getResource Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv2.it.ThymeleafDetectorTest) negated conditional → KILLED 2.2 Location : getResource Killed by : oghamcore.it.html.translator.InlineImageTranslatorTest.oghamAttributesShoulBeRemoved(oghamcore.it.html.translator.InlineImageTranslatorTest) negated conditional → KILLED 3.3 Location : getResource Killed by : oghamall.it.html.translator.JsoupInlineCssTranslatorTest.externalStyles(oghamall.it.html.translator.JsoupInlineCssTranslatorTest) negated conditional → KILLED 4.4 Location : getResource Killed by : none negated conditional → TIMED_OUT 5.5 Location : getResource Killed by : none negated conditional → NO_COVERAGE 6.6 Location : getResource Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv3.it.ThymeleafDetectorTest) negated conditional → KILLED
|
84 |
|
1.1 Location : getResource Killed by : oghamall.it.email.EmailMultiTemplateTest.withThymeleafOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 2.2 Location : getResource Killed by : oghamcore.it.html.translator.InlineImageTranslatorTest.absoluteUrlsShouldBeAutomaticallySkipped(oghamcore.it.html.translator.InlineImageTranslatorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 3.3 Location : getResource Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv2.it.ThymeleafDetectorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 4.4 Location : getResource Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv3.it.ThymeleafDetectorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 5.5 Location : getResource Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → NO_COVERAGE 6.6 Location : getResource Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → TIMED_OUT
|
87 |
|
1.1 Location : getResource Killed by : none negated conditional → NO_COVERAGE 2.2 Location : getResource Killed by : none negated conditional → SURVIVED 3.3 Location : getResource Killed by : oghamall.it.email.EmailTemplatePrefixTest.withThymeleaf(oghamall.it.email.EmailTemplatePrefixTest) negated conditional → KILLED 4.4 Location : getResource Killed by : none negated conditional → NO_COVERAGE
|
89 |
|
1.1 Location : getResource Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → NO_COVERAGE
|
92 |
|
1.1 Location : getResource Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.found(oghamthymeleafv2.it.ThymeleafDetectorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 2.2 Location : getResource Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.foundWithoutNamespace(oghamthymeleafv3.it.ThymeleafDetectorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 3.3 Location : getResource Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → NO_COVERAGE 4.4 Location : getResource Killed by : oghamall.it.html.translator.JsoupInlineCssTranslatorTest.externalStyles(oghamall.it.html.translator.JsoupInlineCssTranslatorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED 5.5 Location : getResource Killed by : oghamcore.it.html.translator.InlineImageTranslatorTest.oghamAttributesShoulBeRemoved(oghamcore.it.html.translator.InlineImageTranslatorTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getResource → KILLED
|
97 |
|
1.1 Location : supports Killed by : none replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → NO_COVERAGE 2.2 Location : supports Killed by : none replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → TIMED_OUT 3.3 Location : supports Killed by : oghamall.it.html.translator.JsoupInlineCssTranslatorTest.externalStyles(oghamall.it.html.translator.JsoupInlineCssTranslatorTest) replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 4.4 Location : supports Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv2.it.ThymeleafDetectorTest) replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 5.5 Location : supports Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 6.6 Location : supports Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv3.it.ThymeleafDetectorTest) replaced boolean return with false for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 7.7 Location : supports Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 8.8 Location : supports Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.notFound(oghamthymeleafv2.it.ThymeleafDetectorTest) replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 9.9 Location : supports Killed by : none replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → NO_COVERAGE 10.10 Location : supports Killed by : none replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → TIMED_OUT 11.11 Location : supports Killed by : oghamall.it.email.EmailMultiTemplateTest.withFreemarkerInvalidPath(oghamall.it.email.EmailMultiTemplateTest) replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED 12.12 Location : supports Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.notFound(oghamthymeleafv3.it.ThymeleafDetectorTest) replaced boolean return with true for fr/sii/ogham/core/resource/resolver/RelativeResolver::supports → KILLED
|
103 |
|
1.1 Location : resolve Killed by : oghamthymeleafv2.it.ThymeleafParserTest.text(oghamthymeleafv2.it.ThymeleafParserTest) negated conditional → KILLED 2.2 Location : resolve Killed by : oghamall.it.email.EmailMultiTemplateTest.withThymeleafOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) negated conditional → KILLED 3.3 Location : resolve Killed by : oghamthymeleafv3.it.ThymeleafParserTest.html(oghamthymeleafv3.it.ThymeleafParserTest) negated conditional → KILLED 4.4 Location : resolve Killed by : none negated conditional → NO_COVERAGE 5.5 Location : resolve Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 6.6 Location : resolve Killed by : none negated conditional → TIMED_OUT
|
105 |
|
1.1 Location : resolve Killed by : oghamall.it.email.EmailMultiTemplateTest.withThymeleafOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED 2.2 Location : resolve Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → NO_COVERAGE 3.3 Location : resolve Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → TIMED_OUT
|
108 |
|
1.1 Location : resolve Killed by : none negated conditional → NO_COVERAGE 2.2 Location : resolve Killed by : none negated conditional → SURVIVED 3.3 Location : resolve Killed by : oghamall.it.email.EmailResourceInliningTest.inlineResources(oghamall.it.email.EmailResourceInliningTest) negated conditional → KILLED 4.4 Location : resolve Killed by : none negated conditional → NO_COVERAGE 5.5 Location : resolve Killed by : oghamall.it.resolver.FreemarkerRelativeResourcesTests.relativeToPrefixSuffixAndPath(oghamall.it.resolver.FreemarkerRelativeResourcesTests) negated conditional → KILLED
|
110 |
|
1.1 Location : resolve Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → NO_COVERAGE 2.2 Location : resolve Killed by : oghamall.it.email.EmailResourceInliningTest.inlineResources(oghamall.it.email.EmailResourceInliningTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
|
113 |
|
1.1 Location : resolve Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED 2.2 Location : resolve Killed by : oghamthymeleafv3.it.ThymeleafParserTest.html(oghamthymeleafv3.it.ThymeleafParserTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED 3.3 Location : resolve Killed by : oghamall.it.email.EmailMultiTemplateTest.withFreemarkerInvalidPath(oghamall.it.email.EmailMultiTemplateTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED 4.4 Location : resolve Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → NO_COVERAGE 5.5 Location : resolve Killed by : oghamthymeleafv2.it.ExternalFileTest.fileNotFound(oghamthymeleafv2.it.ExternalFileTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::resolve → KILLED
|
118 |
|
1.1 Location : getActualResourceResolver Killed by : none negated conditional → TIMED_OUT 2.2 Location : getActualResourceResolver Killed by : oghamthymeleafv2.it.ExternalFileTest.fileNotFound(oghamthymeleafv2.it.ExternalFileTest) negated conditional → KILLED 3.3 Location : getActualResourceResolver Killed by : none negated conditional → NO_COVERAGE 4.4 Location : getActualResourceResolver Killed by : oghamthymeleafv3.it.ThymeleafParserTest.html(oghamthymeleafv3.it.ThymeleafParserTest) negated conditional → KILLED 5.5 Location : getActualResourceResolver Killed by : oghamall.it.configuration.ThymeleafConfigurationTest.asDeveloperIDefineCustomPathPrefixInMyOwnCode(oghamall.it.configuration.ThymeleafConfigurationTest) negated conditional → KILLED 6.6 Location : getActualResourceResolver Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 7.7 Location : getActualResourceResolver Killed by : oghamthymeleafv2.it.ExternalFileTest.fileNotFound(oghamthymeleafv2.it.ExternalFileTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED 8.8 Location : getActualResourceResolver Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → NO_COVERAGE 9.9 Location : getActualResourceResolver Killed by : none replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → TIMED_OUT 10.10 Location : getActualResourceResolver Killed by : oghamall.it.configuration.ThymeleafConfigurationTest.asDeveloperIDefineCustomPathPrefixInMyOwnCode(oghamall.it.configuration.ThymeleafConfigurationTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED 11.11 Location : getActualResourceResolver Killed by : oghamthymeleafv3.it.ThymeleafParserTest.html(oghamthymeleafv3.it.ThymeleafParserTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED 12.12 Location : getActualResourceResolver Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced return value with null for fr/sii/ogham/core/resource/resolver/RelativeResolver::getActualResourceResolver → KILLED
|
123 |
|
1.1 Location : toString Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/resolver/RelativeResolver::toString → NO_COVERAGE 2.2 Location : toString Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/resolver/RelativeResolver::toString → TIMED_OUT 3.3 Location : toString Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/resolver/RelativeResolver::toString → SURVIVED
|