@UnitTest public class AnnotationsMappingRegistryTest extends java.lang.Object
| Constructor and Description |
|---|
AnnotationsMappingRegistryTest() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitializeWithGroupNamesContainingDotInTheName()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldHaveFiveConstraintAnnotationsRegistered()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldHaveFiveGroupsOfAttributeTypesRegistered()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateAssertFalseAsValidForSmallBoolean()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateDecimalMaxAsValidForJavaLangLong()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateFutureAsValidForJavaUtilDate()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateSizeAsValidForJavaUtilCollection()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateHybrisNotEmptyAsValidForJavaLangString()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateNotRegisteredAnnotationClassAsInvalid()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldValidateNotExistentPropertyTypeAsInvalid()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.