Class PersistenceConfigurationLifecycleStrategyImplTest
java.lang.Object
de.hybris.platform.sap.productconfig.services.strategies.lifecycle.impl.PersistenceConfigurationLifecycleStrategyImplTest
Unit test for
PersistenceConfigurationLifecycleStrategyImpl-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
PersistenceConfigurationLifecycleStrategyImplTest
public PersistenceConfigurationLifecycleStrategyImplTest()
-
-
Method Details
-
setUp
- Throws:
ConfigurationEngineException
-
testPersistNewConfiguration
public void testPersistNewConfiguration() -
testConfigurationFromExternalSource
public void testConfigurationFromExternalSource() -
testConfigurationFromExternalSourceWithKey
public void testConfigurationFromExternalSourceWithKey() -
testConfigurationFromExternalSourceWithDate
public void testConfigurationFromExternalSourceWithDate() -
testCreateDefaultConfiguration
public void testCreateDefaultConfiguration() -
testUpdateConfiguration
- Throws:
ConfigurationEngineException
-
testUpdateConfigurationNoUpdate
- Throws:
ConfigurationEngineException
-
testRetrieveConfigurationFromVariant
- Throws:
ConfigurationEngineException
-
testRetrieveConfigurationModel
- Throws:
ConfigurationEngineException
-
testRetrieveConfigurationModelWithOptions
- Throws:
ConfigurationEngineException
-
testRetrieveExternalConfiguration
- Throws:
ConfigurationEngineException
-
testReleaseExpiredUserSession
public void testReleaseExpiredUserSession() -
testReleaseExpiredUserSessionNonAnonymous
public void testReleaseExpiredUserSessionNonAnonymous() -
testReleaseExpiredUserSessionLinkedToDocument
public void testReleaseExpiredUserSessionLinkedToDocument() -
testReleaseSession
public void testReleaseSession() -
testUpdateUserLinkToConfiguration_withProductLink
public void testUpdateUserLinkToConfiguration_withProductLink() -
testUpdateUserLinkToConfiguration_noProductLink
public void testUpdateUserLinkToConfiguration_noProductLink() -
testUpdateUserLinkToConfigurationSwitchToAnonymous
public void testUpdateUserLinkToConfigurationSwitchToAnonymous() -
testRemoveDuplicateProductLink_noDuplicatesFound
public void testRemoveDuplicateProductLink_noDuplicatesFound() -
testRemoveDuplicateProductLinkWithOrderLink
public void testRemoveDuplicateProductLinkWithOrderLink() -
testRemoveDuplicateProductLinkWithoutOrderLink
public void testRemoveDuplicateProductLinkWithoutOrderLink() -
testIsConfigForCurrentUserCorrectUserSignedIn
public void testIsConfigForCurrentUserCorrectUserSignedIn() -
testIsConfigForCurrentUserDifferentUserSignedIn
public void testIsConfigForCurrentUserDifferentUserSignedIn() -
testIsConfigForCurrentUserAdmin
public void testIsConfigForCurrentUserAdmin() -
testIsConfigForCurrentUserAnonymous
public void testIsConfigForCurrentUserAnonymous() -
testPersistSessionId
public void testPersistSessionId() -
testPersistSessionIdWrongAttributeType
public void testPersistSessionIdWrongAttributeType() -
testPersistSessionIdForUnboundSession
public void testPersistSessionIdForUnboundSession() -
testIsConfigKnownTrue
public void testIsConfigKnownTrue() -
testIsConfigKnownFalse
public void testIsConfigKnownFalse() -
testReleaseSessionSafely
public void testReleaseSessionSafely() -
testReleaseSessionSafelyException
public void testReleaseSessionSafelyException() -
testReleaseSessionSafelyExceptionHandled
public void testReleaseSessionSafelyExceptionHandled() -
testIsConfigForCurrentUserWithSameSession
public void testIsConfigForCurrentUserWithSameSession() -
testIsConfigForCurrentUserDifferentSession
public void testIsConfigForCurrentUserDifferentSession() -
testIsConfigForCurrentUserWithSameUser
public void testIsConfigForCurrentUserWithSameUser() -
testIsConfigForCurrentUserWithDifferentUser
public void testIsConfigForCurrentUserWithDifferentUser() -
testIsConfigForCurrentUserWithAnonUserButNotAllowedToRead
public void testIsConfigForCurrentUserWithAnonUserButNotAllowedToRead() -
testIsConfigForCurrentUserWithAnonUserAndAllowedToRead
public void testIsConfigForCurrentUserWithAnonUserAndAllowedToRead() -
testIsAnonymousConfigAndAllowedToReadWithAnonUserButNotAllowedToRead
public void testIsAnonymousConfigAndAllowedToReadWithAnonUserButNotAllowedToRead() -
testIsAnonymousConfigAndAllowedToReadWithAnonUserAndAllowedToRead
public void testIsAnonymousConfigAndAllowedToReadWithAnonUserAndAllowedToRead() -
testIsAnonymousConfigAndAllowedToReadWithAttributeNull
public void testIsAnonymousConfigAndAllowedToReadWithAttributeNull() -
testIsAnonymousConfigAndAllowedToReadWithAttributeNotBoolean
public void testIsAnonymousConfigAndAllowedToReadWithAttributeNotBoolean() -
testIsUpdateETagNeeded
public void testIsUpdateETagNeeded() -
testIsUpdateETagNeededDecreaseOfVersionCounter
public void testIsUpdateETagNeededDecreaseOfVersionCounter() -
testIsUpdateETagNeededDecreaseOfVersionCounterIgnoreQuotes
public void testIsUpdateETagNeededDecreaseOfVersionCounterIgnoreQuotes() -
testIsUpdateETagNeededDecreaseOfVersionCounterIgnoreQuotesAndWeakPrefix
public void testIsUpdateETagNeededDecreaseOfVersionCounterIgnoreQuotesAndWeakPrefix() -
testIsUpdateETagNeededNonNumericInputWillCheckForEquality
public void testIsUpdateETagNeededNonNumericInputWillCheckForEquality() -
testIsUpdateETagNeededForNullInput
public void testIsUpdateETagNeededForNullInput() -
testRetrieveConfigurationModelWithGroupId
- Throws:
ConfigurationEngineException
-