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