OvhAuthParams.java

1
package fr.sii.ogham.sms.sender.impl.ovh;
2
3
/**
4
 * Authentication parameters required by OVH.
5
 * 
6
 * @author Aurélien Baudet
7
 *
8
 */
9
public class OvhAuthParams {
10
	/**
11
	 * The SMS account (format sms-nic-X)
12
	 */
13
	private final String account;
14
15
	/**
16
	 * The SMS user login associated to the account
17
	 */
18
	private final String login;
19
20
	/**
21
	 * The user password
22
	 */
23
	private final String password;
24
25
	public OvhAuthParams(String account, String login, String password) {
26
		super();
27
		this.account = account;
28
		this.login = login;
29
		this.password = password;
30
	}
31
32
	public String getAccount() {
33 2 1. getAccount : replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getAccount → SURVIVED
2. getAccount : replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getAccount → KILLED
		return account;
34
	}
35
36
	public String getLogin() {
37 2 1. getLogin : replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getLogin → NO_COVERAGE
2. getLogin : replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getLogin → KILLED
		return login;
38
	}
39
40
	public String getPassword() {
41 2 1. getPassword : replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getPassword → NO_COVERAGE
2. getPassword : replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getPassword → KILLED
		return password;
42
	}
43
}

Mutations

33

1.1
Location : getAccount
Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest)
replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getAccount → KILLED

2.2
Location : getAccount
Killed by : none
replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getAccount → SURVIVED

37

1.1
Location : getLogin
Killed by : none
replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getLogin → NO_COVERAGE

2.2
Location : getLogin
Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest)
replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getLogin → KILLED

41

1.1
Location : getPassword
Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest)
replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getPassword → KILLED

2.2
Location : getPassword
Killed by : none
replaced return value with "" for fr/sii/ogham/sms/sender/impl/ovh/OvhAuthParams::getPassword → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT OGHAM