com.silverpeas.util
Class FileUtilTest
java.lang.Object
com.silverpeas.util.FileUtilTest
public class FileUtilTest
- extends Object
- Author:
- ehugonnet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtilTest
public FileUtilTest()
setUp
public void setUp()
throws IOException
- Throws:
IOException
tearDown
public void tearDown()
testGetFilename
public void testGetFilename()
testGetMimeType
public void testGetMimeType()
- Test of getMimeType method, of class FileUtil.
testGetAttachmentContext
public void testGetAttachmentContext()
- Test of getAttachmentContext method, of class FileUtil.
testLoadBundle
public void testLoadBundle()
- Test of loadBundle method, of class FileUtil.
testIsArchive
public void testIsArchive()
testConvertFilePath
public void testConvertFilePath()
testCheckPathNotRelative
public void testCheckPathNotRelative()
throws RelativeFileAccessException
- Throws:
RelativeFileAccessException
testCheckPathNotRelativeError1
public void testCheckPathNotRelativeError1()
throws RelativeFileAccessException
- Throws:
RelativeFileAccessException
testCheckPathNotRelativeError2
public void testCheckPathNotRelativeError2()
throws RelativeFileAccessException
- Throws:
RelativeFileAccessException
testCheckPathNotRelativeError3
public void testCheckPathNotRelativeError3()
throws RelativeFileAccessException
- Throws:
RelativeFileAccessException
testCheckPathNotRelativeError4
public void testCheckPathNotRelativeError4()
throws RelativeFileAccessException
- Throws:
RelativeFileAccessException
testDeleteEmptyDir
public void testDeleteEmptyDir()
throws IOException
- Throws:
IOException
testMoveAllFilesAtRootFolder
public void testMoveAllFilesAtRootFolder()
throws IOException
- Throws:
IOException
testMoveAllFilesAtRootFolderThatDoesNotExist
public void testMoveAllFilesAtRootFolderThatDoesNotExist()
throws IOException
- Throws:
IOException
testMoveAllFilesAtRootFolderWhichInstanceIsNull
public void testMoveAllFilesAtRootFolderWhichInstanceIsNull()
throws IOException
- Throws:
IOException
testValidateFileNameOk
public void testValidateFileNameOk()
throws Exception
- Throws:
Exception
testValidateFileNameKo
public void testValidateFileNameKo()
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.