Class AnnotationsMappingRegistryTest
java.lang.Object
de.hybris.platform.validation.annotations.mapping.AnnotationsMappingRegistryTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
AnnotationsMappingRegistryTest
public AnnotationsMappingRegistryTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet
public void shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet() throws Exception- Throws:
Exception
-
shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints
public void shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints() throws Exception- Throws:
Exception
-
shouldInitializeWithGroupNamesContainingDotInTheName
- Throws:
Exception
-
shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet
public void shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet() throws Exception- Throws:
Exception
-
shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces
public void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces() throws Exception- Throws:
Exception
-
shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas
public void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas() throws Exception- Throws:
Exception
-
shouldHaveFiveConstraintAnnotationsRegistered
- Throws:
Exception
-
shouldHaveFiveGroupsOfAttributeTypesRegistered
- Throws:
Exception
-
shouldValidateAssertFalseAsValidForSmallBoolean
- Throws:
Exception
-
shouldValidateDecimalMaxAsValidForJavaLangLong
- Throws:
Exception
-
shouldValidateFutureAsValidForJavaUtilDate
- Throws:
Exception
-
shouldValidateSizeAsValidForJavaUtilCollection
- Throws:
Exception
-
shouldValidateHybrisNotEmptyAsValidForJavaLangString
- Throws:
Exception
-
shouldValidateNotRegisteredAnnotationClassAsInvalid
- Throws:
Exception
-
shouldValidateNotExistentPropertyTypeAsInvalid
- Throws:
Exception
-