com.atlassian.core.util.thumbnail
Class DimensionsHelperTest
java.lang.Object
com.atlassian.core.util.thumbnail.DimensionsHelperTest
public class DimensionsHelperTest
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMAGE_HEIGHT
public static final int IMAGE_HEIGHT
- See Also:
- Constant Field Values
IMAGE_WIDTH
public static final int IMAGE_WIDTH
- See Also:
- Constant Field Values
DimensionsHelperTest
public DimensionsHelperTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
testGettingRightDimensionsInHappyPath
public void testGettingRightDimensionsInHappyPath()
throws Exception
- Throws:
Exception
testThrowsExceptionWhenCannotReadImage
public void testThrowsExceptionWhenCannotReadImage()
throws Exception
- Throws:
Exception
testDetermineScaleSize
public void testDetermineScaleSize()
throws Exception
- Testing extremely wide and tall images clamp minimum width and height to 1,
as per http://jira.atlassian.com/browse/JRA-20369
- Throws:
Exception
Copyright © 2015 Atlassian. All rights reserved.