org.seasar.framework.unit
クラス S2TestMethodRunner
java.lang.Object
org.seasar.framework.unit.S2TestMethodRunner
public class S2TestMethodRunner
- extends Object
- 作成者:
- taedium
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
S2JUNIT4_PATH
protected static final String S2JUNIT4_PATH
- 関連項目:
- 定数フィールド値
ENV_PATH
protected static final String ENV_PATH
- 関連項目:
- 定数フィールド値
ENV_VALUE
protected static final String ENV_VALUE
- 関連項目:
- 定数フィールド値
test
protected final Object test
testClass
protected final Class<?> testClass
method
protected final Method method
notifier
protected final org.junit.runner.notification.RunNotifier notifier
description
protected final org.junit.runner.Description description
introspector
protected final S2TestIntrospector introspector
originalClassLoader
protected ClassLoader originalClassLoader
unitClassLoader
protected org.seasar.framework.unit.UnitClassLoader unitClassLoader
testContext
protected InternalTestContext testContext
easyMockSupport
protected EasyMockSupport easyMockSupport
S2TestMethodRunner
public S2TestMethodRunner(Object test,
Method method,
org.junit.runner.notification.RunNotifier notifier,
org.junit.runner.Description description,
S2TestIntrospector introspector)
addFailure
protected void addFailure(Throwable e)
run
public void run()
isIgnored
protected boolean isIgnored()
isFulfilled
protected boolean isFulfilled()
runWithTimeout
protected void runWithTimeout(long timeout)
runMethod
protected void runMethod()
setUpTestContext
protected void setUpTestContext()
throws Throwable
- 例外:
Throwable
getOriginalClassLoader
protected ClassLoader getOriginalClassLoader()
tearDownTestContext
protected void tearDownTestContext()
throws Throwable
- 例外:
Throwable
runBefores
protected void runBefores()
throws org.seasar.framework.unit.S2TestMethodRunner.FailedBefore
- 例外:
org.seasar.framework.unit.S2TestMethodRunner.FailedBefore
runAfters
protected void runAfters()
runEachBefore
protected void runEachBefore()
throws org.seasar.framework.unit.S2TestMethodRunner.FailedBefore
- 例外:
org.seasar.framework.unit.S2TestMethodRunner.FailedBefore
runEachAfter
protected void runEachAfter()
initContainer
protected void initContainer()
bindFields
protected void bindFields()
throws Throwable
- 例外:
Throwable
bindField
protected void bindField(Field field)
bindField
protected void bindField(Field field,
Object object)
isAutoBindable
protected boolean isAutoBindable(Field field)
resolveComponentName
protected String resolveComponentName(Field filed)
normalizeName
protected String normalizeName(String name)
runTestMethod
protected void runTestMethod()
throws Throwable
- 例外:
Throwable
runEachRecord
protected boolean runEachRecord()
throws Throwable
- 例外:
Throwable
runTest
protected void runTest()
throws Throwable
- 例外:
Throwable
executeMethod
protected void executeMethod()
throws Throwable
- 例外:
Throwable
executeMethodBody
protected void executeMethodBody()
throws Throwable
- 例外:
Throwable
expectsException
protected boolean expectsException()
isUnexpected
protected boolean isUnexpected(Throwable exception)
expectedException
protected Class<? extends Throwable> expectedException()
invokeMethod
protected void invokeMethod(Method method)
throws Throwable
- 例外:
Throwable
unbindFields
protected void unbindFields()
needsWarmDeploy
protected boolean needsWarmDeploy()
Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.