Commit 425e2840 authored by AdrienGuille's avatar AdrienGuille
Browse files

Ajout de la classe de test pour ControlerConnexion

parent dbd81666
package fr.univnantes.alma.test;
import junit.framework.TestCase;
import fr.univnantes.alma.gtd.controler.connexion.ControlerConnexion;
public class TestControlerConnexion extends TestCase {
public void testConnect() {
ControlerConnexion controler = new ControlerConnexion();
assertFalse(controler.connect("billou", "billou"));
}
public void testDisconnect() {
ControlerConnexion controler = new ControlerConnexion();
controler.disconnect();
assertEquals(ControlerConnexion.utilisateurConnecte,null);
}
public void testVerifyConnection() {
ControlerConnexion controler = new ControlerConnexion();
assertFalse(controler.verifyConnection());
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment