com.silverpeas.thumbnail.control
Class ThumbnailControllerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.silverpeas.thumbnail.control.ThumbnailControllerTest
All Implemented Interfaces:
junit.framework.Test

public class ThumbnailControllerTest
extends junit.framework.TestCase


Constructor Summary
ThumbnailControllerTest()
           
 
Method Summary
 void testABiggerCropOfTheDestinationImage()
           
 void testASmallerCropOfTheDestinationImage()
           
 void testExceptionWhenNotAnImage()
           
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThumbnailControllerTest

public ThumbnailControllerTest()
Method Detail

testASmallerCropOfTheDestinationImage

public void testASmallerCropOfTheDestinationImage()
                                           throws Exception
Throws:
Exception

testABiggerCropOfTheDestinationImage

public void testABiggerCropOfTheDestinationImage()
                                          throws Exception
Throws:
Exception

testExceptionWhenNotAnImage

public void testExceptionWhenNotAnImage()
                                 throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.