Esempio n. 1
0
 @Test
 public void testSetPrenomUsager() {
   usager.setPrenomUsager("Marco");
   assertEquals("Set correct : ", "Marco", usager.getPrenomUsager());
 }
Esempio n. 2
0
 @Test
 public void testGetPrenomUsagerTrue() {
   assertEquals("Get correct : ", "Erwan", usager.getPrenomUsager());
 }
Esempio n. 3
0
 @Test
 public void testGetPrenomUsagerFalse() {
   assertNotEquals("Get incorrect : ", "Buzit", usager.getPrenomUsager());
 }
Esempio n. 4
0
 @Test
 public void testGetNomUsagerTrue() {
   assertEquals("Get correct : ", "Bourgeois", usager.getNomUsager());
 }
Esempio n. 5
0
 @Test
 public void testSetNomUsager() {
   usager.setNomUsager("Martins");
   assertEquals("Set correct : ", "Martins", usager.getNomUsager());
 }
Esempio n. 6
0
 @Test
 public void testSetAdresseRueUsager() {
   usager.setAdresseRueUsager("29 rue de brest");
   assertEquals("Set correct : ", "29 rue de brest", usager.getAdresseRueUsager());
 }
Esempio n. 7
0
 @Test
 public void testSetAdresseVilleUsager() {
   usager.setAdresseVilleUsager("Brest");
   assertEquals("Set correct : ", "Brest", usager.getAdresseVilleUsager());
 }
Esempio n. 8
0
 @Test
 public void testGetMotDePasseFalse() {
   assertNotEquals("Get incorrect : ", "mymartins", usager.getMotDePasse());
 }
Esempio n. 9
0
 @Test
 public void testGetIdUsagerTrue() {
   assertEquals("Get correct : ", "U001", usager.getIdUsager());
 }
Esempio n. 10
0
 @Test
 public void testGetNomUserFalse() {
   assertNotEquals("Get incorrect : ", "Martins", usager.getNomUser());
 }
Esempio n. 11
0
 @Test
 public void testSetGetMotDePasse() {
   usager.setMotDePasse("myerwan");
   assertEquals("Get correct : ", "myerwan", usager.getMotDePasse());
 }
Esempio n. 12
0
 @Test
 public void testSetCpUsager() {
   usager.setCpUsager("29500");
   assertEquals("Set correct : ", "29500", usager.getCpUsager());
 }
Esempio n. 13
0
 @Test
 public void testGetCpUsagerFalse() {
   assertNotEquals("Get incorrect : ", "29000", usager.getCpUsager());
 }
Esempio n. 14
0
 @Test
 public void testGetCpUsagerTrue() {
   assertEquals("Get correct : ", "29700", usager.getCpUsager());
 }
Esempio n. 15
0
 @Test
 public void testGetAdresseRueUsagerTrue() {
   assertEquals("Get correct : ", "26 rue de quimper", usager.getAdresseRueUsager());
 }
Esempio n. 16
0
 @Test
 public void testGetIdUsagerFalse() {
   assertNotEquals("Get incorrect : ", "U002", usager.getIdUsager());
 }
Esempio n. 17
0
 @Test
 public void testGetAdresseRueUsagerFalse() {
   assertNotEquals("Get incorrect : ", "27 rue de quimper", usager.getAdresseRueUsager());
 }
Esempio n. 18
0
 @Test
 public void testSetIdUsager() {
   usager.setIdUsager("U005");
   assertEquals("Set correct : ", "U005", usager.getIdUsager());
 }
Esempio n. 19
0
 @Test
 public void testGetAdresseVilleUsagerTrue() {
   assertEquals("Get correct : ", "Pluguffan", usager.getAdresseVilleUsager());
 }
Esempio n. 20
0
 @Test
 public void testGetAdresseVilleUsagerFalse() {
   assertNotEquals("Get incorrect : ", "Quimper", usager.getAdresseVilleUsager());
 }