|
|||||||||||
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.umd.cfar.lamp.mpeg1.test.VideoFileTest
Tests the ability to load and seek through a file.
Subclass this, replacing the runMyTest(Mpeg1VideoStream)
method with another one.
Constructor Summary | |
VideoFileTest(java.lang.String testName)
|
Method Summary | |
static int |
getNumFrames(Mpeg1VideoStream stream)
|
static long |
getVideoLengthInMillis(Mpeg1VideoStream stream)
|
protected void |
runMyTest(Mpeg1VideoStream stream)
|
static void |
seekThroughStream(Mpeg1VideoStream stream)
|
protected void |
setUp()
|
void |
testDuckAndCover()
|
void |
testLampVideo()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Constructor Detail |
public VideoFileTest(java.lang.String testName)
Method Detail |
public static int getNumFrames(Mpeg1VideoStream stream)
public static long getVideoLengthInMillis(Mpeg1VideoStream stream)
public static void seekThroughStream(Mpeg1VideoStream stream) throws java.io.IOException, MpegException
java.io.IOException
MpegException
protected void runMyTest(Mpeg1VideoStream stream) throws MpegException, java.io.IOException
MpegException
java.io.IOException
public void testLampVideo() throws MpegException, java.io.IOException
MpegException
java.io.IOException
public void testDuckAndCover() throws MpegException, java.io.IOException
MpegException
java.io.IOException
protected void setUp() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |