OghamThymeleafProperties.java

1
package fr.sii.ogham.spring.template;
2
3
import org.springframework.boot.context.properties.ConfigurationProperties;
4
5
@ConfigurationProperties("ogham.thymeleaf")
6
public class OghamThymeleafProperties {
7
8
	/**
9
	 * Access Spring beans from templates using
10
	 * {@code @beanName.methodName(args)}
11
	 */
12
	private boolean enableSpringBeans = true;
13
14
	public boolean isEnableSpringBeans() {
15 2 1. isEnableSpringBeans : replaced boolean return with false for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → RUN_ERROR
2. isEnableSpringBeans : replaced boolean return with true for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → RUN_ERROR
		return enableSpringBeans;
16
	}
17
18
	public void setEnableSpringBeans(boolean enableSpringBeans) {
19
		this.enableSpringBeans = enableSpringBeans;
20
	}
21
22
}

Mutations

15

1.1
Location : isEnableSpringBeans
Killed by :
replaced boolean return with false for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → RUN_ERROR

2.2
Location : isEnableSpringBeans
Killed by :
replaced boolean return with true for fr/sii/ogham/spring/template/OghamThymeleafProperties::isEnableSpringBeans → RUN_ERROR

Active mutators

Tests examined


Report generated by PIT 1.13.1