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 voidresetProperties()voidserializableObjectsInSessionShouldNotLogError()voidsetTestProperties()voidshouldCheckSerializationIfExtensionIsInCsvList()voidshouldLogErrorForNotSerializableObjectInSession()voidshouldNotCheckSerializationIfDisabled()-
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.IllegalAccessExceptionjava.lang.NoSuchFieldException
-
resetProperties
public void resetProperties() throws java.lang.NoSuchFieldException, java.lang.IllegalAccessException- Throws:
java.lang.NoSuchFieldExceptionjava.lang.IllegalAccessException
-
shouldLogErrorForNotSerializableObjectInSession
public void shouldLogErrorForNotSerializableObjectInSession() throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
serializableObjectsInSessionShouldNotLogError
public void serializableObjectsInSessionShouldNotLogError() throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
shouldNotCheckSerializationIfDisabled
public void shouldNotCheckSerializationIfDisabled() throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
shouldCheckSerializationIfExtensionIsInCsvList
public void shouldCheckSerializationIfExtensionIsInCsvList() throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-