org.silverpeas.process.io.file
Class AbstractFileHandlerTest

java.lang.Object
  extended by org.silverpeas.process.io.file.AbstractFileHandlerTest

public class AbstractFileHandlerTest
extends Object

Author:
Yohann Chastagnier

Constructor Summary
AbstractFileHandlerTest()
           
 
Method Summary
 void afterTest()
           
 void beforeTest()
           
 void testCheckinSessionWorkingPathComplexCase()
           
 void testCheckinSessionWorkingPathSimpleCase()
           
 void testDeleteSessionWorkingPath()
           
 void testGetExistingFile()
           
 void testGetFileForWriting()
           
 void testGetSessionPath()
           
 void testGetSessionTemporaryPath()
           
 void testIsMarkedToDeleteWhenFileExistsOnlyInRealPath()
           
 void testIsMarkedToDeleteWhenFileExistsOnlyInSessionPath()
           
 void testIsMarkedToDeleteWhenFileExistsOnlyInSubdirectoriedOfRealPath()
           
 void testIsMarkedToDeleteWhenNoFileExistsInRealPathAndSessionPath()
           
 void testMarkToDeleteWhenFileExistsOnlyInRealPath()
           
 void testMarkToDeleteWhenFileExistsOnlyInRealPath2TimesFollowing()
           
 void testMarkToDeleteWhenFileExistsOnlyInSessionPath()
           
 void testMarkToDeleteWhenNoFileExistsInRealPathAndSessionPath()
           
 void testSizeOfSessionWorkingPath()
           
 void testSizeOfSessionWorkingPathWithVirtualHandledFiles()
           
 void testTranslateToRealPathFromRealFile()
           
 void testTranslateToRealPathFromSessionBasePath()
           
 void testTranslateToRealPathFromSessionFile()
           
 void testTranslateToSessionPathFromRealBasePath()
           
 void testTranslateToSessionPathFromRealFile()
           
 void testTranslateToSessionPathFromSessionFile()
           
 void testVerify()
           
 void testVerifyInFailure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFileHandlerTest

public AbstractFileHandlerTest()
Method Detail

beforeTest

public void beforeTest()
                throws Exception
Throws:
Exception

afterTest

public void afterTest()
               throws Exception
Throws:
Exception

testMarkToDeleteWhenNoFileExistsInRealPathAndSessionPath

public void testMarkToDeleteWhenNoFileExistsInRealPathAndSessionPath()
                                                              throws Exception
Throws:
Exception

testMarkToDeleteWhenFileExistsOnlyInSessionPath

public void testMarkToDeleteWhenFileExistsOnlyInSessionPath()
                                                     throws Exception
Throws:
Exception

testMarkToDeleteWhenFileExistsOnlyInRealPath

public void testMarkToDeleteWhenFileExistsOnlyInRealPath()
                                                  throws Exception
Throws:
Exception

testMarkToDeleteWhenFileExistsOnlyInRealPath2TimesFollowing

public void testMarkToDeleteWhenFileExistsOnlyInRealPath2TimesFollowing()
                                                                 throws Exception
Throws:
Exception

testIsMarkedToDeleteWhenNoFileExistsInRealPathAndSessionPath

public void testIsMarkedToDeleteWhenNoFileExistsInRealPathAndSessionPath()

testIsMarkedToDeleteWhenFileExistsOnlyInSessionPath

public void testIsMarkedToDeleteWhenFileExistsOnlyInSessionPath()
                                                         throws Exception
Throws:
Exception

testIsMarkedToDeleteWhenFileExistsOnlyInRealPath

public void testIsMarkedToDeleteWhenFileExistsOnlyInRealPath()
                                                      throws Exception
Throws:
Exception

testIsMarkedToDeleteWhenFileExistsOnlyInSubdirectoriedOfRealPath

public void testIsMarkedToDeleteWhenFileExistsOnlyInSubdirectoriedOfRealPath()
                                                                      throws Exception
Throws:
Exception

testTranslateToRealPathFromSessionBasePath

public void testTranslateToRealPathFromSessionBasePath()

testTranslateToRealPathFromSessionFile

public void testTranslateToRealPathFromSessionFile()

testTranslateToRealPathFromRealFile

public void testTranslateToRealPathFromRealFile()

testTranslateToSessionPathFromRealBasePath

public void testTranslateToSessionPathFromRealBasePath()

testTranslateToSessionPathFromRealFile

public void testTranslateToSessionPathFromRealFile()

testTranslateToSessionPathFromSessionFile

public void testTranslateToSessionPathFromSessionFile()

testGetExistingFile

public void testGetExistingFile()
                         throws Exception
Throws:
Exception

testGetFileForWriting

public void testGetFileForWriting()
                           throws Exception
Throws:
Exception

testVerify

public void testVerify()

testVerifyInFailure

public void testVerifyInFailure()

testGetSessionPath

public void testGetSessionPath()

testGetSessionTemporaryPath

public void testGetSessionTemporaryPath()

testSizeOfSessionWorkingPath

public void testSizeOfSessionWorkingPath()
                                  throws Exception
Throws:
Exception

testSizeOfSessionWorkingPathWithVirtualHandledFiles

public void testSizeOfSessionWorkingPathWithVirtualHandledFiles()
                                                         throws Exception
Throws:
Exception

testDeleteSessionWorkingPath

public void testDeleteSessionWorkingPath()

testCheckinSessionWorkingPathSimpleCase

public void testCheckinSessionWorkingPathSimpleCase()
                                             throws Exception
Throws:
Exception

testCheckinSessionWorkingPathComplexCase

public void testCheckinSessionWorkingPathComplexCase()
                                              throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.