CssImageDeclaration.java

1
package fr.sii.ogham.html.inliner.impl.regexp;
2
3
import fr.sii.ogham.html.inliner.ImageResource;
4
5
/**
6
 * Information about an image that is included through CSS property.
7
 * 
8
 * @author Aurélien Baudet
9
 *
10
 */
11
public class CssImageDeclaration {
12
	private final MatchedUrl url;
13
	private final String mode;
14
	private final ImageResource image;
15
16
	public CssImageDeclaration(MatchedUrl url, String mode, ImageResource image) {
17
		super();
18
		this.url = url;
19
		this.mode = mode;
20
		this.image = image;
21
	}
22
23
	public MatchedUrl getUrl() {
24 1 1. getUrl : replaced return value with null for fr/sii/ogham/html/inliner/impl/regexp/CssImageDeclaration::getUrl → RUN_ERROR
		return url;
25
	}
26
27
	public String getMode() {
28 1 1. getMode : replaced return value with "" for fr/sii/ogham/html/inliner/impl/regexp/CssImageDeclaration::getMode → RUN_ERROR
		return mode;
29
	}
30
31
	public ImageResource getImage() {
32 1 1. getImage : replaced return value with null for fr/sii/ogham/html/inliner/impl/regexp/CssImageDeclaration::getImage → RUN_ERROR
		return image;
33
	}
34
35
}

Mutations

24

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

28

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

32

1.1
Location : getImage
Killed by :
replaced return value with null for fr/sii/ogham/html/inliner/impl/regexp/CssImageDeclaration::getImage → RUN_ERROR

Active mutators

Tests examined


Report generated by PIT 1.13.1