public class FileSystemFileHostingServiceTests
extends java.lang.Object
Constructor and Description |
---|
FileSystemFileHostingServiceTests() |
public void setup() throws java.lang.Exception
java.lang.Exception
protected IFileHosting getService() throws ServerFault
ServerFault
public void tearDown() throws java.io.IOException
java.io.IOException
public void testAddingAFile() throws java.lang.Exception
java.lang.Exception
public void testCheckingExistence() throws java.lang.Exception
java.lang.Exception
public void testAddingAFileShouldWriteInfoData() throws java.lang.Exception
java.lang.Exception
public void testCleaningUpExpiredFiles() throws java.lang.Exception
java.lang.Exception
public void testCleaningUpExpiredFilesRetentionTime() throws java.lang.Exception
java.lang.Exception
public void testAddingAFileInSubFolder() throws java.lang.Exception
java.lang.Exception
public void testGettingAFile() throws java.lang.Exception
java.lang.Exception
public void testGettingABigFile() throws java.lang.Exception
java.lang.Exception
public void testSlowGet() throws java.lang.Exception
java.lang.Exception
public void testTimeOut() throws java.lang.Exception
java.lang.Exception
public void testFileMaxDataSize() throws java.lang.Exception
java.lang.Exception
public void testManyFiles() throws java.lang.Exception
java.lang.Exception
public void testGettingAFileShouldReturnRelativePathInMetadata() throws java.lang.Exception
java.lang.Exception
public void testSharingAFile() throws java.lang.Exception
java.lang.Exception
public void testGettingASharedFileShouldCheckDownloadLimit() throws java.lang.Exception
java.lang.Exception
public void testGettingASharedFileShouldCheckExpirationDate() throws java.lang.Exception
java.lang.Exception
public void testGettingASharedFileWithExpirationDate() throws java.lang.Exception
java.lang.Exception
public void testListingADirectory() throws java.lang.Exception
java.lang.Exception
public void testSearchingAnItem() throws java.lang.Exception
java.lang.Exception
public void testSearchingAnItemShouldUseIndexOfSearch() throws java.lang.Exception
java.lang.Exception
public void testAddingAnExistingFileShouldOverwriteExistingFile() throws java.lang.Exception
java.lang.Exception
public void testAddingAFileShouldCreateMissingPath() throws java.lang.Exception
java.lang.Exception
public void testGettingNonExistingFileShouldThrowException()
public void testSharingNonExistingFileShouldThrowException()
public void testListingNonExistingDirectoryShouldReturnEmptyList() throws java.lang.Exception
java.lang.Exception
public void testListingFileInsteadOfFolderShouldIgnoreFilename() throws java.lang.Exception
java.lang.Exception
public void testSearchingShouldBeCaseInsensitive() throws java.lang.Exception
java.lang.Exception
public void testSearchingNonExistingFileShouldReturnEmptyList() throws java.lang.Exception
java.lang.Exception
public void testGettingConfiguration() throws java.lang.Exception
java.lang.Exception
Copyright © 2021. All Rights Reserved.