Class DefaultCachedTypeDataTest
java.lang.Object
de.hybris.platform.persistence.flexiblesearch.typecache.impl.DefaultCachedTypeDataTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTest method forDefaultCachedTypeData.isAbstract().voidTest method forDefaultCachedTypeData.isAbstract().voidTest method forDefaultCachedTypeData.getCorePropertyColumnName(java.lang.String).voidTest method forDefaultCachedTypeData.getCorePropertyColumnName(java.lang.String).voidTest method forDefaultCachedTypeData.getLocalizedPropertyColumnName(java.lang.String).voidTest method forDefaultCachedTypeData.getLocalizedTableName().voidTest method forDefaultCachedTypeData.getPropertyTableName().voidTest method forDefaultCachedTypeData.getPropertyTypeForName(java.lang.String).voidTest method forDefaultCachedTypeData.getStandardTableName().voidTest method forDefaultCachedTypeData.getTypePk().voidTest method forDefaultCachedTypeData.getUnlocalizedPropertyColumnName(java.lang.String).voidTest method forDefaultCachedTypeData.getUnlocalizedTableName().voidTest method forDefaultCachedTypeData.getLocalizedPropertyColumnName(java.lang.String).voidTest method forDefaultCachedTypeData.getUnlocalizedPropertyColumnName(java.lang.String).
-
Constructor Details
-
DefaultCachedTypeDataTest
public DefaultCachedTypeDataTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldReturnTypePk
public void shouldReturnTypePk()Test method forDefaultCachedTypeData.getTypePk(). -
shouldReturnBooleanTrueIfTypeIsAbstract
public void shouldReturnBooleanTrueIfTypeIsAbstract()Test method forDefaultCachedTypeData.isAbstract(). -
shouldReturnBooleanFalseIfTypeIsNotAbstract
public void shouldReturnBooleanFalseIfTypeIsNotAbstract()Test method forDefaultCachedTypeData.isAbstract(). -
shouldReturnLocalizedTableNameForType
public void shouldReturnLocalizedTableNameForType()Test method forDefaultCachedTypeData.getLocalizedTableName(). -
shouldReturnUnlocalizedTableNameForType
public void shouldReturnUnlocalizedTableNameForType()Test method forDefaultCachedTypeData.getUnlocalizedTableName(). -
shouldReturnStandardTableNameForType
public void shouldReturnStandardTableNameForType()Test method forDefaultCachedTypeData.getStandardTableName(). -
shouldReturnPropertyTableName
public void shouldReturnPropertyTableName()Test method forDefaultCachedTypeData.getPropertyTableName(). -
shouldReturnPropertyTypeForGivenName
public void shouldReturnPropertyTypeForGivenName()Test method forDefaultCachedTypeData.getPropertyTypeForName(java.lang.String). -
shouldReturnLocalizedPropertyColumnNameForGivenFieldName
public void shouldReturnLocalizedPropertyColumnNameForGivenFieldName()Test method forDefaultCachedTypeData.getLocalizedPropertyColumnName(java.lang.String). -
shouldThrowIllegalStateExceptionWhenPropertyColumnInfoForLocalizedPropertyIsNull
public void shouldThrowIllegalStateExceptionWhenPropertyColumnInfoForLocalizedPropertyIsNull()Test method forDefaultCachedTypeData.getLocalizedPropertyColumnName(java.lang.String). -
shouldReturnUnlocalizedPropertyColumnNameForGivenFieldName
public void shouldReturnUnlocalizedPropertyColumnNameForGivenFieldName()Test method forDefaultCachedTypeData.getUnlocalizedPropertyColumnName(java.lang.String). -
shouldThrowIllegalStateExceptionWhenPropertyColumnInfoForUnlocalizedPropertyIsNull
public void shouldThrowIllegalStateExceptionWhenPropertyColumnInfoForUnlocalizedPropertyIsNull()Test method forDefaultCachedTypeData.getUnlocalizedPropertyColumnName(java.lang.String). -
shouldReturnCorePropertyColumnNameForFieldNameWhenPropertyColumnInfoIsNotNull
public void shouldReturnCorePropertyColumnNameForFieldNameWhenPropertyColumnInfoIsNotNull()Test method forDefaultCachedTypeData.getCorePropertyColumnName(java.lang.String). -
shouldReturnFieldNameInsteadOfCorePropertyColumnNameForFieldNameWhenPropertyColumnInfoNull
public void shouldReturnFieldNameInsteadOfCorePropertyColumnNameForFieldNameWhenPropertyColumnInfoNull()Test method forDefaultCachedTypeData.getCorePropertyColumnName(java.lang.String).
-