Credentials.java

1
package fr.sii.ogham.testing.sms.simulator.config;
2
3
/**
4
 * Server credentials
5
 * 
6
 * @author Aurélien Baudet
7
 *
8
 */
9
public class Credentials {
10
	private final String systemId;
11
	private final String password;
12
13
	public Credentials(String systemId, String password) {
14
		super();
15
		this.systemId = systemId;
16
		this.password = password;
17
	}
18
19
	public String getSystemId() {
20 3 1. getSystemId : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getSystemId → SURVIVED
2. getSystemId : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getSystemId → NO_COVERAGE
3. getSystemId : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getSystemId → KILLED
		return systemId;
21
	}
22
23
	public String getPassword() {
24 3 1. getPassword : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getPassword → NO_COVERAGE
2. getPassword : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getPassword → SURVIVED
3. getPassword : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getPassword → KILLED
		return password;
25
	}
26
}

Mutations

20

1.1
Location : getSystemId
Killed by : none
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getSystemId → SURVIVED

2.2
Location : getSystemId
Killed by : oghamtesting.it.sms.simulator.JsmppSimulatorSpec
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getSystemId → KILLED

3.3
Location : getSystemId
Killed by : none
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getSystemId → NO_COVERAGE

24

1.1
Location : getPassword
Killed by : oghamtesting.it.sms.simulator.JsmppSimulatorSpec
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getPassword → KILLED

2.2
Location : getPassword
Killed by : none
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getPassword → NO_COVERAGE

3.3
Location : getPassword
Killed by : none
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/config/Credentials::getPassword → SURVIVED

Active mutators

Tests examined


Report generated by PIT OGHAM