Package de.hybris.platform.test
Class SessionTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.test.SessionTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SessionTest extends HybrisJUnit4Test
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSessionTest.MySession
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SessionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcompareSessions(JaloSession jaloSession, JaloSession copy)voidsetUp()voidshouldStoreCollectionAsAttributeRegardlessOfType()voidtestAssertSameClassNoEquals()voidtestCartCurrencyChange()voidtestCartPreservation()voidtestCleanExpiredSessionWithDeletedUser()voidtestCustomSessionClass()voidtestDirectTransfer()voidtestEvictedCartObjectNotReturned()voidtestFixStaleCurrencyFromC2LManagerPerformance()voidtestJaloSessionPerformLogin()voidtestRestoreCart()voidtestSerialization()voidtestStaleCurrencyFromC2LManager()voidtestStaleCurrencyFromFlexibleSearch()voidtestStaleItemsInContext()voidtestTransactionDisabling()-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testStaleItemsInContext
public void testStaleItemsInContext()
-
testStaleCurrencyFromC2LManager
public void testStaleCurrencyFromC2LManager()
-
testFixStaleCurrencyFromC2LManagerPerformance
public void testFixStaleCurrencyFromC2LManagerPerformance()
-
testStaleCurrencyFromFlexibleSearch
public void testStaleCurrencyFromFlexibleSearch()
-
testEvictedCartObjectNotReturned
public void testEvictedCartObjectNotReturned()
-
testCleanExpiredSessionWithDeletedUser
public void testCleanExpiredSessionWithDeletedUser() throws ConsistencyCheckException, JaloSecurityException
-
testCustomSessionClass
public void testCustomSessionClass() throws JaloSecurityException- Throws:
JaloSecurityException
-
testCartCurrencyChange
public void testCartCurrencyChange() throws ConsistencyCheckException- Throws:
ConsistencyCheckException
-
testCartPreservation
public void testCartPreservation() throws ConsistencyCheckException, JaloInvalidParameterException, JaloSecurityException
-
testTransactionDisabling
public void testTransactionDisabling()
-
testRestoreCart
public void testRestoreCart()
-
testJaloSessionPerformLogin
public void testJaloSessionPerformLogin() throws ConsistencyCheckException- Throws:
ConsistencyCheckException
-
testDirectTransfer
public void testDirectTransfer() throws ConsistencyCheckException, JaloInvalidParameterException, JaloSecurityException
-
testSerialization
public void testSerialization() throws java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundExceptionjava.lang.InterruptedException
-
testAssertSameClassNoEquals
public void testAssertSameClassNoEquals()
-
shouldStoreCollectionAsAttributeRegardlessOfType
public void shouldStoreCollectionAsAttributeRegardlessOfType()
-
compareSessions
protected void compareSessions(JaloSession jaloSession, JaloSession copy)
-
-