|
||||||||||
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.hackystat.utilities.time.interval.TestIntervalUtility
public class TestIntervalUtility
Tests the IntervalUtility class. Note that certain tests are commented out. It's not clear whether this class is used in Hackystat 8.
Constructor Summary | |
---|---|
TestIntervalUtility()
|
Method Summary | |
---|---|
void |
testCurrentDayValue()
Tests current day. |
void |
testCurrentMonthValue()
Tests current month. |
void |
testCurrentWeekValue()
Tests current week. |
void |
testCurrentYearValue()
Tests current year value. |
void |
testDayOptions()
Tests day options. |
void |
testDayParser()
Tests the day parser. |
void |
testMonthOptions()
Tests month options. |
void |
testSingleton()
Test the singleton instance implementation. |
void |
testWeekOptions()
Tests week options. |
void |
testWeekParser()
Tests the week parser. |
void |
testYearOptions()
Tests year options. |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestIntervalUtility()
Method Detail |
---|
public void testSingleton()
public void testDayOptions()
public void testYearOptions()
public void testMonthOptions()
public void testWeekOptions()
public void testWeekParser()
public void testDayParser()
public void testCurrentYearValue()
public void testCurrentMonthValue()
public void testCurrentDayValue()
public void testCurrentWeekValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |