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 JUnit
FrameworkMethod
information about a test method.-
Constructor Summary
ConstructorsConstructorDescriptionExtendedFrameworkMethod
(org.junit.runners.model.FrameworkMethod delegatee, org.junit.Ignore virtualIgnore, FailureExpected failureExpectedAnnotation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
<T extends Annotation>
TgetAnnotation
(Class<T> annotationType) getName()
int
hashCode()
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) Methods inherited from class org.junit.runners.model.FrameworkMethod
getDeclaringClass, getModifiers, getReturnType, getType, producesType, toString, validateNoTypeParametersOnArgs
Methods inherited from class org.junit.runners.model.FrameworkMember
isPublic, isStatic
-
Constructor Details
-
ExtendedFrameworkMethod
public ExtendedFrameworkMethod(org.junit.runners.model.FrameworkMethod delegatee, org.junit.Ignore virtualIgnore, FailureExpected failureExpectedAnnotation)
-
-
Method Details
-
getFailureExpectedAnnotation
-
getMethod
- Overrides:
getMethod
in classorg.junit.runners.model.FrameworkMethod
-
invokeExplosively
- Overrides:
invokeExplosively
in classorg.junit.runners.model.FrameworkMethod
- Throws:
Throwable
-
getName
- Overrides:
getName
in classorg.junit.runners.model.FrameworkMethod
-
validatePublicVoidNoArg
- Overrides:
validatePublicVoidNoArg
in classorg.junit.runners.model.FrameworkMethod
-
validatePublicVoid
- 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
- Overrides:
equals
in classorg.junit.runners.model.FrameworkMethod
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.junit.runners.model.FrameworkMethod
-
getAnnotations
- Specified by:
getAnnotations
in interfaceorg.junit.runners.model.Annotatable
- Overrides:
getAnnotations
in classorg.junit.runners.model.FrameworkMethod
-
getAnnotation
- Specified by:
getAnnotation
in interfaceorg.junit.runners.model.Annotatable
- Overrides:
getAnnotation
in classorg.junit.runners.model.FrameworkMethod
-