|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase edu.sdsc.inca.depot.persistent.PersistentTest edu.sdsc.inca.depot.persistent.ScheduleTest
public class ScheduleTest
Basic tests to check for Schedule functionality.
Field Summary | |
---|---|
protected static java.text.SimpleDateFormat |
sdf
|
Fields inherited from class edu.sdsc.inca.depot.persistent.PersistentTest |
---|
logger |
Constructor Summary | |
---|---|
ScheduleTest()
|
Method Summary | |
---|---|
void |
testConstructors()
Tests the class constructors. |
void |
testCronList()
Tests the nextEvent method against a cron schedule w/lists. |
void |
testCronRange()
Tests the nextEvent method against a cron schedule w/ranges. |
void |
testCronStep()
Tests the nextEvent method against a cron schedule w/a step. |
void |
testDailyEvent()
Tests the nextEvent method against a daily cron schedule. |
void |
testHourlyEvent()
Tests the nextEvent method against an hourly cron schedule. |
void |
testMonthlyEvent()
Tests the nextEvent method against a monthly cron schedule. |
void |
testWeeklyEvent()
Tests the nextEvent method against a weekly cron schedule. |
void |
testYearlyEvent()
Tests the nextEvent method against a yearly cron schedule. |
Methods inherited from class edu.sdsc.inca.depot.persistent.PersistentTest |
---|
setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Field Detail |
---|
protected static final java.text.SimpleDateFormat sdf
Constructor Detail |
---|
public ScheduleTest()
Method Detail |
---|
public void testConstructors()
public void testHourlyEvent() throws java.lang.Exception
java.lang.Exception
public void testDailyEvent() throws java.lang.Exception
java.lang.Exception
public void testWeeklyEvent() throws java.lang.Exception
java.lang.Exception
public void testMonthlyEvent() throws java.lang.Exception
java.lang.Exception
public void testYearlyEvent() throws java.lang.Exception
java.lang.Exception
public void testCronRange() throws java.lang.Exception
java.lang.Exception
public void testCronList() throws java.lang.Exception
java.lang.Exception
public void testCronStep() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |