org.bibalex.daf.handlers.filehandler
Class FTPFileHandlerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.bibalex.daf.handlers.filehandler.FTPFileHandlerTest
All Implemented Interfaces:
junit.framework.Test

public class FTPFileHandlerTest
extends junit.framework.TestCase

Author:
fadi.edward Test Case for the FTPFileHandler class.

Field Summary
private  java.lang.String curDir
           
private  FTPFileHandler ftpFileHandler
           
 
Constructor Summary
FTPFileHandlerTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void testCompareFolders()
           
 void testCreateFolder()
           
 void testCreatePath()
           
 void testGetFileSize()
           
 void testGetFilesNames()
           
 void testGetFilesNamesWithExtension()
           
 void testGetFolder()
           
 void testGetFolderSize()
           
 void testPutFolder()
           
 
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
 

Field Detail

ftpFileHandler

private FTPFileHandler ftpFileHandler

curDir

private java.lang.String curDir
Constructor Detail

FTPFileHandlerTest

public FTPFileHandlerTest(java.lang.String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testCreatePath

public void testCreatePath()

testGetFilesNames

public void testGetFilesNames()

testGetFilesNamesWithExtension

public void testGetFilesNamesWithExtension()

testCreateFolder

public void testCreateFolder()

testGetFolder

public void testGetFolder()

testCompareFolders

public void testCompareFolders()

testPutFolder

public void testPutFolder()

testGetFolderSize

public void testGetFolderSize()

testGetFileSize

public void testGetFileSize()