org.apache.commons.io
Class CopyUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.io.testtools.FileBasedTestCase
              extended by org.apache.commons.io.CopyUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class CopyUtilsTest
extends FileBasedTestCase

JUnit tests for CopyUtils.

Version:
$Id: CopyUtilsTest.java 606381 2007-12-22 02:03:16Z ggregory $
Author:
Jeff Turner, Matthew Hawthorne, Jeremias Maerki
See Also:
CopyUtils

Constructor Summary
CopyUtilsTest(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testCopy_byteArrayToOutputStream()
           
 void testCopy_byteArrayToWriter()
           
 void testCopy_inputStreamToOutputStream()
           
 void testCopy_inputStreamToWriter()
           
 void testCopy_readerToOutputStream()
           
 void testCopy_readerToWriter()
           
 void testCopy_stringToOutputStream()
           
 void testCopy_stringToWriter()
           
 
Methods inherited from class org.apache.commons.io.testtools.FileBasedTestCase
assertEqualContent, assertEqualContent, checkFile, checkWrite, checkWrite, createFile, createLineBasedFile, deleteFile, generateTestData, generateTestData, getTestDirectory, newFile
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyUtilsTest

public CopyUtilsTest(java.lang.String testName)
Method Detail

main

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

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testCopy_byteArrayToOutputStream

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

testCopy_byteArrayToWriter

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

testCopy_inputStreamToOutputStream

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

testCopy_inputStreamToWriter

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

testCopy_readerToOutputStream

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

testCopy_readerToWriter

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

testCopy_stringToOutputStream

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

testCopy_stringToWriter

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


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