org.seasar.framework.unit
クラス S2TestClassMethodsRunner
java.lang.Object
org.junit.runner.Runner
org.seasar.framework.unit.S2TestClassMethodsRunner
- すべての実装されたインタフェース:
- Filterable, Sortable
public class S2TestClassMethodsRunner
- extends Runner
- implements Filterable, Sortable
- 作成者:
- taedium
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
provider
protected static S2TestClassMethodsRunner.Provider provider
testMethods
protected final List<Method> testMethods
testClass
protected final Class<?> testClass
S2TestClassMethodsRunner
public S2TestClassMethodsRunner(Class<?> clazz)
dispose
public static void dispose()
run
public void run(RunNotifier notifier)
- 定義:
- クラス
Runner
内の run
runBefores
protected void runBefores(RunNotifier notifier)
throws org.seasar.framework.unit.S2TestClassMethodsRunner.FailedBefore
- 例外:
org.seasar.framework.unit.S2TestClassMethodsRunner.FailedBefore
runAfters
protected void runAfters(RunNotifier notifier)
addFailure
protected void addFailure(Throwable targetException,
RunNotifier notifier)
getTestMethods
protected List<Method> getTestMethods()
getBeforeClassMethods
protected List<Method> getBeforeClassMethods()
getAfterClassMethods
protected List<Method> getAfterClassMethods()
getDescription
public Description getDescription()
- 定義:
- クラス
Runner
内の getDescription
getName
protected String getName()
createTest
protected Object createTest()
throws Exception
- 例外:
Exception
invokeTestMethod
protected void invokeTestMethod(Method method,
RunNotifier notifier)
createMethodRunner
protected S2TestMethodRunner createMethodRunner(Object test,
Method method,
RunNotifier notifier)
testName
protected String testName(Method method)
methodDescription
protected Description methodDescription(Method method)
filter
public void filter(Filter filter)
throws NoTestsRemainException
- 定義:
- インタフェース
Filterable
内の filter
- 例外:
NoTestsRemainException
sort
public void sort(Sorter sorter)
- 定義:
- インタフェース
Sortable
内の sort
getTestClass
protected Class<?> getTestClass()
getProvider
protected static S2TestClassMethodsRunner.Provider getProvider()
setProvider
protected static void setProvider(S2TestClassMethodsRunner.Provider p)
Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.