sk.baka.tools
Class IOUtilsTest

java.lang.Object
  extended by sk.baka.tools.IOUtilsTest

public class IOUtilsTest
extends Object

Tests the IOUtils class.

Author:
Martin Vysny

Constructor Summary
IOUtilsTest()
           
 
Method Summary
 void copyEmptyReader()
           
 void copyEmptyStream()
           
 void copyRandomBytes()
           
 void copyRandomChars()
           
 void inputStreamToString()
           
 void inputStreamWithDefaultEncodingToString()
           
 void isUtilityClass()
           
 void readerToString()
           
 void testCloseQuietly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtilsTest

public IOUtilsTest()
Method Detail

isUtilityClass

public void isUtilityClass()

testCloseQuietly

public void testCloseQuietly()

copyEmptyStream

public void copyEmptyStream()
                     throws Exception
Throws:
Exception

copyRandomBytes

public void copyRandomBytes()
                     throws Exception
Throws:
Exception

copyEmptyReader

public void copyEmptyReader()
                     throws Exception
Throws:
Exception

copyRandomChars

public void copyRandomChars()
                     throws Exception
Throws:
Exception

readerToString

public void readerToString()
                    throws Exception
Throws:
Exception

inputStreamToString

public void inputStreamToString()
                         throws Exception
Throws:
Exception

inputStreamWithDefaultEncodingToString

public void inputStreamWithDefaultEncodingToString()
                                            throws Exception
Throws:
Exception


Copyright © 2009-2010. All Rights Reserved.