Class 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 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 class org.junit.runners.model.FrameworkMethod
      • invokeExplosively

        public Object invokeExplosively​(Object target,
                                        Object... params)
                                 throws Throwable
        Overrides:
        invokeExplosively in class org.junit.runners.model.FrameworkMethod
        Throws:
        Throwable
      • getName

        public String getName()
        Overrides:
        getName in class org.junit.runners.model.FrameworkMethod
      • validatePublicVoidNoArg

        public void validatePublicVoidNoArg​(boolean isStatic,
                                            List<Throwable> errors)
        Overrides:
        validatePublicVoidNoArg in class org.junit.runners.model.FrameworkMethod
      • validatePublicVoid

        public void validatePublicVoid​(boolean isStatic,
                                       List<Throwable> errors)
        Overrides:
        validatePublicVoid in class org.junit.runners.model.FrameworkMethod
      • isShadowedBy

        public boolean isShadowedBy​(org.junit.runners.model.FrameworkMethod other)
        Overrides:
        isShadowedBy in class org.junit.runners.model.FrameworkMethod
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class org.junit.runners.model.FrameworkMethod
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.junit.runners.model.FrameworkMethod
      • getAnnotations

        public Annotation[] getAnnotations()
        Specified by:
        getAnnotations in interface org.junit.runners.model.Annotatable
        Overrides:
        getAnnotations in class org.junit.runners.model.FrameworkMethod
      • getAnnotation

        public <T extends Annotation> T getAnnotation​(Class<T> annotationType)
        Specified by:
        getAnnotation in interface org.junit.runners.model.Annotatable
        Overrides:
        getAnnotation in class org.junit.runners.model.FrameworkMethod