cpdetector.io
Class CodePageDetectorProxyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cpdetector.io.CodePageDetectorProxyTest
All Implemented Interfaces:
junit.framework.Test

public class CodePageDetectorProxyTest
extends junit.framework.TestCase

Test case for CodepageDetectorProxy.

Version:
$Revision: 1.6 $
Author:
Achim Westermann

Constructor Summary
CodePageDetectorProxyTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDetectCodePageInputStream()
          Tests CodepageDetectorProxy.detectCodepage(InputStream, int).
 void testDetectCodePageUrl()
          Tests CodepageDetectorProxy.detectCodepage(URL).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodePageDetectorProxyTest

public CodePageDetectorProxyTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testDetectCodePageInputStream

public void testDetectCodePageInputStream()
                                   throws IOException
Tests CodepageDetectorProxy.detectCodepage(InputStream, int).

Throws:
IOException - if sth. goes wrong.

testDetectCodePageUrl

public void testDetectCodePageUrl()
                           throws IOException
Tests CodepageDetectorProxy.detectCodepage(URL).

Throws:
IOException - if sth. goes wrong.


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