private void loginBtn_Click(object sender, EventArgs e) { if (nomEmploye.Text != "" && passEmploye.Text != "") { controler.connexion(nomEmploye.Text, passEmploye.Text); } }
public void afficherIdEmploye() { ControlerTest.connexion("Gregory", "test"); Assert.AreEqual(1, ControlerTest.getEmpId()); }