org.silverpeas.file
Class ImageResizingProcessorTest
java.lang.Object
org.silverpeas.file.ImageResizingProcessorTest
public class ImageResizingProcessorTest
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageResizingProcessorTest
public ImageResizingProcessorTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Throws:
Exception
noResizingOccursIfTheImageAlreadyExists
public void noResizingOccursIfTheImageAlreadyExists()
throws Exception
- No resizing occurs when the targeted image exists.
- Throws:
Exception - if an error occurs.
noResizingOccursIfTheImageIsAlreadyResized
public void noResizingOccursIfTheImageIsAlreadyResized()
throws Exception
- An already resized image (that is an existing image in the directory corresponding to the
image
size) is not any more resized.
- Throws:
Exception - if an error occurs.
resizeAtCorrectDimension
public void resizeAtCorrectDimension()
throws Exception
- Throws:
Exception
resizeAtCorrectWidth
public void resizeAtCorrectWidth()
throws Exception
- Throws:
Exception
resizeAtCorrectHeight
public void resizeAtCorrectHeight()
throws Exception
- Throws:
Exception
noResizingIfNoSizeInThePath
public void noResizingIfNoSizeInThePath()
throws Exception
- Throws:
Exception
noResizingIfInvalidSize
public void noResizingIfInvalidSize()
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.