org.seasar.framework.unit.impl
クラス InternalTestContextImpl
java.lang.Object
org.seasar.framework.unit.impl.InternalTestContextImpl
- すべての実装されたインタフェース:
- InternalTestContext, TestContext
public class InternalTestContextImpl
- extends Object
- implements InternalTestContext
- 作成者:
- taedium
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
protected final TigerAnnotationHandler handler
mockInterceptors
protected final List<org.seasar.framework.aop.interceptors.MockInterceptor> mockInterceptors
container
protected org.seasar.framework.container.S2Container container
servletContext
protected org.seasar.framework.mock.servlet.MockServletContext servletContext
servlet
protected Servlet servlet
servletConfig
protected org.seasar.framework.mock.servlet.MockServletConfig servletConfig
request
protected org.seasar.framework.mock.servlet.MockHttpServletRequest request
response
protected org.seasar.framework.mock.servlet.MockHttpServletResponse response
namingConvention
protected org.seasar.framework.convention.NamingConvention namingConvention
testClass
protected Class<?> testClass
testMethod
protected Method testMethod
autoIncluding
protected boolean autoIncluding
autoPreparing
protected boolean autoPreparing
containerInitialized
protected boolean containerInitialized
InternalTestContextImpl
public InternalTestContextImpl()
setContainer
public void setContainer(org.seasar.framework.container.S2Container container)
setServletContext
public void setServletContext(org.seasar.framework.mock.servlet.MockServletContext servletContext)
setAutoIncluding
public void setAutoIncluding(boolean autoIncluding)
- 定義:
- インタフェース
TestContext
内の setAutoIncluding
setAutoPreparing
public void setAutoPreparing(boolean autoPreparing)
- 定義:
- インタフェース
TestContext
内の setAutoPreparing
setTestClass
public void setTestClass(Class<?> testClass)
- 定義:
- インタフェース
InternalTestContext
内の setTestClass
setTestMethod
public void setTestMethod(Method testMethod)
- 定義:
- インタフェース
InternalTestContext
内の setTestMethod
init
public void init()
throws Throwable
- 例外:
Throwable
destroy
public void destroy()
initContainer
public void initContainer()
- 定義:
- インタフェース
InternalTestContext
内の initContainer
destroyContainer
public void destroyContainer()
- 定義:
- インタフェース
InternalTestContext
内の destroyContainer
include
public void include()
- 定義:
- インタフェース
InternalTestContext
内の include
include
public void include(String path)
- 定義:
- インタフェース
TestContext
内の include
register
public void register(Class<?> componentClass,
String componentName)
- 定義:
- インタフェース
TestContext
内の register
register
public void register(Class<?> componentClass)
- 定義:
- インタフェース
TestContext
内の register
register
public void register(org.seasar.framework.container.ComponentDef componentDef)
- 定義:
- インタフェース
TestContext
内の register
register
public void register(Object component,
String componentName)
- 定義:
- インタフェース
TestContext
内の register
register
public void register(Object component)
- 定義:
- インタフェース
TestContext
内の register
getTestClassPackagePath
public String getTestClassPackagePath()
- 定義:
- インタフェース
TestContext
内の getTestClassPackagePath
getTestClassShortName
public String getTestClassShortName()
- 定義:
- インタフェース
TestContext
内の getTestClassShortName
getTestMethodName
public String getTestMethodName()
- 定義:
- インタフェース
TestContext
内の getTestMethodName
prepareTestData
public void prepareTestData()
- 定義:
- インタフェース
InternalTestContext
内の prepareTestData
getExpected
public org.seasar.extension.dataset.DataSet getExpected()
- 定義:
- インタフェース
TestContext
内の getExpected
getMockInterceptor
public org.seasar.framework.aop.interceptors.MockInterceptor getMockInterceptor(int index)
- 定義:
- インタフェース
TestContext
内の getMockInterceptor
getContainer
public org.seasar.framework.container.S2Container getContainer()
- 定義:
- インタフェース
InternalTestContext
内の getContainer
getComponent
public <T> T getComponent(Class<? extends T> componentKey)
- 定義:
- インタフェース
TestContext
内の getComponent
getComponent
public Object getComponent(Object componentKey)
- 定義:
- インタフェース
TestContext
内の getComponent
hasComponentDef
public boolean hasComponentDef(Object componentKey)
- 定義:
- インタフェース
TestContext
内の hasComponentDef
getComponentDef
public org.seasar.framework.container.ComponentDef getComponentDef(int index)
- 定義:
- インタフェース
TestContext
内の getComponentDef
getComponentDef
public org.seasar.framework.container.ComponentDef getComponentDef(Object componentKey)
- 定義:
- インタフェース
TestContext
内の getComponentDef
addMockInterceptor
public void addMockInterceptor(org.seasar.framework.aop.interceptors.MockInterceptor mockInterceptor)
- 定義:
- インタフェース
InternalTestContext
内の addMockInterceptor
getMockInterceptorSize
public int getMockInterceptorSize()
- 定義:
- インタフェース
TestContext
内の getMockInterceptorSize
addAspecDef
public void addAspecDef(Object componentKey,
org.seasar.framework.container.AspectDef aspectDef)
- 定義:
- インタフェース
InternalTestContext
内の addAspecDef
assertContainerNotInitialized
protected void assertContainerNotInitialized()
Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.