org.apache.commons.lang
Class EntitiesTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.lang.EntitiesTest
All Implemented Interfaces:
junit.framework.Test

public class EntitiesTest
extends junit.framework.TestCase

Unit tests for StringEscapeUtils.

Version:
$Id: EntitiesTest.java 471630 2006-11-06 04:14:45Z bayard $
Author:
Alexander Day Chaffee, Gary Gregory

Constructor Summary
EntitiesTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
static junit.framework.Test suite()
           
 void testAddEntitiesArray()
           
 void testArrayIntMap()
           
 void testBinaryIntMap()
           
 void testEntitiesXmlObject()
           
 void testEscapeNamedEntity()
           
 void testHashIntMap()
           
 void testHtml40Nbsp()
           
 void testNumberOverflow()
           
 void testPrimitiveIntMap()
           
 void testTreeIntMap()
           
 void testUnescapeMiscellaneous()
           
 void testUnescapeNamedEntity()
           
 void testUnescapeUnknownEntity()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntitiesTest

public EntitiesTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

setUp

public void setUp()

testEscapeNamedEntity

public void testEscapeNamedEntity()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testUnescapeNamedEntity

public void testUnescapeNamedEntity()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testUnescapeUnknownEntity

public void testUnescapeUnknownEntity()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testUnescapeMiscellaneous

public void testUnescapeMiscellaneous()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testAddEntitiesArray

public void testAddEntitiesArray()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testEntitiesXmlObject

public void testEntitiesXmlObject()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testArrayIntMap

public void testArrayIntMap()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testTreeIntMap

public void testTreeIntMap()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testHashIntMap

public void testHashIntMap()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testBinaryIntMap

public void testBinaryIntMap()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testPrimitiveIntMap

public void testPrimitiveIntMap()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testHtml40Nbsp

public void testHtml40Nbsp()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testNumberOverflow

public void testNumberOverflow()
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.