Uses of Class
org.outsideMyBox.testUtils.BeanLikeTester.PropertiesAndValues

Uses of BeanLikeTester.PropertiesAndValues in org.outsideMyBox.testUtils
 

Methods in org.outsideMyBox.testUtils with parameters of type BeanLikeTester.PropertiesAndValues
 void BeanLikeTester.testBeanLike(BeanLikeTester.PropertiesAndValues propsWithDefaultValue, BeanLikeTester.PropertiesAndValues propsWithOtherValue)
          Run all the tests: BeanLikeTester.testDefaultValues(PropertiesAndValues) BeanLikeTester.testMutatorsAndAccessors(PropertiesAndValues, PropertiesAndValues) BeanLikeTester.testEqualsAndHash(PropertiesAndValues, PropertiesAndValues) BeanLikeTester.testToString(PropertiesAndValues, PropertiesAndValues)
 void BeanLikeTester.testDefaultValues(BeanLikeTester.PropertiesAndValues expectedDefaultValues)
          Test that the default value of the properties (returned by the accessors) are the same as the one defined by the parameter.
The properties are also tested for objects created with all the possible constructors.
 void BeanLikeTester.testEqualsAndHash(BeanLikeTester.PropertiesAndValues propsWithDefaultValue, BeanLikeTester.PropertiesAndValues propsWithOtherValue)
          Test that equals() and hashCode() take into account all the properties and return the correct values.
 void BeanLikeTester.testMutatorsAndAccessors(BeanLikeTester.PropertiesAndValues propsWithValue, BeanLikeTester.PropertiesAndValues otherPropsWithValue)
          Test that all the mutators (setters, and constructors with arguments) can change their property and that the accessors reflect the change.
 void BeanLikeTester.testToString(BeanLikeTester.PropertiesAndValues propsWithDefaultValue, BeanLikeTester.PropertiesAndValues propsWithOtherValue)
          Test that the method toString() returns a different String if one of the settable properties has changed.
 

Constructors in org.outsideMyBox.testUtils with parameters of type BeanLikeTester.PropertiesAndValues
BeanLikeTester.PropertiesAndValues(BeanLikeTester.PropertiesAndValues defaultValues)
           
 



Copyright © 2011. All Rights Reserved.