org.bibalex.daf.handlers.filehandler
Class FileHandlerFTPImplTest

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

public class FileHandlerFTPImplTest
extends junit.framework.TestCase

Test for FileHandlerFTPImpl

Author:
Shehab.Kamal

Field Summary
(package private)  java.lang.String curDir
           
private  FileHandlerFTPImpl ftpHandler
           
private  FileHandlerLocalImpl localHandler
           
 
Constructor Summary
FileHandlerFTPImplTest()
           
 
Method Summary
 void setUp()
           
 void testCreateFolder()
           
 void testDeleteFolder()
           
 void testDownloadFiles()
           
 void testDownloadFolder()
           
 void testGetSubFolders()
           
 void testUploadFiles()
           
 void testUploadFolder()
           
 
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

ftpHandler

private FileHandlerFTPImpl ftpHandler

localHandler

private FileHandlerLocalImpl localHandler

curDir

java.lang.String curDir
Constructor Detail

FileHandlerFTPImplTest

public FileHandlerFTPImplTest()
Method Detail

setUp

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

testDownloadFolder

public void testDownloadFolder()

testCreateFolder

public void testCreateFolder()

testUploadFolder

public void testUploadFolder()

testGetSubFolders

public void testGetSubFolders()

testUploadFiles

public void testUploadFiles()

testDownloadFiles

public void testDownloadFiles()

testDeleteFolder

public void testDeleteFolder()