Class NoTestsFrameworkMethod

java.lang.Object
org.junit.runners.model.FrameworkMember<org.junit.runners.model.FrameworkMethod>
org.junit.runners.model.FrameworkMethod
org.spincast.testing.junitrunner.NoTestsFrameworkMethod
All Implemented Interfaces:
org.junit.runners.model.Annotatable

public class NoTestsFrameworkMethod extends org.junit.runners.model.FrameworkMethod
Pseudo-test to be able to run some Spincast tests when no real @Test annotated test exist. JUnit required at least one test to run.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static Method
     
     

    Methods inherited from class org.junit.runners.model.FrameworkMethod

    equals, getAnnotation, getAnnotations, getDeclaringClass, getMethod, getModifiers, getReturnType, getType, hashCode, invokeExplosively, isShadowedBy, producesType, toString, validateNoTypeParametersOnArgs, validatePublicVoid, validatePublicVoidNoArg

    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 Details

    • NoTestsFrameworkMethod

      public NoTestsFrameworkMethod()
  • Method Details

    • getMethodToUse

      protected static Method getMethodToUse()
    • getName

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