Class BaseStoreTestCase
java.lang.Object
com.liferay.portal.store.test.util.BaseStoreTestCase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddVersions(String fileName, int newVersionCount) protected abstract com.liferay.document.library.kernel.store.StoregetStore()protected StringvoidsetUp()voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
DATA_VERSION
protected static final byte[] DATA_VERSION
-
-
Constructor Details
-
BaseStoreTestCase
public BaseStoreTestCase()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
testAddFile
- Throws:
Exception
-
testDeleteCompanyDirectory
- Throws:
Exception
-
testDeleteDirectory
- Throws:
Exception
-
testDeleteDirectoryWithTwoLevelDeep
- Throws:
Exception
-
testDeleteFile
- Throws:
Exception
-
testDeleteTrashEntry
- Throws:
Exception
-
testGetFileAsStream
- Throws:
Exception
-
testGetFileNames
- Throws:
Exception
-
testGetFileNamesWithDirectoryOneLevelDeep
- Throws:
Exception
-
testGetFileNamesWithDirectoryTwoLevelDeep
- Throws:
Exception
-
testGetFileNamesWithInvalidDirectory
public void testGetFileNamesWithInvalidDirectory() -
testGetFileNamesWithInvalidRepository
public void testGetFileNamesWithInvalidRepository() -
testGetFileNamesWithTwoLevelsDeep
- Throws:
Exception
-
testGetFileSize
- Throws:
Exception
-
testGetFileSizeNoSuchFileException
- Throws:
Exception
-
testGetFileVersions
- Throws:
Exception
-
testHasFile
- Throws:
Exception
-
testVerifyCompanyStores
- Throws:
Exception
-
addVersions
- Throws:
Exception
-
getStore
protected abstract com.liferay.document.library.kernel.store.Store getStore() -
getStoreClassName
-