|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.apache.tika.TikaTest
public class TikaTest
Constructor Summary | |
---|---|
TikaTest()
|
Method Summary | |
---|---|
void |
testHttpServerFileExtensions()
This test checks that Tika correctly detects all the file extensions defined in the mime.types file (revision 819245) of the Apache HTTP Server project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TikaTest()
Method Detail |
---|
public void testHttpServerFileExtensions()
cat docs/conf/mime.types | grep -v '#' | perl -lne '/\S\s+\S/ and do { my ($type, @ext) = split /\s+/; for my $ext (@ext) { print "assertEquals(\"$type\", tika.detect(\"x.$ext\"));"; } }'
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |