org.seasar.framework.unit.impl
クラス AnnotationTestIntrospector
java.lang.Object
org.seasar.framework.unit.impl.AnnotationTestIntrospector
- すべての実装されたインタフェース:
- S2TestIntrospector
- 直系の既知のサブクラス:
- ConventionTestIntrospector
public class AnnotationTestIntrospector
- extends Object
- implements S2TestIntrospector
- 作成者:
- taedium
メソッドの概要 |
protected Expression |
createExpression(String source,
Method method,
Object test)
|
void |
createMock(Method method,
Object test,
InternalTestContext context)
|
protected void |
createMock(Mock mock,
Method method,
Object test,
InternalTestContext context)
|
Class<? extends Throwable> |
expectedException(Method method)
|
List<Method> |
getAfterClassMethods(Class<?> clazz)
|
List<Method> |
getAfterMethods(Class<?> clazz)
|
List<Method> |
getBeforeClassMethods(Class<?> clazz)
|
List<Method> |
getBeforeMethods(Class<?> clazz)
|
Method |
getEachAfterMethod(Class<?> clazz,
Method method)
|
Method |
getEachBeforeMethod(Class<?> clazz,
Method method)
|
Method |
getEachRecordMethod(Class<?> clazz,
Method method)
|
List<Method> |
getTestMethods(Class<?> clazz)
|
long |
getTimeout(Method method)
|
protected TxBehaviorType |
getTxBehaviorType(Class<?> clazz,
Method method)
|
boolean |
isFulfilled(Class<?> clazz,
Method method,
Object test)
|
protected boolean |
isFulfilled(Expression expression)
|
boolean |
isIgnored(Method method)
|
boolean |
needsTransaction(Class<?> clazz,
Method method)
|
boolean |
needsWarmDeploy(Class<?> clazz,
Method method)
|
boolean |
requiresTransactionCommitment(Class<?> clazz,
Method method)
|
void |
setAfterAnnotation(Class<? extends Annotation> afterAnnotation)
|
void |
setAfterClassAnnotation(Class<? extends Annotation> afterClassAnnotation)
|
void |
setBeforeAnnotation(Class<? extends Annotation> beforeAnnotation)
|
void |
setBeforeClassAnnotation(Class<? extends Annotation> beforeClassAnnotation)
|
void |
setEnableIgnore(boolean enableIgnore)
|
void |
setEnablePrerequisite(boolean enablePrerequisite)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beforeClassAnnotation
protected Class<? extends Annotation> beforeClassAnnotation
afterClassAnnotation
protected Class<? extends Annotation> afterClassAnnotation
beforeAnnotation
protected Class<? extends Annotation> beforeAnnotation
afterAnnotation
protected Class<? extends Annotation> afterAnnotation
enableIgnore
protected boolean enableIgnore
enablePrerequisite
protected boolean enablePrerequisite
AnnotationTestIntrospector
public AnnotationTestIntrospector()
setBeforeClassAnnotation
public void setBeforeClassAnnotation(Class<? extends Annotation> beforeClassAnnotation)
setAfterClassAnnotation
public void setAfterClassAnnotation(Class<? extends Annotation> afterClassAnnotation)
setBeforeAnnotation
public void setBeforeAnnotation(Class<? extends Annotation> beforeAnnotation)
setAfterAnnotation
public void setAfterAnnotation(Class<? extends Annotation> afterAnnotation)
setEnableIgnore
public void setEnableIgnore(boolean enableIgnore)
setEnablePrerequisite
public void setEnablePrerequisite(boolean enablePrerequisite)
getBeforeClassMethods
public List<Method> getBeforeClassMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getBeforeClassMethods
getAfterClassMethods
public List<Method> getAfterClassMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getAfterClassMethods
getBeforeMethods
public List<Method> getBeforeMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getBeforeMethods
getAfterMethods
public List<Method> getAfterMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getAfterMethods
getTestMethods
public List<Method> getTestMethods(Class<?> clazz)
- 定義:
- インタフェース
S2TestIntrospector
内の getTestMethods
getEachBeforeMethod
public Method getEachBeforeMethod(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getEachBeforeMethod
getEachAfterMethod
public Method getEachAfterMethod(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getEachAfterMethod
getEachRecordMethod
public Method getEachRecordMethod(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getEachRecordMethod
expectedException
public Class<? extends Throwable> expectedException(Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の expectedException
getTimeout
public long getTimeout(Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の getTimeout
isIgnored
public boolean isIgnored(Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の isIgnored
isFulfilled
public boolean isFulfilled(Class<?> clazz,
Method method,
Object test)
- 定義:
- インタフェース
S2TestIntrospector
内の isFulfilled
isFulfilled
protected boolean isFulfilled(Expression expression)
needsTransaction
public boolean needsTransaction(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の needsTransaction
requiresTransactionCommitment
public boolean requiresTransactionCommitment(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の requiresTransactionCommitment
getTxBehaviorType
protected TxBehaviorType getTxBehaviorType(Class<?> clazz,
Method method)
needsWarmDeploy
public boolean needsWarmDeploy(Class<?> clazz,
Method method)
- 定義:
- インタフェース
S2TestIntrospector
内の needsWarmDeploy
createMock
public void createMock(Method method,
Object test,
InternalTestContext context)
- 定義:
- インタフェース
S2TestIntrospector
内の createMock
createMock
protected void createMock(Mock mock,
Method method,
Object test,
InternalTestContext context)
createExpression
protected Expression createExpression(String source,
Method method,
Object test)
Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.