org.seasar.framework.unit.impl
クラス ConventionTestIntrospector
java.lang.Object
org.seasar.framework.unit.impl.AnnotationTestIntrospector
org.seasar.framework.unit.impl.ConventionTestIntrospector
- すべての実装されたインタフェース:
- S2TestIntrospector
public class ConventionTestIntrospector
- extends AnnotationTestIntrospector
- 作成者:
- taedium
クラス org.seasar.framework.unit.impl.AnnotationTestIntrospector から継承されたメソッド |
createExpression, createMock, createMock, expectedException, getTimeout, getTxBehaviorType, isFulfilled, isFulfilled, isIgnored, needsTransaction, needsWarmDeploy, requiresTransactionCommitment, setAfterAnnotation, setAfterClassAnnotation, setBeforeAnnotation, setBeforeClassAnnotation, setEnableIgnore, setEnablePrerequisite |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nonTestAnnotations
protected final Set<Class<? extends Annotation>> nonTestAnnotations
nonTestMethodNamePatterns
protected final Set<Pattern> nonTestMethodNamePatterns
beforeClassMethodName
protected String beforeClassMethodName
afterClassMethodName
protected String afterClassMethodName
beforeMethodName
protected String beforeMethodName
afterMethodName
protected String afterMethodName
recordMethodName
protected String recordMethodName
ConventionTestIntrospector
public ConventionTestIntrospector()
init
public void init()
setBeforeClassMethodName
public void setBeforeClassMethodName(String beforeClassMethodName)
setAfterClassMethodName
public void setAfterClassMethodName(String afterClassMethodName)
setBeforeMethodName
public void setBeforeMethodName(String beforeMethodName)
setAfterMethodName
public void setAfterMethodName(String afterMethodName)
setRecordMethodName
public void setRecordMethodName(String recordMethodName)
addNonTestAnnotation
public void addNonTestAnnotation(Class<? extends Annotation> annotation)
addNonTestMethodNamePattern
public void addNonTestMethodNamePattern(String pattern)
getBeforeClassMethods
public List<Method> getBeforeClassMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getBeforeClassMethods
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getBeforeClassMethods
getAfterClassMethods
public List<Method> getAfterClassMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getAfterClassMethods
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getAfterClassMethods
getBeforeMethods
public List<Method> getBeforeMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getBeforeMethods
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getBeforeMethods
getAfterMethods
public List<Method> getAfterMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getAfterMethods
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getAfterMethods
getEachBeforeMethod
public Method getEachBeforeMethod(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getEachBeforeMethod
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getEachBeforeMethod
getEachAfterMethod
public Method getEachAfterMethod(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getEachAfterMethod
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getEachAfterMethod
getEachRecordMethod
public Method getEachRecordMethod(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getEachRecordMethod
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getEachRecordMethod
getTestMethods
public List<Method> getTestMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getTestMethods
- オーバーライド:
- クラス
AnnotationTestIntrospector
内の getTestMethods
getSuperClasses
protected List<Class<?>> getSuperClasses(Class<?> clazz)
isShadowed
protected boolean isShadowed(Method method,
List<Method> results)
isShadowed
protected boolean isShadowed(Method current,
Method previous)
isTestMethod
protected boolean isTestMethod(Method method)
hasNonTestAnnotation
protected boolean hasNonTestAnnotation(Method method)
hasNonTestMethodName
protected boolean hasNonTestMethodName(Method method)
hasValidStaticSignature
protected boolean hasValidStaticSignature(Method method)
hasValidNonStaticSignature
protected boolean hasValidNonStaticSignature(Method method)
hasValidSignature
protected boolean hasValidSignature(Method method)
getMethod
protected Method getMethod(Class<?> clazz,
String methodName)
Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.