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/AdicionarCompromissoConflitanteTestCase.java

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