org.apache.james.jdkim.canon
Class DigestOutputStreamTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.jdkim.canon.AbstractOutputStreamTestCase
              extended by org.apache.james.jdkim.canon.DigestOutputStreamTest
All Implemented Interfaces:
junit.framework.Test

public class DigestOutputStreamTest
extends AbstractOutputStreamTestCase


Constructor Summary
DigestOutputStreamTest()
           
 
Method Summary
protected  void setUp()
           
 void testChunks()
           
 void testChunksAndPassthrough()
           
 void testSingleBytes()
           
 
Methods inherited from class org.apache.james.jdkim.canon.AbstractOutputStreamTestCase
assertArrayEquals, assertArrayEquals, chunker, chunker, extensiveChunker, newInstance, writeChunk
 
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

DigestOutputStreamTest

public DigestOutputStreamTest()
Method Detail

setUp

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

testSingleBytes

public void testSingleBytes()
                     throws NoSuchAlgorithmException,
                            IOException
Throws:
NoSuchAlgorithmException
IOException

testChunks

public void testChunks()
                throws NoSuchAlgorithmException,
                       IOException
Throws:
NoSuchAlgorithmException
IOException

testChunksAndPassthrough

public void testChunksAndPassthrough()
                              throws NoSuchAlgorithmException,
                                     IOException
Throws:
NoSuchAlgorithmException
IOException


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