Package de.hybris.platform.core.cors.web
Class DefaultCorsConfigurationSourceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.core.cors.web.DefaultCorsConfigurationSourceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCorsConfigurationSourceTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultCorsConfigurationSourceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testAllowAllOrigins()
void
testAllowedMethods()
void
testAllowedMethodsWithDBItemPrecedence()
void
testAllowSpecificOrigin()
void
testAllowSpecificOriginWithDBItemPrecedence()
void
testCachePerformance()
void
testDefaultConfiguration()
void
testEmptyConfiguration()
-
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
-
testAllowAllOrigins
public void testAllowAllOrigins()
-
testAllowSpecificOrigin
public void testAllowSpecificOrigin()
-
testAllowSpecificOriginWithDBItemPrecedence
public void testAllowSpecificOriginWithDBItemPrecedence()
-
testAllowedMethods
public void testAllowedMethods()
-
testAllowedMethodsWithDBItemPrecedence
public void testAllowedMethodsWithDBItemPrecedence()
-
testEmptyConfiguration
public void testEmptyConfiguration()
-
testDefaultConfiguration
public void testDefaultConfiguration()
-
testCachePerformance
public void testCachePerformance()
-
-