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 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>
      T
      getAnnotation​(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)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 class org.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 class org.junit.runners.model.FrameworkMethod
        Throws:
        java.lang.Throwable
      • getName

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

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

        public void validatePublicVoid​(boolean isStatic,
                                       java.util.List<java.lang.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​(java.lang.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 java.lang.annotation.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 java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationType)
        Specified by:
        getAnnotation in interface org.junit.runners.model.Annotatable
        Overrides:
        getAnnotation in class org.junit.runners.model.FrameworkMethod