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 1 1. getUrl : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getUrl → RUN_ERROR
		return url;
22
	}
23
24
	public String getDelim() {
25 1 1. getDelim : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/MatchedUrl::getDelim → NO_COVERAGE
		return delim;
26
	}
27
}

Mutations

21

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

25

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

Active mutators

Tests examined


Report generated by PIT 1.13.1