com.fastplanet.utils.filecopier.test
Class FileCopierTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.fastplanet.utils.filecopier.test.FileCopierTest
All Implemented Interfaces:
junit.framework.Test

public class FileCopierTest
extends junit.framework.TestCase


Field Summary
static java.lang.String BIG_TEST_STRING
           
static java.lang.String TEST_FILE_DEST_PATH
           
static java.lang.String TEST_FILE_SRC_PATH
           
 
Constructor Summary
FileCopierTest()
           
 
Method Summary
 void testCopyFile()
           
 void testCopyFileSrcAndDestSizesAreEqual()
           
 void testHelperMethods()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BIG_TEST_STRING

public static java.lang.String BIG_TEST_STRING

TEST_FILE_SRC_PATH

public static final java.lang.String TEST_FILE_SRC_PATH
See Also:
Constant Field Values

TEST_FILE_DEST_PATH

public static final java.lang.String TEST_FILE_DEST_PATH
See Also:
Constant Field Values
Constructor Detail

FileCopierTest

public FileCopierTest()
Method Detail

testHelperMethods

public void testHelperMethods()
                       throws java.io.IOException
Throws:
java.io.IOException

testCopyFile

public void testCopyFile()
                  throws java.io.IOException
Throws:
java.io.IOException

testCopyFileSrcAndDestSizesAreEqual

public void testCopyFileSrcAndDestSizesAreEqual()
                                         throws java.io.IOException
Throws:
java.io.IOException