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