public void InserirAgendaTest()
 {
     AgendaController target = new AgendaController(); // TODO: Initialize to an appropriate value
     Agenda agenda = null; // TODO: Initialize to an appropriate value
     target.InserirAgenda(agenda);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
        protected void BTenviar_Click(object sender, EventArgs e)
        {
            AgendaController controller = new AgendaController();

            agenda.data = Convert.ToString(DateTime.Now.DayOfYear);
            string SubHora = Convert.ToString(DateTime.Now.TimeOfDay);
            agenda.hora = SubHora.Substring(0, 5);
            agenda.Comentarios = TXAgenda.Text;
            agenda.FK_Codigo = 8;
            agenda.data_email = Convert.ToString(CDagendaLembrete.SelectedDate.Date.DayOfYear);
            agenda.hora_email = TXHoraLembrete.Text;
            agenda.Cod_Tipo = Convert.ToInt32(DropDAgenda.SelectedValue);

            controller.InserirAgenda(agenda);
        }
 public void SelecionarAgendaTest()
 {
     AgendaController target = new AgendaController(); // TODO: Initialize to an appropriate value
     List<Agenda> expected = null; // TODO: Initialize to an appropriate value
     List<Agenda> actual;
     actual = target.SelecionarAgenda();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
 public void AgendaControllerConstructorTest()
 {
     AgendaController target = new AgendaController();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
 public void VerificaEmailTest()
 {
     AgendaController target = new AgendaController(); // TODO: Initialize to an appropriate value
     int dia = 0; // TODO: Initialize to an appropriate value
     string hora = string.Empty; // TODO: Initialize to an appropriate value
     target.VerificaEmail(dia, hora);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }