Class ProductImagesValueResolverTest
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolverTest
-
- de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.ProductImagesValueResolverTest
-
@UnitTest public class ProductImagesValueResolverTest extends AbstractValueResolverTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedExceptionprotected static java.lang.StringINDEXED_PROPERTY_1_NAMEprotected static java.lang.StringINDEXED_PROPERTY_2_NAMEprotected static java.lang.StringINDEXED_PROPERTY_3_NAME-
Fields inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolverTest
INDEXED_PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description ProductImagesValueResolverTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresolveProductWithMedias()voidresolveProductWithMediasFormatFromIndexProperty()voidresolveProductWithMediasForVariantProduct()voidresolveProductWithNoMatchingMediaFormat()voidresolveProductWithNoMatchingMediaFormatNoOptional()voidresolveProductWithNoMediaGallery()voidresolveProductWithNoMediaInContainer()voidresolveProductWithTwoIndexedPropertyForOneMediaFromat()voidresolveProductWithUnknownMediaFormat()voidsetUp()-
Methods inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolverTest
getBatchContext, getFacetSearchConfig, getIndexConfig, getIndexedProperty, getIndexedType, getInputDocument, getQualifierProvider, getSessionService, setUpAbstractValueResolverTest
-
-
-
-
Field Detail
-
INDEXED_PROPERTY_1_NAME
protected static final java.lang.String INDEXED_PROPERTY_1_NAME
- See Also:
- Constant Field Values
-
INDEXED_PROPERTY_2_NAME
protected static final java.lang.String INDEXED_PROPERTY_2_NAME
- See Also:
- Constant Field Values
-
INDEXED_PROPERTY_3_NAME
protected static final java.lang.String INDEXED_PROPERTY_3_NAME
- See Also:
- Constant Field Values
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Method Detail
-
setUp
public void setUp()
-
resolveProductWithNoMediaGallery
public void resolveProductWithNoMediaGallery() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithNoMediaInContainer
public void resolveProductWithNoMediaInContainer() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithNoMatchingMediaFormat
public void resolveProductWithNoMatchingMediaFormat() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithNoMatchingMediaFormatNoOptional
public void resolveProductWithNoMatchingMediaFormatNoOptional() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithUnknownMediaFormat
public void resolveProductWithUnknownMediaFormat() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithMedias
public void resolveProductWithMedias() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithMediasFormatFromIndexProperty
public void resolveProductWithMediasFormatFromIndexProperty() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithMediasForVariantProduct
public void resolveProductWithMediasForVariantProduct() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
resolveProductWithTwoIndexedPropertyForOneMediaFromat
public void resolveProductWithTwoIndexedPropertyForOneMediaFromat() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
-