public class ExtendedFrameworkMethod
extends org.junit.runners.model.FrameworkMethod
FrameworkMethod
information about a test method.Constructor and Description |
---|
ExtendedFrameworkMethod(org.junit.runners.model.FrameworkMethod delegatee,
org.junit.Ignore virtualIgnore,
FailureExpected failureExpectedAnnotation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<T extends Annotation> |
getAnnotation(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) |
public ExtendedFrameworkMethod(org.junit.runners.model.FrameworkMethod delegatee, org.junit.Ignore virtualIgnore, FailureExpected failureExpectedAnnotation)
public FailureExpected getFailureExpectedAnnotation()
public Method getMethod()
getMethod
in class org.junit.runners.model.FrameworkMethod
public Object invokeExplosively(Object target, Object... params) throws Throwable
invokeExplosively
in class org.junit.runners.model.FrameworkMethod
Throwable
public String getName()
getName
in class org.junit.runners.model.FrameworkMethod
public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors)
validatePublicVoidNoArg
in class org.junit.runners.model.FrameworkMethod
public void validatePublicVoid(boolean isStatic, List<Throwable> errors)
validatePublicVoid
in class org.junit.runners.model.FrameworkMethod
public boolean isShadowedBy(org.junit.runners.model.FrameworkMethod other)
isShadowedBy
in class org.junit.runners.model.FrameworkMethod
public boolean equals(Object obj)
equals
in class org.junit.runners.model.FrameworkMethod
public int hashCode()
hashCode
in class org.junit.runners.model.FrameworkMethod
public Annotation[] getAnnotations()
getAnnotations
in interface org.junit.runners.model.Annotatable
getAnnotations
in class org.junit.runners.model.FrameworkMethod
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface org.junit.runners.model.Annotatable
getAnnotation
in class org.junit.runners.model.FrameworkMethod
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.