|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.calendar.DateTest
public class DateTest
Unit tests on the Date objects.
| Constructor Summary | |
|---|---|
DateTest()
|
|
| Method Summary | |
|---|---|
void |
cloneADateCreatesANewInstanceForTheSameDate()
Test of clone method, of class Date. |
void |
createsADateFromYearMonthAndDayIndication()
Test of dateOn method, of class Date. |
void |
createsATodayDate()
Test of today method, of class Date. |
void |
createsATomorrowDate()
Test of tomorrow method, of class Date. |
void |
createsAYesterdayDate()
Test of yesterday method, of class Date. |
void |
isDefinedNotDefined()
|
void |
nextTodayIsTomorrow()
Test of next method, of class Date. |
void |
previousTodayIsYesterday()
Test of previous method, of class Date. |
void |
setUp()
|
static void |
setUpClass()
|
void |
tearDown()
|
static void |
tearDownClass()
|
void |
theICalInUTCRepresentation()
Test of toICalInUTC method, of class Date. |
void |
theICalRepresentation()
Test of toICal method, of class Date. |
void |
theISO8601Representation()
Test of toISO8601 method, of class Date. |
void |
todayIsAfterYesterday()
Test of after method, of class Date. |
void |
todayIsBeforeTomorrow()
Test of before method, of class Date. |
void |
twoSameDatesAreEqual()
Test of equals method, of class Date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTest()
| Method Detail |
|---|
public static void setUpClass()
throws Exception
Exception
public static void tearDownClass()
throws Exception
Exceptionpublic void setUp()
public void tearDown()
public void createsATodayDate()
public void createsATomorrowDate()
public void createsAYesterdayDate()
public void createsADateFromYearMonthAndDayIndication()
public void cloneADateCreatesANewInstanceForTheSameDate()
public void theISO8601Representation()
public void theICalRepresentation()
public void theICalInUTCRepresentation()
public void nextTodayIsTomorrow()
public void previousTodayIsYesterday()
public void todayIsBeforeTomorrow()
public void todayIsAfterYesterday()
public void twoSameDatesAreEqual()
public void isDefinedNotDefined()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||