com.silverpeas.thumbnail
Class ThumbnailSettingsTest
java.lang.Object
com.silverpeas.thumbnail.ThumbnailSettingsTest
public class ThumbnailSettingsTest
- extends Object
BE CAREFUL, this unit test verifies especially that a default width and a default height are
returned.
- Author:
- Yohann Chastagnier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mockByReflectionRule
public MockByReflectionRule mockByReflectionRule
ThumbnailSettingsTest
public ThumbnailSettingsTest()
setup
public void setup()
shouldReturnDefaultSizeWhenComponentParametersAndDefaultPropertiesAreNotDefined
public void shouldReturnDefaultSizeWhenComponentParametersAndDefaultPropertiesAreNotDefined()
defaultWidthPropertyShouldBeTakenIntoAccountAndAppliedOnHeightToo
public void defaultWidthPropertyShouldBeTakenIntoAccountAndAppliedOnHeightToo()
defaultHeightPropertyShouldBeTakenIntoAccountAndAppliedOnWidthToo
public void defaultHeightPropertyShouldBeTakenIntoAccountAndAppliedOnWidthToo()
defaultSizePropertiesShouldBeTakenIntoAccount
public void defaultSizePropertiesShouldBeTakenIntoAccount()
defaultComponentInstanceWidthParameterShouldBeTakenIntoAccountAndAppliedOnHeightToo
public void defaultComponentInstanceWidthParameterShouldBeTakenIntoAccountAndAppliedOnHeightToo()
defaultComponentInstanceHeightParameterShouldBeTakenIntoAccountAndAppliedOnWidthToo
public void defaultComponentInstanceHeightParameterShouldBeTakenIntoAccountAndAppliedOnWidthToo()
defaultComponentInstanceSizeParametersShouldBeTakenIntoAccount
public void defaultComponentInstanceSizeParametersShouldBeTakenIntoAccount()
componentInstanceWidthParameterShouldBeGivenPriorityOverTheDefaultWidthAndHeightOfProperties
public void componentInstanceWidthParameterShouldBeGivenPriorityOverTheDefaultWidthAndHeightOfProperties()
componentInstanceHeightParameterShouldBeGivenPriorityOverTheDefaultWidthAndHeightOfProperties
public void componentInstanceHeightParameterShouldBeGivenPriorityOverTheDefaultWidthAndHeightOfProperties()
Copyright © 2016 Silverpeas. All Rights Reserved.