Class PatternConstraintTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
-
- de.hybris.platform.validation.model.constraints.jsr303.PatternConstraintTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PatternConstraintTest extends AbstractConstraintTest
Testing Regexp Constraint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classPatternConstraintTest.POJO-
Nested classes/interfaces inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
AbstractConstraintTest.Constraint
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
constraintDao, flexibleSearchService, i18nService, modelService, typeService, validationService
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description PatternConstraintTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestInvalidCreate()lack of the regexp flagvoidtestInvalidCreate2()lack of the regexp flagvoidtestRegexpFalse1()voidtestRegexpFalse2()voidtestRegexpNull()voidtestRegexpOK1()voidtestRegexpOk2()-
Methods inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithMessageKey, assertModelSavingExceptionWithMessageKey, assertTrimmedException, calculateFractionPrecision, checkException, checkException, checkException, getDefaultMessage, resetConstraints, unloadEngine
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testInvalidCreate
public void testInvalidCreate() throws java.lang.InterruptedExceptionlack of the regexp flag- Throws:
java.lang.InterruptedException
-
testInvalidCreate2
public void testInvalidCreate2() throws java.lang.InterruptedExceptionlack of the regexp flag- Throws:
java.lang.InterruptedException
-
testRegexpOK1
public void testRegexpOK1() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testRegexpOk2
public void testRegexpOk2() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testRegexpFalse1
public void testRegexpFalse1() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testRegexpFalse2
public void testRegexpFalse2() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
testRegexpNull
public void testRegexpNull() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-