org.apache.tika.mime
Class MimeTypesTest

java.lang.Object
  extended by TestCase
      extended by org.apache.tika.mime.MimeTypesTest

public class MimeTypesTest
extends TestCase


Constructor Summary
MimeTypesTest()
           
 
Method Summary
protected  void setUp()
           
 void testAddAlias()
           
 void testCompareTo()
           
 void testForName()
           
 void testGetMimeType_byteArray()
          Test getMimeType(byte[])
 void testGetMimeType_InputStream()
          Test getMimeType(InputStream)
 void testIsDescendantOf()
           
 void testSuperType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeTypesTest

public MimeTypesTest()
Method Detail

setUp

protected void setUp()
              throws org.apache.tika.mime.MimeTypeException
Throws:
org.apache.tika.mime.MimeTypeException

testForName

public void testForName()
                 throws org.apache.tika.mime.MimeTypeException
Throws:
org.apache.tika.mime.MimeTypeException

testAddAlias

public void testAddAlias()
                  throws org.apache.tika.mime.MimeTypeException
Throws:
org.apache.tika.mime.MimeTypeException

testSuperType

public void testSuperType()
                   throws org.apache.tika.mime.MimeTypeException
Throws:
org.apache.tika.mime.MimeTypeException

testIsDescendantOf

public void testIsDescendantOf()

testCompareTo

public void testCompareTo()

testGetMimeType_byteArray

public void testGetMimeType_byteArray()
Test getMimeType(byte[])


testGetMimeType_InputStream

public void testGetMimeType_InputStream()
                                 throws java.io.IOException
Test getMimeType(InputStream)

Throws:
java.io.IOException


Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.