Class AbstractConstraintUniqueValidatorIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.validation.interceptors.AbstractConstraintUniqueValidatorIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class AbstractConstraintUniqueValidatorIntegrationTest
extends ServicelayerBaseTest
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
AbstractConstraintUniqueValidatorIntegrationTest
public AbstractConstraintUniqueValidatorIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
shouldReturnTwoValidationErrorsWhenTwoConstraintsAreDefinedForDifferentLanguages
public void shouldReturnTwoValidationErrorsWhenTwoConstraintsAreDefinedForDifferentLanguages() -
shouldReturnTwoValidationErrorsWhenTwoConstraintsAreDefinedForDifferentSeverity
public void shouldReturnTwoValidationErrorsWhenTwoConstraintsAreDefinedForDifferentSeverity() -
shouldGenerateValidConstraintViolationForPOJOConstraint
public void shouldGenerateValidConstraintViolationForPOJOConstraint() -
shouldThrowExceptionWhenCheckingSameAttributeConstraintWithAttrDesc
public void shouldThrowExceptionWhenCheckingSameAttributeConstraintWithAttrDesc() throws InterceptorException- Throws:
InterceptorException
-
shouldThrowExceptionWhenCheckingSameLocalizedAttributeConstraintWithAttrDescAndLanguages
public void shouldThrowExceptionWhenCheckingSameLocalizedAttributeConstraintWithAttrDescAndLanguages() throws InterceptorException- Throws:
InterceptorException
-
shouldThrowExceptionWhenCheckingSameLocalizedAttributeConstraintWithAttrDescAndNoLanguages
public void shouldThrowExceptionWhenCheckingSameLocalizedAttributeConstraintWithAttrDescAndNoLanguages() throws InterceptorException- Throws:
InterceptorException
-
shouldThrowExceptionWhenCheckingSameAttributeConstraintWithPOJO
public void shouldThrowExceptionWhenCheckingSameAttributeConstraintWithPOJO() throws InterceptorException- Throws:
InterceptorException
-
shouldThrowExceptionWhenCheckingSameTypeConstraintWithPOJO
public void shouldThrowExceptionWhenCheckingSameTypeConstraintWithPOJO() throws InterceptorException- Throws:
InterceptorException
-
shouldThrowExceptionWhenCheckingSameTypeConstraintWithItemModel
public void shouldThrowExceptionWhenCheckingSameTypeConstraintWithItemModel() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentQualifier
public void shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentQualifier() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentActiveFlag
public void shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentActiveFlag() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentTarget
public void shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentTarget() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentSeverity
public void shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentSeverity() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentLanguages
public void shouldSuccessWhenCheckingAttributeConstraintWithAttrDescAndDifferentLanguages() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentQualifier
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentQualifier() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentActiveFlag
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentActiveFlag() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentTarget
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentTarget() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentSeverity
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentSeverity() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentLanguages
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescAndDifferentLanguages() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentQualifier
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentQualifier() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentActiveFlag
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentActiveFlag() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentTarget
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentTarget() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentSeverity
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentSeverity() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentLanguages
public void shouldSuccessWhenCheckingAttributeConstraintWithLocalizedAttrDescNoLangAndDifferentLanguages() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentQualifier
public void shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentQualifier() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentActiveFlag
public void shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentActiveFlag() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentTarget
public void shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentTarget() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentSeverity
public void shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentSeverity() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentLanguages
public void shouldSuccessWhenCheckingAttributeConstraintWithPOJOAndDifferentLanguages() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingTypeConstraintWithItemModelAndDifferentActiveFlag
public void shouldSuccessWhenCheckingTypeConstraintWithItemModelAndDifferentActiveFlag() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingTypeConstraintWithItemModelAndDifferentTarget
public void shouldSuccessWhenCheckingTypeConstraintWithItemModelAndDifferentTarget() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingTypeConstraintWithItemModelAndDifferentSeverity
public void shouldSuccessWhenCheckingTypeConstraintWithItemModelAndDifferentSeverity() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingTypeConstraintWithPOJOAndDifferentActiveFlag
public void shouldSuccessWhenCheckingTypeConstraintWithPOJOAndDifferentActiveFlag() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingTypeConstraintWithPOJOAndDifferentTarget
public void shouldSuccessWhenCheckingTypeConstraintWithPOJOAndDifferentTarget() throws InterceptorException- Throws:
InterceptorException
-
shouldSuccessWhenCheckingTypeConstraintWithPOJOAndDifferentSeverity
public void shouldSuccessWhenCheckingTypeConstraintWithPOJOAndDifferentSeverity() throws InterceptorException- Throws:
InterceptorException
-