示例#1
0
 public void getPermisosPorRolTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     int pidRol = 0; // TODO: Initialize to an appropriate value
     List<string> expected = null; // TODO: Initialize to an appropriate value
     List<string> actual;
     actual = target.getPermisosPorRol(pidRol);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#2
0
 public void cifrarPassTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string ppass = string.Empty; // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.cifrarPass(ppass);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#3
0
 public void verificarRespSecretaTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string prespIngresada = string.Empty; // TODO: Initialize to an appropriate value
     string prespBD = string.Empty; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.verificarRespSecreta(prespIngresada, prespBD);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#4
0
 public void verificarNvoPassTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string nvoPass = string.Empty; // TODO: Initialize to an appropriate value
     string pconfirmacion = string.Empty; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.verificarNvoPass(nvoPass, pconfirmacion);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#5
0
 public void validarUsuarioTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string puser = string.Empty; // TODO: Initialize to an appropriate value
     string ppass = string.Empty; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.validarUsuario(puser, ppass);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#6
0
 public void refrescarPassTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     Usuario puser = null; // TODO: Initialize to an appropriate value
     target.refrescarPass(puser);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
示例#7
0
 public void refrescarPassConContraTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     Usuario puser = null; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.refrescarPassConContra(puser);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#8
0
 public void guardarCambiosPassTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     target.guardarCambiosPass();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
示例#9
0
 public void getUsuarioTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string puser = string.Empty; // TODO: Initialize to an appropriate value
     Usuario expected = null; // TODO: Initialize to an appropriate value
     Usuario actual;
     actual = target.getUsuario(puser);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#10
0
 public void GestorSeguridadConstructorTest()
 {
     GestorSeguridad target = new GestorSeguridad();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
示例#11
0
 public void ValidarPruebaCandidatoTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string pcorreo = string.Empty; // TODO: Initialize to an appropriate value
     string ppass = string.Empty; // TODO: Initialize to an appropriate value
     PruebaPorCandidato expected = null; // TODO: Initialize to an appropriate value
     PruebaPorCandidato actual;
     actual = target.ValidarPruebaCandidato(pcorreo, ppass);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
示例#12
0
 public void validarEmpleadoTest()
 {
     GestorSeguridad target = new GestorSeguridad(); // TODO: Initialize to an appropriate value
     string pcorreo = string.Empty; // TODO: Initialize to an appropriate value
     string pcedula = string.Empty; // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     actual = target.validarEmpleado(pcorreo, pcedula);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }