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

    r4895 r4902  
    3939                SimpleDateFormat sdf2 = new SimpleDateFormat("dd/MM/yyyy"); 
    4040 
    41                 AppointmentPage ap = super.adicionarCompromisso( 
    42                                 sdf.format(cal.getTime()), tipo, titulo, descricao, local, 
    43                                 sdf2.format(cal.getTime()), horaInicial, minutoInicial, 
    44                                 sdf2.format(cal.getTime()), horaFinal, minutoFinal, prioridade); 
     41                AppointmentPage ap = super.newAppointment(sdf.format(cal.getTime())); 
     42                ap.setType(tipo); 
     43                ap.setTitle(titulo); 
     44                ap.setDescription(descricao); 
     45                ap.setLocation(local); 
     46                ap.setStartDate(sdf2.format(cal.getTime())); 
     47                ap.setStartHour(horaInicial); 
     48                ap.setStartMinute(minutoInicial); 
     49                ap.setEndDate(sdf2.format(cal.getTime())); 
     50                ap.setEndHour(horaFinal); 
     51                ap.setEndMinute(minutoFinal); 
     52                ap.setPriority(prioridade); 
    4553 
    4654                String[] s = alarme.split("-"); 
Note: See TracChangeset for help on using the changeset viewer.