org.silverpeas.file
Class ImageResizingProcessorTest

java.lang.Object
  extended by org.silverpeas.file.ImageResizingProcessorTest

public class ImageResizingProcessorTest
extends Object


Constructor Summary
ImageResizingProcessorTest()
           
 
Method Summary
 void noResizingIfInvalidSize()
           
 void noResizingIfNoSizeInThePath()
           
 void noResizingOccursIfTheImageAlreadyExists()
          No resizing occurs when the targeted image exists.
 void noResizingOccursIfTheImageIsAlreadyResized()
          An already resized image (that is an existing image in the directory corresponding to the image size) is not any more resized.
 void resizeAtCorrectDimension()
           
 void resizeAtCorrectHeight()
           
 void resizeAtCorrectWidth()
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResizingProcessorTest

public ImageResizingProcessorTest()
Method Detail

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.