Package de.hybris.platform.spring.ctx
Class CoreScopeTenantIgnoreDocReaderTest
- 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
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
WebScopeTenantIgnoreDocReaderTest
public class CoreScopeTenantIgnoreDocReaderTest extends ScopeTenantIgnoreDocReaderTest
*core flag method null testCreationWhenCoreNoFlag()false testCreationWhenCoreFlagFalse()true -testCreationWhenCoreFlagTrue()Tests core lazy init flag
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcoreflagBeforeprotected static java.lang.StringUNDFINED-
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 CoreScopeTenantIgnoreDocReaderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoBefore()protected java.lang.Class<? extends ScopeTenantIgnoreDocReader>getDocReaderClass()voidtestCreation()voidtestCreationWhenCoreFlagFalse()global flag for core lazy-init is falsevoidtestCreationWhenCoreFlagTrue()global flag for core lazy-init is truevoidtestCreationWhenCoreNoFlag()global flag for core lazy-init is emptyvoidunprepare()-
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
-
-
-
-
Field Detail
-
UNDFINED
protected static final java.lang.String UNDFINED
- See Also:
- Constant Field Values
-
coreflagBefore
protected java.lang.String coreflagBefore
-
-
Method Detail
-
getDocReaderClass
protected java.lang.Class<? extends ScopeTenantIgnoreDocReader> getDocReaderClass()
- Overrides:
getDocReaderClassin classScopeTenantIgnoreDocReaderTest
-
doBefore
public void doBefore()
- Overrides:
doBeforein classScopeTenantIgnoreDocReaderTest
-
unprepare
public void unprepare()
-
testCreationWhenCoreNoFlag
public void testCreationWhenCoreNoFlag()
global flag for core lazy-init is empty
-
testCreationWhenCoreFlagTrue
public void testCreationWhenCoreFlagTrue()
global flag for core lazy-init is true
-
testCreationWhenCoreFlagFalse
public void testCreationWhenCoreFlagFalse()
global flag for core lazy-init is false
-
testCreation
public void testCreation()
- Overrides:
testCreationin classScopeTenantIgnoreDocReaderTest
-
-