[Castore-commits] FacadeAuthenTest.java 1.1.2.1 1.1.2.2
Stéphane Bouchet
sbouchet at adullact1.hosting.cri74.org
Mar 7 Mar 10:16:57 CET 2006
Update of /cvsroot/castore/castore-core/src/test/fr/emn/castor/users/authentification
In directory adullact1:/tmp/cvs-serv19752/src/test/fr/emn/castor/users/authentification
Modified Files:
Tag: v1_1_branch
FacadeAuthenTest.java
Log Message:
Mise en page
Index: FacadeAuthenTest.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/test/fr/emn/castor/users/authentification/FacadeAuthenTest.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** FacadeAuthenTest.java 24 Nov 2005 14:29:56 -0000 1.1.2.1
--- FacadeAuthenTest.java 7 Mar 2006 09:16:55 -0000 1.1.2.2
***************
*** 95,100 ****
} catch (AuthentificationException e) {
assertNotNull("Message attendu", e.getMessage());
! assertEquals("Message", AuthentificationException.NO_USER_FOUND, e
! .getErrorType());
}
}
--- 95,101 ----
} catch (AuthentificationException e) {
assertNotNull("Message attendu", e.getMessage());
! assertEquals(
! "Message", AuthentificationException.NO_USER_FOUND, e
! .getErrorType());
}
}
***************
*** 111,116 ****
} catch (AuthentificationException e) {
assertNotNull("Message attendu", e.getMessage());
! assertEquals("Message", AuthentificationException.WRONG_PASSWORD, e
! .getErrorType());
}
}
--- 112,118 ----
} catch (AuthentificationException e) {
assertNotNull("Message attendu", e.getMessage());
! assertEquals(
! "Message", AuthentificationException.WRONG_PASSWORD, e
! .getErrorType());
}
}
***************
*** 127,136 ****
} catch (AuthentificationException e) {
assertNotNull("Message attendu", e.getMessage());
! assertEquals("Message", AuthentificationException.NULL_PASSWORD, e
! .getErrorType());
}
}
! public final void testGetInfosFromUser() throws AuthentificationException {
Facade myFacade = Facade.getInstance();
assertNotNull("Instance de facade attendue", myFacade);
--- 129,140 ----
} catch (AuthentificationException e) {
assertNotNull("Message attendu", e.getMessage());
! assertEquals(
! "Message", AuthentificationException.NULL_PASSWORD, e
! .getErrorType());
}
}
! public final void testGetInfosFromUser()
! throws AuthentificationException {
Facade myFacade = Facade.getInstance();
assertNotNull("Instance de facade attendue", myFacade);
***************
*** 146,150 ****
for (int i = 0; i < methodes.length; i++) {
Class clazz = methodes[i].getReturnType();
! if (!(clazz.isInstance(facade) || (clazz.getName().equals("void")) || (clazz
.isInterface()))) {
Object obj = null;
--- 150,155 ----
for (int i = 0; i < methodes.length; i++) {
Class clazz = methodes[i].getReturnType();
! if (!(clazz.isInstance(facade)
! || (clazz.getName().equals("void")) || (clazz
.isInterface()))) {
Object obj = null;
Plus d'informations sur la liste de diffusion Castore-commits