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 class
SessionTest.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 void
compareSessions(JaloSession jaloSession, JaloSession copy)
void
setUp()
void
shouldStoreCollectionAsAttributeRegardlessOfType()
void
testAssertSameClassNoEquals()
void
testCartCurrencyChange()
void
testCartPreservation()
void
testCleanExpiredSessionWithDeletedUser()
void
testCustomSessionClass()
void
testDirectTransfer()
void
testEvictedCartObjectNotReturned()
void
testFixStaleCurrencyFromC2LManagerPerformance()
void
testJaloSessionPerformLogin()
void
testRestoreCart()
void
testSerialization()
void
testStaleCurrencyFromC2LManager()
void
testStaleCurrencyFromFlexibleSearch()
void
testStaleItemsInContext()
void
testTransactionDisabling()
-
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.IOException
java.lang.ClassNotFoundException
java.lang.InterruptedException
-
testAssertSameClassNoEquals
public void testAssertSameClassNoEquals()
-
shouldStoreCollectionAsAttributeRegardlessOfType
public void shouldStoreCollectionAsAttributeRegardlessOfType()
-
compareSessions
protected void compareSessions(JaloSession jaloSession, JaloSession copy)
-
-