|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.export.ical.ICalExporterTest
@ContextConfiguration(locations="/spring-export.xml") public class ICalExporterTest
Unit tests on the export of calendar events in iCal format.
| Constructor Summary | |
|---|---|
ICalExporterTest()
|
|
| Method Summary | |
|---|---|
void |
clean()
|
void |
emptyTest()
|
void |
exportNoEventsThrowsExportException()
When no events have to be exported, then an exception is thrown by the impossibility to export a calendar without any events in the iCal format. |
void |
exportOneDayEventGenerateAnICalFileWithInfoOnThatEvent()
Export one event in iCal format into a specified file. |
void |
exportOneEventGenerateAnICalFileWithInfoOnThatEvent()
Export one event in iCal format into a specified file. |
void |
exportOneEventOnDayEndingAtAGivenTime()
An event defined on a day cannot have an end date in iCal. |
void |
exportOneEventOnDayStartingAtAGivenTime()
|
void |
exportOneEventWithARecurringEndDateGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
Export one recurring event withWriter a recurring end date in iCal format into a specified file. |
void |
exportOneEventWithARecurringEndDateTimeGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
Export one recurring event withWriter a recurring end date in iCal format into a specified file. |
void |
exportOneRecurringEventGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
Export one recurring event in iCal format into a specified file. |
void |
exportOneRecurringEventOnSomeDaysOfWeekGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
Export one event recurring on some days of week in iCal format into a specified file. |
void |
exportSeveralEventsGenerateAnICalFileWithInfoOnThatEvents()
Export several events in iCal format into a specified file. |
void |
setUp()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ICalExporterTest()
| Method Detail |
|---|
public void setUp()
throws IOException
IOException
public void clean()
throws IOException
IOExceptionpublic void emptyTest()
public void exportNoEventsThrowsExportException()
throws Exception
Exception - if the test fails.
public void exportOneEventGenerateAnICalFileWithInfoOnThatEvent()
throws Exception
Exception - if the export fails.
public void exportOneDayEventGenerateAnICalFileWithInfoOnThatEvent()
throws Exception
Exception - if the export fails.
public void exportSeveralEventsGenerateAnICalFileWithInfoOnThatEvents()
throws Exception
Exception - if the export fails.
public void exportOneRecurringEventGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
throws Exception
Exception - if the export fails.
public void exportOneRecurringEventOnSomeDaysOfWeekGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
throws Exception
Exception - if the export fails.
public void exportOneEventWithARecurringEndDateGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
throws Exception
Exception - if the export fails.
public void exportOneEventWithARecurringEndDateTimeGenerateAnICalFileWithInfoOnThatEventAndItsRecurrence()
throws Exception
Exception - if the export fails.
public void exportOneEventOnDayStartingAtAGivenTime()
throws Exception
Exception
public void exportOneEventOnDayEndingAtAGivenTime()
throws Exception
Exception - if the ical export of the event failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||