|
1
|
|
package fr.sii.ogham.core.resource.path; |
|
2
|
|
|
|
3
|
|
import fr.sii.ogham.core.util.EqualsBuilder; |
|
4
|
|
import fr.sii.ogham.core.util.HashCodeBuilder; |
|
5
|
|
|
|
6
|
|
public class UnresolvedPath implements ResourcePath { |
|
7
|
|
private final String originalPath; |
|
8
|
|
|
|
9
|
|
public UnresolvedPath(String path) { |
|
10
|
|
super(); |
|
11
|
|
this.originalPath = path; |
|
12
|
|
} |
|
13
|
|
|
|
14
|
|
@Override |
|
15
|
|
public String getOriginalPath() { |
|
16
|
7
1. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → NO_COVERAGE
2. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → TIMED_OUT
3. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED
4. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED
5. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED
6. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED
7. getOriginalPath : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED
|
return originalPath; |
|
17
|
|
} |
|
18
|
|
|
|
19
|
|
@Override |
|
20
|
|
public int hashCode() { |
|
21
|
2
1. hashCode : replaced int return with 0 for fr/sii/ogham/core/resource/path/UnresolvedPath::hashCode → NO_COVERAGE
2. hashCode : replaced int return with 0 for fr/sii/ogham/core/resource/path/UnresolvedPath::hashCode → SURVIVED
|
return new HashCodeBuilder().append(originalPath).hashCode(); |
|
22
|
|
} |
|
23
|
|
|
|
24
|
|
@Override |
|
25
|
|
public boolean equals(Object obj) { |
|
26
|
4
1. equals : replaced boolean return with false for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → NO_COVERAGE
2. equals : replaced boolean return with true for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → NO_COVERAGE
3. equals : replaced boolean return with false for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → KILLED
4. equals : replaced boolean return with true for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → KILLED
|
return new EqualsBuilder(this, obj).appendFields("originalPath").isEqual(); |
|
27
|
|
} |
|
28
|
|
|
|
29
|
|
@Override |
|
30
|
|
public String toString() { |
|
31
|
|
StringBuilder builder = new StringBuilder(); |
|
32
|
|
builder.append("'").append(originalPath).append("'"); |
|
33
|
3
1. toString : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::toString → NO_COVERAGE
2. toString : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::toString → SURVIVED
3. toString : replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::toString → TIMED_OUT
|
return builder.toString(); |
|
34
|
|
} |
|
35
|
|
} |
| | Mutations |
| 16 |
|
1.1 Location : getOriginalPath Killed by : oghamthymeleafv2.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv2.it.ThymeleafDetectorTest) replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED 2.2 Location : getOriginalPath Killed by : oghamcore.it.core.resource.resolver.FirstSupportingResolverTest.unknown(oghamcore.it.core.resource.resolver.FirstSupportingResolverTest) replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED 3.3 Location : getOriginalPath Killed by : oghamthymeleafv3.it.ThymeleafDetectorTest.foundButEmpty(oghamthymeleafv3.it.ThymeleafDetectorTest) replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED 4.4 Location : getOriginalPath Killed by : oghamfremarker.it.FreeMarkerTemplateDetectorTest.text(oghamfremarker.it.FreeMarkerTemplateDetectorTest) replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED 5.5 Location : getOriginalPath Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → TIMED_OUT 6.6 Location : getOriginalPath Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredAndTemplateParsersOnlyRegisteredCantHandleTemplateContentDueToResourceResolutionNotConfigured(oghamall.it.configuration.EmptyBuilderTest) replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → KILLED 7.7 Location : getOriginalPath Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::getOriginalPath → NO_COVERAGE
|
| 21 |
|
1.1 Location : hashCode Killed by : none replaced int return with 0 for fr/sii/ogham/core/resource/path/UnresolvedPath::hashCode → NO_COVERAGE 2.2 Location : hashCode Killed by : none replaced int return with 0 for fr/sii/ogham/core/resource/path/UnresolvedPath::hashCode → SURVIVED
|
| 26 |
|
1.1 Location : equals Killed by : oghamfremarker.it.FreeMarkerTemplateDetectorTest.text(oghamfremarker.it.FreeMarkerTemplateDetectorTest) replaced boolean return with false for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → KILLED 2.2 Location : equals Killed by : none replaced boolean return with false for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → NO_COVERAGE 3.3 Location : equals Killed by : none replaced boolean return with true for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → NO_COVERAGE 4.4 Location : equals Killed by : oghamfremarker.it.FreeMarkerTemplateDetectorTest.text(oghamfremarker.it.FreeMarkerTemplateDetectorTest) replaced boolean return with true for fr/sii/ogham/core/resource/path/UnresolvedPath::equals → KILLED
|
| 33 |
|
1.1 Location : toString Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::toString → TIMED_OUT 2.2 Location : toString Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::toString → NO_COVERAGE 3.3 Location : toString Killed by : none replaced return value with "" for fr/sii/ogham/core/resource/path/UnresolvedPath::toString → SURVIVED
|