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

    r4895 r4902  
    5454                SimpleDateFormat sdf2 = new SimpleDateFormat("dd/MM/yyyy"); 
    5555 
    56                 AppointmentPage ap = super.adicionarCompromisso( 
    57                                 sdf.format(cal.getTime()), tipo, titulo, descricao, local, 
    58                                 sdf2.format(cal.getTime()), horaInicial, minutoInicial, 
    59                                 sdf2.format(cal.getTime()), horaFinal, minutoFinal, prioridade); 
    60  
     56                AppointmentPage ap = super.newAppointment(sdf.format(cal.getTime())); 
     57                ap.setType(tipo); 
     58                ap.setTitle(titulo); 
     59                ap.setDescription(descricao); 
     60                ap.setLocation(local); 
     61                ap.setStartDate(sdf2.format(cal.getTime())); 
     62                ap.setStartHour(horaInicial); 
     63                ap.setStartMinute(minutoInicial); 
     64                ap.setEndDate(sdf2.format(cal.getTime())); 
     65                ap.setEndHour(horaFinal); 
     66                ap.setEndMinute(minutoFinal); 
     67                ap.setPriority(prioridade); 
    6168                ap.saveAppointment(); 
    6269        } 
Note: See TracChangeset for help on using the changeset viewer.