Package org.hibernate.testing.junit4
Class ExtendedFrameworkMethod
- java.lang.Object
-
- org.junit.runners.model.FrameworkMember<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.model.FrameworkMethod
-
- org.hibernate.testing.junit4.ExtendedFrameworkMethod
-
- All Implemented Interfaces:
org.junit.runners.model.Annotatable
public class ExtendedFrameworkMethod extends org.junit.runners.model.FrameworkMethodDefines an extension to the standard JUnitFrameworkMethodinformation about a test method.
-
-
Constructor Summary
Constructors Constructor Description ExtendedFrameworkMethod(org.junit.runners.model.FrameworkMethod delegatee, org.junit.Ignore virtualIgnore, FailureExpected failureExpectedAnnotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)<T extends Annotation>
TgetAnnotation(Class<T> annotationType)Annotation[]getAnnotations()FailureExpectedgetFailureExpectedAnnotation()MethodgetMethod()StringgetName()inthashCode()ObjectinvokeExplosively(Object target, Object... params)booleanisShadowedBy(org.junit.runners.model.FrameworkMethod other)voidvalidatePublicVoid(boolean isStatic, List<Throwable> errors)voidvalidatePublicVoidNoArg(boolean isStatic, List<Throwable> errors)
-
-
-
Constructor Detail
-
ExtendedFrameworkMethod
public ExtendedFrameworkMethod(org.junit.runners.model.FrameworkMethod delegatee, org.junit.Ignore virtualIgnore, FailureExpected failureExpectedAnnotation)
-
-
Method Detail
-
getFailureExpectedAnnotation
public FailureExpected getFailureExpectedAnnotation()
-
getMethod
public Method getMethod()
- Overrides:
getMethodin classorg.junit.runners.model.FrameworkMethod
-
invokeExplosively
public Object invokeExplosively(Object target, Object... params) throws Throwable
- Overrides:
invokeExplosivelyin classorg.junit.runners.model.FrameworkMethod- Throws:
Throwable
-
getName
public String getName()
- Overrides:
getNamein classorg.junit.runners.model.FrameworkMethod
-
validatePublicVoidNoArg
public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors)- Overrides:
validatePublicVoidNoArgin classorg.junit.runners.model.FrameworkMethod
-
validatePublicVoid
public void validatePublicVoid(boolean isStatic, List<Throwable> errors)- Overrides:
validatePublicVoidin classorg.junit.runners.model.FrameworkMethod
-
isShadowedBy
public boolean isShadowedBy(org.junit.runners.model.FrameworkMethod other)
- Overrides:
isShadowedByin classorg.junit.runners.model.FrameworkMethod
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classorg.junit.runners.model.FrameworkMethod
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.junit.runners.model.FrameworkMethod
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfaceorg.junit.runners.model.Annotatable- Overrides:
getAnnotationsin classorg.junit.runners.model.FrameworkMethod
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotationin interfaceorg.junit.runners.model.Annotatable- Overrides:
getAnnotationin classorg.junit.runners.model.FrameworkMethod
-
-