info.monitorenter.unicode.decoder
Class DecodeUtilTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byinfo.monitorenter.unicode.decoder.DecodeUtilTest
All Implemented Interfaces:
junit.framework.Test

public class DecodeUtilTest
extends junit.framework.TestCase

Test for DecodeUtil.

Version:
$Revision: 1.6 $
Author:
Achim Westermann

Constructor Summary
DecodeUtilTest()
          Creates a test case with the class name.
DecodeUtilTest(String testName)
          Creates a test case with the given name.
 
Method Summary
 void testDecodeHtmlEntities()
          Tests HtmlUtils#decodeHtmlEntities(String) with several files.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

DecodeUtilTest

public DecodeUtilTest()
Creates a test case with the class name.


DecodeUtilTest

public DecodeUtilTest(String testName)
Creates a test case with the given name.

Parameters:
testName - the name of the test case.
Method Detail

testDecodeHtmlEntities

public void testDecodeHtmlEntities()
                            throws IOException,
                                   antlr.RecognitionException,
                                   antlr.TokenStreamException
Tests HtmlUtils#decodeHtmlEntities(String) with several files.

Throws:
IOException - if sth goes wrong
antlr.TokenStreamException - if the grammar is wrong (the programmer was wrong).
antlr.RecognitionException - if data is corrupt.


Copyleft ㊢ 2003-2004 MPL 1.1, All Rights Footloose.