MatchedUrl.java

1
package fr.sii.ogham.html.inliner.impl.regexp;
2
3
/**
4
 * Wraps a matched URL with enclosing delimiter (such as {@literal '} or
5
 * {@literal "}).
6
 * 
7
 * @author Aurélien Baudet
8
 *
9
 */
10
public class MatchedUrl {
11
	private final String url;
12
	private final String delim;
13
14
	public MatchedUrl(String url, String delim) {
15
		super();
16
		this.url = url;
17
		this.delim = delim;
18
	}
19
20
	public String getUrl() {
21 3 1. getUrl : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → NO_COVERAGE
2. getUrl : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → KILLED
3. getUrl : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → KILLED
		return url;
22
	}
23
24
	public String getDelim() {
25 3 1. getDelim : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → NO_COVERAGE
2. getDelim : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → KILLED
3. getDelim : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → KILLED
		return delim;
26
	}
27
}

Mutations

21

1.1
Location : getUrl
Killed by : none
replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → NO_COVERAGE

2.2
Location : getUrl
Killed by : oghamall.it.email.EmailResourceInliningTest.inlineResources(oghamall.it.email.EmailResourceInliningTest)
replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → KILLED

3.3
Location : getUrl
Killed by : oghamcore.it.html.translator.InlineImageTranslatorTest.backgroudImagesShouldBeInlined(oghamcore.it.html.translator.InlineImageTranslatorTest)
replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → KILLED

25

1.1
Location : getDelim
Killed by : oghamall.it.email.EmailResourceInliningTest.inlineResources(oghamall.it.email.EmailResourceInliningTest)
replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → KILLED

2.2
Location : getDelim
Killed by : none
replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → NO_COVERAGE

3.3
Location : getDelim
Killed by : oghamcore.it.html.translator.InlineImageTranslatorTest.backgroudImagesShouldBeInlined(oghamcore.it.html.translator.InlineImageTranslatorTest)
replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → KILLED

Active mutators

Tests examined


Report generated by PIT OGHAM