Class MerchIndexingListenerTest
- java.lang.Object
-
- com.hybris.merchandising.indexer.listeners.MerchIndexingListenerTest
-
@UnitTest public class MerchIndexingListenerTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longBATCH_INDEXER_CONTEXT_OPERATION_IDstatic java.lang.StringBATCH_INDEXER_IDstatic java.lang.StringCATALOGstatic java.lang.StringENGLISHstatic java.lang.StringGBPstatic longINDEXER_CONTEXT_OPERATION_IDstatic java.lang.StringONLINE
-
Constructor Summary
Constructors Constructor Description MerchIndexingListenerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateActionForDeleteIndexOpShouldReturnDelete()voidcreateActionForFullIndexOpShouldReturnCreate()voidcreateActionForPartialUpdateIndexOpShouldReturnUpdate()voidcreateActionForUpdateIndexOpShouldReturnUpdate()voidhandleAndPublishShouldBeCalledAfterFullIndexOperation()voidhandleShouldBeCalledAfterDeleteIndexOperation()voidhandleShouldBeCalledAfterPartialUpdateIndexOperation()voidmappedInputDocumentsShouldBeSentToHandleProductsBatch()voidsetUp()voidtestIsToSynchronize()voidtestSanitisation()
-
-
-
Field Detail
-
INDEXER_CONTEXT_OPERATION_ID
public static final long INDEXER_CONTEXT_OPERATION_ID
- See Also:
- Constant Field Values
-
BATCH_INDEXER_CONTEXT_OPERATION_ID
public static final long BATCH_INDEXER_CONTEXT_OPERATION_ID
- See Also:
- Constant Field Values
-
BATCH_INDEXER_ID
public static final java.lang.String BATCH_INDEXER_ID
- See Also:
- Constant Field Values
-
ENGLISH
public static final java.lang.String ENGLISH
- See Also:
- Constant Field Values
-
GBP
public static final java.lang.String GBP
- See Also:
- Constant Field Values
-
ONLINE
public static final java.lang.String ONLINE
- See Also:
- Constant Field Values
-
CATALOG
public static final java.lang.String CATALOG
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws SolrServiceException- Throws:
SolrServiceException
-
mappedInputDocumentsShouldBeSentToHandleProductsBatch
public void mappedInputDocumentsShouldBeSentToHandleProductsBatch() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSanitisation
public void testSanitisation()
-
testIsToSynchronize
public void testIsToSynchronize()
-
createActionForFullIndexOpShouldReturnCreate
public void createActionForFullIndexOpShouldReturnCreate() throws java.lang.Exception- Throws:
java.lang.Exception
-
createActionForUpdateIndexOpShouldReturnUpdate
public void createActionForUpdateIndexOpShouldReturnUpdate() throws java.lang.Exception- Throws:
java.lang.Exception
-
createActionForPartialUpdateIndexOpShouldReturnUpdate
public void createActionForPartialUpdateIndexOpShouldReturnUpdate() throws java.lang.Exception- Throws:
java.lang.Exception
-
createActionForDeleteIndexOpShouldReturnDelete
public void createActionForDeleteIndexOpShouldReturnDelete() throws java.lang.Exception- Throws:
java.lang.Exception
-
handleAndPublishShouldBeCalledAfterFullIndexOperation
public void handleAndPublishShouldBeCalledAfterFullIndexOperation() throws java.lang.Exception- Throws:
java.lang.Exception
-
handleShouldBeCalledAfterDeleteIndexOperation
public void handleShouldBeCalledAfterDeleteIndexOperation() throws java.lang.Exception- Throws:
java.lang.Exception
-
handleShouldBeCalledAfterPartialUpdateIndexOperation
public void handleShouldBeCalledAfterPartialUpdateIndexOperation() throws java.lang.Exception- Throws:
java.lang.Exception
-
-