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