|
||||||||||
| 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
|
+--org.dropframetimecode.java.DFTCunit
unit test suite for the org.dropframetimecode.java package
| Constructor Summary | |
DFTCunit(java.lang.String testName)
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testAlphabetics()
tests the DropFrameTimecode string constructor with the alphabetic string AB:CD:EF:GH |
void |
testDay()
tests the DropFrameTimecode string constructor with an out-of-range value of 24:00:00:00,
an ElementeRangeException is the expected result |
void |
testFrame()
tests the DropFrameTimecode string constructor with the string 00:00:00:01 |
void |
testHour()
tests the DropFrameTimecode string constructor with the string 01:00:00:00
a DroppedException is the expected result |
void |
testMinute()
tests the DropFrameTimecode string constructor with the dropped frame string 00:01:00:00 |
void |
testNew()
tests the default DropFrameTimecode constructor |
void |
testOverflow()
tests DropFrameTimecode overflowing the midnight boundary |
void |
testSecond()
tests the DropFrameTimecode string constructor with the string 00:00:01:00 |
void |
testTenMinute()
tests the DropFrameTimecode string constructor with the string 00:10:00:00 |
void |
testTwoThirySeconds()
tests DropFrameTimecode adding 30sec and 30sec |
void |
testUnderflow()
tests DropFrameTimecode underflowing the midnight boundary |
void |
testZero()
tests the DropFrameTimecode string constructor with a value of 00:00:00:00 |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 DFTCunit(java.lang.String testName)
| Method Detail |
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void testNew()
public void testZero()
00:00:00:00
public void testDay()
24:00:00:00,
an ElementeRangeException is the expected result
public void testHour()
01:00:00:00
a DroppedException is the expected result
public void testMinute()
00:01:00:00
public void testTenMinute()
00:10:00:00
public void testSecond()
00:00:01:00
public void testFrame()
00:00:00:01
public void testAlphabetics()
AB:CD:EF:GH
public void testOverflow()
public void testUnderflow()
public void testTwoThirySeconds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||