org.apache.tika.mime
Class TestMimeTypes
java.lang.Object
TestCase
org.apache.tika.mime.TestMimeTypes
public class TestMimeTypes
- extends TestCase
Test Suite for the MimeTypes
repository.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestMimeTypes
public TestMimeTypes()
testCaseSensitivity
public void testCaseSensitivity()
testLoadMimeTypes
public void testLoadMimeTypes()
throws org.apache.tika.mime.MimeTypeException
- Throws:
org.apache.tika.mime.MimeTypeException
testGuessMimeTypes
public void testGuessMimeTypes()
throws java.lang.Exception
- Tests MIME type determination based solely on the URL's extension.
- Throws:
java.lang.Exception
testOoxmlDetection
public void testOoxmlDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testJpegDetection
public void testJpegDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTiffDetection
public void testTiffDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGifDetection
public void testGifDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPngDetection
public void testPngDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBmpDetection
public void testBmpDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPnmDetection
public void testPnmDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCgmDetection
public void testCgmDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRdfXmlDetection
public void testRdfXmlDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSvgDetection
public void testSvgDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPdfDetection
public void testPdfDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSwfDetection
public void testSwfDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWmfDetection
public void testWmfDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPsDetection
public void testPsDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testJavaRegex
public void testJavaRegex()
throws java.lang.Exception
- Throws:
java.lang.Exception
- Since:
- TIKA-194
testRawDetection
public void testRawDetection()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMimeDeterminationForTestDocuments
public void testMimeDeterminationForTestDocuments()
throws java.lang.Exception
- Tests MimeTypes.getMimeType(URL), which examines both the byte header
and, if necessary, the URL's extension.
- Throws:
java.lang.Exception
Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.