org.bibalex.daf.handlers.filehandler
Class LocalFileHandlerTest

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

public class LocalFileHandlerTest
extends junit.framework.TestCase

Test for LocalFileHandler.

Author:
Shehab.Kamal

Field Summary
(package private)  java.lang.String curDir
           
(package private)  LocalFileHandler handler
           
 
Constructor Summary
LocalFileHandlerTest()
           
 
Method Summary
 void setUp()
           
 void testCopyFile()
           
 void testCopyFolder()
           
 void testCreateFile()
           
 void testCreateFolder()
           
 void testDeleteFile()
           
 void testDeleteFolder()
           
 void testGetFilesCount()
           
 void testGetFilesCountWithExt()
           
 void testGetFilesNames()
           
 void testGetFilesNamesWithExt()
           
 void testGetSubFolders()
           
 void testMakeReadOnly()
           
 void testMoveFile()
           
 void testMoveFolder()
           
 void testRename()
           
 
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

handler

LocalFileHandler handler

curDir

java.lang.String curDir
Constructor Detail

LocalFileHandlerTest

public LocalFileHandlerTest()
Method Detail

setUp

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

testCreateFolder

public void testCreateFolder()

testDeleteFolder

public void testDeleteFolder()

testCreateFile

public void testCreateFile()

testRename

public void testRename()

testGetSubFolders

public void testGetSubFolders()

testGetFilesCount

public void testGetFilesCount()

testGetFilesNames

public void testGetFilesNames()

testGetFilesCountWithExt

public void testGetFilesCountWithExt()

testGetFilesNamesWithExt

public void testGetFilesNamesWithExt()

testDeleteFile

public void testDeleteFile()

testCopyFile

public void testCopyFile()

testCopyFolder

public void testCopyFolder()

testMoveFile

public void testMoveFile()

testMoveFolder

public void testMoveFolder()

testMakeReadOnly

public void testMakeReadOnly()