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.Exception
public void testDeleteDirectory() throws java.lang.Exception
java.lang.Exception
public void testDeleteDirectoryWithTwoLevelDeep() throws java.lang.Exception
java.lang.Exception
public void testDeleteFile() throws java.lang.Exception
java.lang.Exception
public void testGetFileAsStream() throws java.lang.Exception
java.lang.Exception
public void testGetFileNames() throws java.lang.Exception
java.lang.Exception
public void testGetFileNamesWithDirectoryOneLevelDeep() throws java.lang.Exception
java.lang.Exception
public void testGetFileNamesWithDirectoryTwoLevelDeep() throws java.lang.Exception
java.lang.Exception
public void testGetFileNamesWithInvalidDirectory()
public void testGetFileNamesWithInvalidRepository()
public void testGetFileNamesWithTwoLevelsDeep() throws java.lang.Exception
java.lang.Exception
public void testGetFileSize() throws java.lang.Exception
java.lang.Exception
public void testGetFileSizeNoSuchFileException() throws java.lang.Exception
java.lang.Exception
public void testGetFileVersions() throws java.lang.Exception
java.lang.Exception
public void testHasFile() throws java.lang.Exception
java.lang.Exception
protected void addVersions(java.lang.String fileName, int newVersionCount) throws java.lang.Exception
java.lang.Exception
protected abstract com.liferay.document.library.kernel.store.Store getStore()