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