Package de.hybris.platform.mediaweb
Class WebAppMediaFilterWebRootTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.mediaweb.WebAppMediaFilterWebRootTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
WebAppMediaFilterWebRootTest
public WebAppMediaFilterWebRootTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
-
shouldReturnResponseForCustomEmptyWebRootWithNotAllowedCustomMediaWebRoot
public void shouldReturnResponseForCustomEmptyWebRootWithNotAllowedCustomMediaWebRoot() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnNullContentForCustomWebRootWithNotAllowedCustomMediaWebRoot
public void shouldReturnNullContentForCustomWebRootWithNotAllowedCustomMediaWebRoot() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomSlashStartingWebRootWithPrettyURLEnabled
public void shouldReturnResponseForCustomSlashStartingWebRootWithPrettyURLEnabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomWebRootWithPrettyURLEnabled
public void shouldReturnResponseForCustomWebRootWithPrettyURLEnabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomWebRootWithPrettyURLDisabled
public void shouldReturnResponseForCustomWebRootWithPrettyURLDisabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomEmptyWebRootWithPrettyURLEnabled
public void shouldReturnResponseForCustomEmptyWebRootWithPrettyURLEnabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomSlashStartingWebRootWithPrettyURLDisabled
public void shouldReturnResponseForCustomSlashStartingWebRootWithPrettyURLDisabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomFewSlashStartingWebRootWithPrettyURLDisabled
public void shouldReturnResponseForCustomFewSlashStartingWebRootWithPrettyURLDisabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-
shouldReturnResponseForCustomEmptyWebRootWithPrettyURLDisabled
public void shouldReturnResponseForCustomEmptyWebRootWithPrettyURLDisabled() throws IOException, javax.servlet.ServletException, NoSuchFieldException, IllegalAccessException- Throws:
IOExceptionjavax.servlet.ServletExceptionNoSuchFieldExceptionIllegalAccessException
-