Class SessionFilterSerializationCheckTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.web.SessionFilterSerializationCheckTest
-
- All Implemented Interfaces:
JaloSessionHolder
public class SessionFilterSerializationCheckTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SessionFilterSerializationCheckTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resetProperties()
void
serializableObjectsInSessionShouldNotLogError()
void
setTestProperties()
void
shouldCheckSerializationIfExtensionIsInCsvList()
void
shouldLogErrorForNotSerializableObjectInSession()
void
shouldNotCheckSerializationIfDisabled()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setTestProperties
public void setTestProperties() throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- Throws:
java.lang.IllegalAccessException
java.lang.NoSuchFieldException
-
resetProperties
public void resetProperties() throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException
- Throws:
java.lang.NoSuchFieldException
java.lang.IllegalAccessException
-
shouldLogErrorForNotSerializableObjectInSession
public void shouldLogErrorForNotSerializableObjectInSession() throws java.io.IOException, javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
-
serializableObjectsInSessionShouldNotLogError
public void serializableObjectsInSessionShouldNotLogError() throws java.io.IOException, javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
-
shouldNotCheckSerializationIfDisabled
public void shouldNotCheckSerializationIfDisabled() throws java.io.IOException, javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
-
shouldCheckSerializationIfExtensionIsInCsvList
public void shouldCheckSerializationIfExtensionIsInCsvList() throws java.io.IOException, javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
-
-