org.apache.tika.sax
Class SafeContentHandlerTest

java.lang.Object
  extended by TestCase
      extended by org.apache.tika.sax.SafeContentHandlerTest

public class SafeContentHandlerTest
extends TestCase

Unit tests for the SafeContentHandler class.


Constructor Summary
SafeContentHandlerTest()
           
 
Method Summary
protected  void setUp()
           
 void testEmptyInput()
           
 void testInvalidCharacters()
           
 void testInvalidWhitespace()
           
 void testNormalCharacters()
           
 void testNormalWhitespace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeContentHandlerTest

public SafeContentHandlerTest()
Method Detail

setUp

protected void setUp()

testEmptyInput

public void testEmptyInput()
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

testNormalCharacters

public void testNormalCharacters()
                          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

testNormalWhitespace

public void testNormalWhitespace()
                          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

testInvalidCharacters

public void testInvalidCharacters()
                           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

testInvalidWhitespace

public void testInvalidWhitespace()
                           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


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