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.FrameworkMethod
Defines an extension to the standard JUnitFrameworkMethod
information 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 boolean
equals(Object obj)
<T extends Annotation>
TgetAnnotation(Class<T> annotationType)
Annotation[]
getAnnotations()
FailureExpected
getFailureExpectedAnnotation()
Method
getMethod()
String
getName()
int
hashCode()
Object
invokeExplosively(Object target, Object... params)
boolean
isShadowedBy(org.junit.runners.model.FrameworkMethod other)
void
validatePublicVoid(boolean isStatic, List<Throwable> errors)
void
validatePublicVoidNoArg(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:
getMethod
in classorg.junit.runners.model.FrameworkMethod
-
invokeExplosively
public Object invokeExplosively(Object target, Object... params) throws Throwable
- Overrides:
invokeExplosively
in classorg.junit.runners.model.FrameworkMethod
- Throws:
Throwable
-
getName
public String getName()
- Overrides:
getName
in classorg.junit.runners.model.FrameworkMethod
-
validatePublicVoidNoArg
public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors)
- Overrides:
validatePublicVoidNoArg
in classorg.junit.runners.model.FrameworkMethod
-
validatePublicVoid
public void validatePublicVoid(boolean isStatic, List<Throwable> errors)
- Overrides:
validatePublicVoid
in classorg.junit.runners.model.FrameworkMethod
-
isShadowedBy
public boolean isShadowedBy(org.junit.runners.model.FrameworkMethod other)
- Overrides:
isShadowedBy
in classorg.junit.runners.model.FrameworkMethod
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classorg.junit.runners.model.FrameworkMethod
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.junit.runners.model.FrameworkMethod
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfaceorg.junit.runners.model.Annotatable
- Overrides:
getAnnotations
in classorg.junit.runners.model.FrameworkMethod
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interfaceorg.junit.runners.model.Annotatable
- Overrides:
getAnnotation
in classorg.junit.runners.model.FrameworkMethod
-
-