|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ujac.util.test.DateUtilsTest
public class DateUtilsTest
Name: DateUtilsTest
Description: Tests for the DateUtils class.
| Constructor Summary | |
|---|---|
DateUtilsTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testBeginOfYear()
Tests the beginOfYear method. |
void |
testCreateCalendar()
Tests the createCalendar method. |
void |
testCreateChecks()
Tests boundary checks for the createDate method. |
void |
testCreateDate()
Tests the createDate method. |
void |
testEndOfYear()
Tests the endOfYear method. |
void |
testIncrHour()
Tests the incrHour method. |
void |
testIncrMinute()
Tests the incrMinute method. |
void |
testIncrSecond()
Tests the incrSecond method. |
void |
testNextUltimo()
Tests the nextUltimo method. |
void |
testPreviousUltimo()
Tests the previousUltimo method. |
void |
testSetDay()
Tests the setDay method. |
void |
testSetHour()
Tests the setHour method. |
void |
testSetMinute()
Tests the setMinute method. |
void |
testSetMonth()
Tests the setMonth method. |
void |
testSetSecond()
Tests the setSecond method. |
void |
testSetYear()
Tests the setYear method. |
void |
testYesterday()
Tests the yesterday method. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateUtilsTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionTestCase.setUp()
public void testCreateDate()
throws Exception
Exception - In case something went wrong.
public void testCreateCalendar()
throws Exception
Exception - In case something went wrong.
public void testCreateChecks()
throws Exception
Exception - In case something went wrong.
public void testSetDay()
throws Exception
Exception - In case something went wrong.
public void testSetMonth()
throws Exception
Exception - In case something went wrong.
public void testSetYear()
throws Exception
Exception - In case something went wrong.
public void testSetHour()
throws Exception
Exception - In case something went wrong.
public void testIncrHour()
throws Exception
Exception - In case something went wrong.
public void testSetMinute()
throws Exception
Exception - In case something went wrong.
public void testIncrMinute()
throws Exception
Exception - In case something went wrong.
public void testSetSecond()
throws Exception
Exception - In case something went wrong.
public void testIncrSecond()
throws Exception
Exception - In case something went wrong.
public void testYesterday()
throws Exception
Exception - In case something went wrong.
public void testBeginOfYear()
throws Exception
Exception - In case something went wrong.
public void testEndOfYear()
throws Exception
Exception - In case something went wrong.
public void testNextUltimo()
throws Exception
Exception - In case something went wrong.
public void testPreviousUltimo()
throws Exception
Exception - In case something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||