org.apache.any23.cli
Class MimeDetectorTest

java.lang.Object
  extended by org.apache.any23.Any23OnlineTestBase
      extended by org.apache.any23.cli.ToolTestBase
          extended by org.apache.any23.cli.MimeDetectorTest

public class MimeDetectorTest
extends ToolTestBase

Test case for MimeDetector CLI.

Author:
Michele Mostarda (mostarda@fbk.eu)

Field Summary
 
Fields inherited from class org.apache.any23.cli.ToolTestBase
TOOL_RUN_METHOD
 
Fields inherited from class org.apache.any23.Any23OnlineTestBase
ONLINE_TEST_DISABLED_FLAG
 
Constructor Summary
MimeDetectorTest()
           
 
Method Summary
 void testDetectFile()
           
 void testDetectInline()
           
 void testDetectURL()
           
 
Methods inherited from class org.apache.any23.cli.ToolTestBase
runTool, runTool, runToolCheckExit0
 
Methods inherited from class org.apache.any23.Any23OnlineTestBase
assumeOnlineAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeDetectorTest

public MimeDetectorTest()
Method Detail

testDetectURL

public void testDetectURL()
                   throws Exception
Throws:
Exception

testDetectFile

public void testDetectFile()
                    throws Exception
Throws:
Exception

testDetectInline

public void testDetectInline()
                      throws Exception
Throws:
Exception


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.