Ignore:
Timestamp:
08/04/11 15:43:12 (13 years ago)
Author:
luiz-fernando
Message:

Ticket #1771 - Adicionado testes automatizados para modulo da agenda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/calendar/adicionar/AdicionarCompromissoHoraFinalMenorHoraInicialTestCase.java

    r4895 r4902  
    4242                SimpleDateFormat sdf2 = new SimpleDateFormat("dd/MM/yyyy"); 
    4343 
    44                 AppointmentPage ap = super.adicionarCompromisso( 
    45                                 sdf.format(cal.getTime()), tipo, titulo, descricao, local, 
    46                                 sdf2.format(cal.getTime()), horaInicial, minutoInicial, 
    47                                 sdf2.format(cal.getTime()), horaFinal, minutoFinal, prioridade); 
     44                AppointmentPage ap = super.newAppointment(sdf.format(cal.getTime())); 
     45                ap.setType(tipo); 
     46                ap.setTitle(titulo); 
     47                ap.setDescription(descricao); 
     48                ap.setLocation(local); 
     49                ap.setStartDate(sdf2.format(cal.getTime())); 
     50                ap.setStartHour(horaInicial); 
     51                ap.setStartMinute(minutoInicial); 
     52                ap.setEndDate(sdf2.format(cal.getTime())); 
     53                ap.setEndHour(horaFinal); 
     54                ap.setEndMinute(minutoFinal); 
     55                ap.setPriority(prioridade); 
     56 
    4857                ap.saveAppointment(); 
    4958 
Note: See TracChangeset for help on using the changeset viewer.