Class DefaultFieldNameTranslatorTest
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.search.impl.DefaultFieldNameTranslatorTest
-
@UnitTest public class DefaultFieldNameTranslatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedExceptionprotected static java.lang.StringFIELD_NAMEprotected static java.lang.StringFIELD_QUALIFIERprotected static java.lang.StringFIELD_SEPARATORprotected static java.lang.StringFIELD_TYPEprotected static java.lang.StringTYPE_VALUE_PROVIDER_IDprotected static java.lang.StringVALUE_PROVIDER_ID
-
Constructor Summary
Constructors Constructor Description DefaultFieldNameTranslatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtranslateFromCurrencyPropertyWithoutQualifierProvider()voidtranslateFromLocalizedPropertyWithoutQualifierProvider()voidtranslateFromPropertyWithoutQualifierProvider()voidtranslateFromPropertyWithQualifierProvider()voidtranslateFromTypeWithMapping()voidtranslateFromTypeWithoutMapping()
-
-
-
Field Detail
-
FIELD_NAME
protected static final java.lang.String FIELD_NAME
- See Also:
- Constant Field Values
-
FIELD_QUALIFIER
protected static final java.lang.String FIELD_QUALIFIER
- See Also:
- Constant Field Values
-
FIELD_TYPE
protected static final java.lang.String FIELD_TYPE
- See Also:
- Constant Field Values
-
FIELD_SEPARATOR
protected static final java.lang.String FIELD_SEPARATOR
- See Also:
- Constant Field Values
-
VALUE_PROVIDER_ID
protected static final java.lang.String VALUE_PROVIDER_ID
- See Also:
- Constant Field Values
-
TYPE_VALUE_PROVIDER_ID
protected static final java.lang.String TYPE_VALUE_PROVIDER_ID
- See Also:
- Constant Field Values
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Method Detail
-
setUp
public void setUp()
-
translateFromPropertyWithQualifierProvider
public void translateFromPropertyWithQualifierProvider() throws java.lang.Exception- Throws:
java.lang.Exception
-
translateFromLocalizedPropertyWithoutQualifierProvider
public void translateFromLocalizedPropertyWithoutQualifierProvider() throws java.lang.Exception- Throws:
java.lang.Exception
-
translateFromCurrencyPropertyWithoutQualifierProvider
public void translateFromCurrencyPropertyWithoutQualifierProvider() throws java.lang.Exception- Throws:
java.lang.Exception
-
translateFromPropertyWithoutQualifierProvider
public void translateFromPropertyWithoutQualifierProvider() throws java.lang.Exception- Throws:
java.lang.Exception
-
translateFromTypeWithMapping
public void translateFromTypeWithMapping() throws java.lang.Exception- Throws:
java.lang.Exception
-
translateFromTypeWithoutMapping
public void translateFromTypeWithoutMapping() throws java.lang.Exception- Throws:
java.lang.Exception
-
-