org.dropframetimecode.java
Class DFTCunit

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.dropframetimecode.java.DFTCunit
All Implemented Interfaces:
junit.framework.Test

public class DFTCunit
extends junit.framework.TestCase

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

DFTCunit

public DFTCunit(java.lang.String testName)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testNew

public void testNew()
tests the default DropFrameTimecode constructor


testZero

public void testZero()
tests the DropFrameTimecode string constructor with a value of 00:00:00:00


testDay

public void testDay()
tests the DropFrameTimecode string constructor with an out-of-range value of 24:00:00:00, an ElementeRangeException is the expected result


testHour

public void testHour()
tests the DropFrameTimecode string constructor with the string 01:00:00:00 a DroppedException is the expected result


testMinute

public void testMinute()
tests the DropFrameTimecode string constructor with the dropped frame string 00:01:00:00


testTenMinute

public void testTenMinute()
tests the DropFrameTimecode string constructor with the string 00:10:00:00


testSecond

public void testSecond()
tests the DropFrameTimecode string constructor with the string 00:00:01:00


testFrame

public void testFrame()
tests the DropFrameTimecode string constructor with the string 00:00:00:01


testAlphabetics

public void testAlphabetics()
tests the DropFrameTimecode string constructor with the alphabetic string AB:CD:EF:GH


testOverflow

public void testOverflow()
tests DropFrameTimecode overflowing the midnight boundary


testUnderflow

public void testUnderflow()
tests DropFrameTimecode underflowing the midnight boundary


testTwoThirySeconds

public void testTwoThirySeconds()
tests DropFrameTimecode adding 30sec and 30sec