Package de.hybris.platform.spring.ctx
Class WebScopeTenantIgnoreDocReaderTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.spring.ctx.ScopeTenantIgnoreDocReaderTest
-
- de.hybris.platform.spring.ctx.CoreScopeTenantIgnoreDocReaderTest
-
- de.hybris.platform.spring.ctx.WebScopeTenantIgnoreDocReaderTest
-
- All Implemented Interfaces:
JaloSessionHolder
public class WebScopeTenantIgnoreDocReaderTest extends CoreScopeTenantIgnoreDocReaderTest
core flag web flag method null null testCreationWhenCoreNoFlagWebNoFlag()
false null testCreationWhenCoreFalseWebNoFlag()
true null testCreationWhenCoreTrueWebNoFlag()
null false testCreationWhenCoreNoFlagWebFalse()
false false testCreationWhenCoreFalseWebFalse()
true false testCreationWhenCoreTrueWebFalse()
null true testCreationWhenCoreNoFlagWebTrue()
false true testCreationWhenCoreFalseWebTrue()
true true testCreationWhenCoreTrueWebTrue()
tests web and core lazy init flag
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
webflagBefore
-
Fields inherited from class de.hybris.platform.spring.ctx.CoreScopeTenantIgnoreDocReaderTest
coreflagBefore, UNDFINED
-
Fields inherited from class de.hybris.platform.spring.ctx.ScopeTenantIgnoreDocReaderTest
LAZY_INIT_DEFAULT_BEAN, LAZY_INIT_FALSE_BEAN, LAZY_INIT_TRUE_BEAN
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description WebScopeTenantIgnoreDocReaderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doBefore()
protected java.lang.Class<? extends ScopeTenantIgnoreDocReader>
getDocReaderClass()
void
testCreation()
void
testCreationWhenCoreFalseWebFalse()
void
testCreationWhenCoreFalseWebNoFlag()
void
testCreationWhenCoreFalseWebTrue()
void
testCreationWhenCoreFlagFalse()
global flag for core lazy-init is falsevoid
testCreationWhenCoreFlagTrue()
global flag for core lazy-init is truevoid
testCreationWhenCoreNoFlag()
global flag for core lazy-init is emptyvoid
testCreationWhenCoreNoFlagWebFalse()
void
testCreationWhenCoreNoFlagWebNoFlag()
void
testCreationWhenCoreNoFlagWebTrue()
void
testCreationWhenCoreTrueWebFalse()
void
testCreationWhenCoreTrueWebNoFlag()
void
testCreationWhenCoreTrueWebTrue()
void
unprepare()
-
Methods inherited from class de.hybris.platform.spring.ctx.ScopeTenantIgnoreDocReaderTest
assertBeanCreated, assertBeanNotCreated, doAfter, prepare
-
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
-
getDocReaderClass
protected java.lang.Class<? extends ScopeTenantIgnoreDocReader> getDocReaderClass()
- Overrides:
getDocReaderClass
in classCoreScopeTenantIgnoreDocReaderTest
-
doBefore
public void doBefore()
- Overrides:
doBefore
in classCoreScopeTenantIgnoreDocReaderTest
-
unprepare
public void unprepare()
- Overrides:
unprepare
in classCoreScopeTenantIgnoreDocReaderTest
-
testCreationWhenCoreNoFlagWebNoFlag
public void testCreationWhenCoreNoFlagWebNoFlag()
-
testCreationWhenCoreTrueWebNoFlag
public void testCreationWhenCoreTrueWebNoFlag()
-
testCreationWhenCoreFalseWebNoFlag
public void testCreationWhenCoreFalseWebNoFlag()
-
testCreationWhenCoreNoFlagWebFalse
public void testCreationWhenCoreNoFlagWebFalse()
-
testCreationWhenCoreFalseWebFalse
public void testCreationWhenCoreFalseWebFalse()
-
testCreationWhenCoreTrueWebFalse
public void testCreationWhenCoreTrueWebFalse()
-
testCreationWhenCoreNoFlagWebTrue
public void testCreationWhenCoreNoFlagWebTrue()
-
testCreationWhenCoreFalseWebTrue
public void testCreationWhenCoreFalseWebTrue()
-
testCreationWhenCoreTrueWebTrue
public void testCreationWhenCoreTrueWebTrue()
-
testCreation
public void testCreation()
- Overrides:
testCreation
in classCoreScopeTenantIgnoreDocReaderTest
-
testCreationWhenCoreFlagFalse
public void testCreationWhenCoreFlagFalse()
Description copied from class:CoreScopeTenantIgnoreDocReaderTest
global flag for core lazy-init is false- Overrides:
testCreationWhenCoreFlagFalse
in classCoreScopeTenantIgnoreDocReaderTest
-
testCreationWhenCoreFlagTrue
public void testCreationWhenCoreFlagTrue()
Description copied from class:CoreScopeTenantIgnoreDocReaderTest
global flag for core lazy-init is true- Overrides:
testCreationWhenCoreFlagTrue
in classCoreScopeTenantIgnoreDocReaderTest
-
testCreationWhenCoreNoFlag
public void testCreationWhenCoreNoFlag()
Description copied from class:CoreScopeTenantIgnoreDocReaderTest
global flag for core lazy-init is empty- Overrides:
testCreationWhenCoreNoFlag
in classCoreScopeTenantIgnoreDocReaderTest
-
-