public class PictureFileDataTest extends AbstractJUploadTestHelper
fileDataTreeViewModel, filePanel, filePanelFlatDataModel2, filePreparationThread, fileroot, filesToUpload, fileUploadManagerThread, fileUploadThread, juploadContext, juploadDaemon, juploadPanel, logger, nbSubfoldersForSrcTestResourcesFiles, packetConstructionThread, packetQueue, postURLHasBeenSet, preparedFileQueue, uploadPolicy, uploadStartTime| Constructor and Description |
|---|
PictureFileDataTest() |
cleanQueues, getTestFile, getTestFilePath, getTestFilesRootPath, setPostURL, setupFileList, setupFullUploadEnvironment, testLastRegisteredUnload, testUnloadpublic void setUp()
throws JUploadException
JUploadExceptionpublic void cleanUp()
public void testConstructor()
throws JUploadException
JUploadExceptionpublic void testBeforeUpload_noTransformation()
throws JUploadException
JUploadExceptionpublic void testBeforeUpload_oneRotation()
throws JUploadException
JUploadExceptionpublic void testGetUploadLength()
public void testGetInputStream_nonPreparedFile()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testGetInputStream_nonTransformedFile()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testGetInputStream_RotatedFile()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testAfterUpload()
throws JUploadException
JUploadExceptionpublic void testGetImage()
throws JUploadException
JUploadExceptionpublic void testAddRotation()
throws IOException
IOExceptionpublic void testDeleteTransformedPictureFile()
throws IOException
IOExceptionpublic void testDeleteWorkingCopyPictureFile()
throws IOException
IOExceptionpublic void testInitTransformedPictureFile_Smaller_maxWidth()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testInitTransformedPictureFile_Smaller_maxHeight()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testInitTransformedPictureFile_Bigger_maxHeight()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testInitWidthAndHeight()
throws JUploadIOException
JUploadIOExceptionpublic void testCreateTransformedPictureFile()
throws IOException,
IllegalArgumentException,
SecurityException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
JUploadIOException
IOExceptionNoSuchMethodExceptionInvocationTargetExceptionIllegalAccessExceptionSecurityExceptionIllegalArgumentExceptionJUploadIOExceptionpublic void testCreateWorkingCopyTempFile()
throws IOException,
IllegalArgumentException,
SecurityException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
public void testGetWorkingSourceFile()
throws JUploadIOException,
IllegalArgumentException,
SecurityException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
JUploadIOExceptionNoSuchMethodExceptionInvocationTargetExceptionIllegalAccessExceptionSecurityExceptionIllegalArgumentExceptionpublic void testGetImageIcon()
throws JUploadException,
IOException
JUploadExceptionIOExceptionpublic void testIsFileAPicture()
Copyright © 2015. All rights reserved.