org.jboss.test.media.format
Class MediaFormatUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.media.format.MediaFormatUnitTestCase

public class MediaFormatUnitTestCase
extends TestCase

JBoss Media TestCase.

See Also:
Serialized Form

Constructor Summary
MediaFormatUnitTestCase(java.lang.String name)
           
 
Method Summary
static void deinitializeMappings()
           
static void initializeMappings()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testHeaderExtraction()
           
 void testMediaBeanProperties()
           
 void testMediaContent()
          Test Media.readContent(long, byte[]) when the position is the same size of the media content size.
 void testMediaFormatRegistry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaFormatUnitTestCase

public MediaFormatUnitTestCase(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testMediaBeanProperties

public void testMediaBeanProperties()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testMediaContent

public void testMediaContent()
                      throws java.lang.Exception
Test Media.readContent(long, byte[]) when the position is the same size of the media content size.

Throws:
java.lang.Exception

testMediaFormatRegistry

public void testMediaFormatRegistry()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testHeaderExtraction

public void testHeaderExtraction()
                          throws java.lang.Exception
Throws:
java.lang.Exception

initializeMappings

public static void initializeMappings()
                               throws java.lang.Exception
Throws:
java.lang.Exception

deinitializeMappings

public static void deinitializeMappings()
                                 throws java.lang.Exception
Throws:
java.lang.Exception