public class DayTest extends junit.framework.TestCase
Constructor and Description |
---|
DayTest() |
Modifier and Type | Method and Description |
---|---|
void |
testAdd()
This test tests the addDays method with positive
parameters.
|
void |
testAddNegative()
This test tests the addDays method with negative
parameters.
|
void |
testDaysFrom()
This test tests the daysFrom method.
|
void |
testGregorianBoundary()
This test tests arithmetic around the Gregorian
calendar change.
|
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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
public DayTest()
public void testAdd()
public void testAddNegative()
public void testDaysFrom()
public void testGregorianBoundary()