Class DefaultODataEntryToIntegrationKeyValueGeneratorUnitTest
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.integrationkey.impl.DefaultODataEntryToIntegrationKeyValueGeneratorUnitTest
-
@UnitTest public class DefaultODataEntryToIntegrationKeyValueGeneratorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultODataEntryToIntegrationKeyValueGeneratorUnitTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
testCalculateIntegrationKeyForNullEntitySet
public void testCalculateIntegrationKeyForNullEntitySet()
-
testCalculateIntegrationKeyForNullODataEntry
public void testCalculateIntegrationKeyForNullODataEntry() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyForNullEntitySetEntityType
public void testCalculateIntegrationKeyForNullEntitySetEntityType()
-
testCalculateIntegrationKeyForEmptyAlias
public void testCalculateIntegrationKeyForEmptyAlias() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKey_whenEdmExceptionIsThrown
public void testCalculateIntegrationKey_whenEdmExceptionIsThrown() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKey_withException_toRole
public void testCalculateIntegrationKey_withException_toRole() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKey_withException_getNavigationPropertyName
public void testCalculateIntegrationKey_withException_getNavigationPropertyName() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKey_withException_getNavigationProperty
public void testCalculateIntegrationKey_withException_getNavigationProperty() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKey_withException_getTypeCode
public void testCalculateIntegrationKey_withException_getTypeCode() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testNoKeyDefinedOnType
public void testNoKeyDefinedOnType() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenGivenEntityWithSimpleKey
public void testCalculateIntegrationKeyWhenGivenEntityWithSimpleKey() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWithNoAliasDefined
public void testCalculateIntegrationKeyWithNoAliasDefined() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenGivenEntityWithSimpleKey_calendar
public void testCalculateIntegrationKeyWhenGivenEntityWithSimpleKey_calendar() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenGivenEntityWithSimpleKey_encodeProblem
public void testCalculateIntegrationKeyWhenGivenEntityWithSimpleKey_encodeProblem() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenGivenEntityWithTwoSimpleKeys
public void testCalculateIntegrationKeyWhenGivenEntityWithTwoSimpleKeys() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenGivenEntityWithTwoSimpleKeys_OneWithNullValue
public void testCalculateIntegrationKeyWhenGivenEntityWithTwoSimpleKeys_OneWithNullValue() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenGivenEntityWithSimpleKeyAndNavigationKey
public void testCalculateIntegrationKeyWhenGivenEntityWithSimpleKeyAndNavigationKey() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenMoreDefinedInSchemaThanPosted
public void testCalculateIntegrationKeyWhenMoreDefinedInSchemaThanPosted() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenItemElementsStructuredInDifferentOrderThanKeyElements
public void testCalculateIntegrationKeyWhenItemElementsStructuredInDifferentOrderThanKeyElements() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWithNestedNavigationPropertiesThatHaveSameAttributeNames
public void testCalculateIntegrationKeyWithNestedNavigationPropertiesThatHaveSameAttributeNames() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
testCalculateIntegrationKeyWhenAnEntityTypeHasTheSameValueMultipleTimes
public void testCalculateIntegrationKeyWhenAnEntityTypeHasTheSameValueMultipleTimes() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
-