public abstract class BaseStoreTestCase
extends java.lang.Object
| Constructor and Description |
|---|
BaseStoreTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addVersions(java.lang.String fileName,
int newVersionCount) |
protected abstract com.liferay.document.library.kernel.store.Store |
getStore() |
void |
setUp() |
void |
tearDown() |
void |
testAddFile() |
void |
testDeleteDirectory() |
void |
testDeleteDirectoryWithTwoLevelDeep() |
void |
testDeleteFile() |
void |
testGetFileAsStream() |
void |
testGetFileNames() |
void |
testGetFileNamesWithDirectoryOneLevelDeep() |
void |
testGetFileNamesWithDirectoryTwoLevelDeep() |
void |
testGetFileNamesWithInvalidDirectory() |
void |
testGetFileNamesWithInvalidRepository() |
void |
testGetFileNamesWithTwoLevelsDeep() |
void |
testGetFileSize() |
void |
testGetFileSizeNoSuchFileException() |
void |
testGetFileVersions() |
void |
testHasFile() |
public void setUp()
public void tearDown()
public void testAddFile()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteDirectory()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteDirectoryWithTwoLevelDeep()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteFile()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileAsStream()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileNames()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileNamesWithDirectoryOneLevelDeep()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileNamesWithDirectoryTwoLevelDeep()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileNamesWithInvalidDirectory()
public void testGetFileNamesWithInvalidRepository()
public void testGetFileNamesWithTwoLevelsDeep()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileSize()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileSizeNoSuchFileException()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFileVersions()
throws java.lang.Exception
java.lang.Exceptionpublic void testHasFile()
throws java.lang.Exception
java.lang.Exceptionprotected void addVersions(java.lang.String fileName,
int newVersionCount)
throws java.lang.Exception
java.lang.Exceptionprotected abstract com.liferay.document.library.kernel.store.Store getStore()