Class NewSyncRestrictionsTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.catalog.jalo.synchronization.NewSyncRestrictionsTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class NewSyncRestrictionsTest extends HybrisJUnit4Test
The test was created to verify that the restriction/sessionContext defect(PLA-8677) within the custom CatalogVersionSyncJob was fixed. The test creates three products within srcCatalogVersion but only one will be synchronized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NewSyncRestrictionsTest.TestCustomCatalogVersionSyncJob
The sample custom CatalogVersionSyncJob which adds some restriction to the SyncSessionContext(PLA-8677).
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description NewSyncRestrictionsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testNewSyncWithRestrictions()
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
-
testNewSyncWithRestrictions
public void testNewSyncWithRestrictions() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-