|
|||||||||
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.util.CronScheduleTest
public class CronScheduleTest
Basic tests to check for CronSchedule functionality.
Field Summary | |
---|---|
protected static java.text.SimpleDateFormat |
sdf
|
Constructor Summary | |
---|---|
CronScheduleTest()
|
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 |
testParsers()
Tests the static class parsers. |
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 junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
Field Detail |
---|
protected static final java.text.SimpleDateFormat sdf
Constructor Detail |
---|
public CronScheduleTest()
Method Detail |
---|
public void testConstructors()
public void testParsers() throws java.lang.Exception
java.lang.Exception
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 |