Uses of Class
org.junit.runners.model.FrameworkMethod

Packages that use FrameworkMethod
org.junit.experimental.categories   
org.junit.experimental.theories   
org.junit.rules   
org.junit.runners Provides standard Runner implementations. 
org.junit.runners.model   
org.junit.runners.parameterized   
org.junit.validator   
 

Uses of FrameworkMethod in org.junit.experimental.categories
 

Methods in org.junit.experimental.categories with parameters of type FrameworkMethod
 List<Exception> CategoryValidator.validateAnnotatedMethod(FrameworkMethod method)
          Adds to errors a throwable for each problem detected.
 

Uses of FrameworkMethod in org.junit.experimental.theories
 

Methods in org.junit.experimental.theories that return types with arguments of type FrameworkMethod
protected  List<FrameworkMethod> Theories.computeTestMethods()
           
 

Methods in org.junit.experimental.theories with parameters of type FrameworkMethod
 Statement Theories.methodBlock(FrameworkMethod method)
           
 

Constructors in org.junit.experimental.theories with parameters of type FrameworkMethod
Theories.TheoryAnchor(FrameworkMethod testMethod, TestClass testClass)
           
 

Uses of FrameworkMethod in org.junit.rules
 

Methods in org.junit.rules with parameters of type FrameworkMethod
 Statement MethodRule.apply(Statement base, FrameworkMethod method, Object target)
          Modifies the method-running Statement to implement an additional test-running rule.
 Statement TestWatchman.apply(Statement base, FrameworkMethod method, Object target)
          Deprecated.  
 void TestWatchman.failed(Throwable e, FrameworkMethod method)
          Deprecated. Invoked when a test method fails
 void TestWatchman.finished(FrameworkMethod method)
          Deprecated. Invoked when a test method finishes (whether passing or failing)
 void TestWatchman.starting(FrameworkMethod method)
          Deprecated. Invoked when a test method is about to start
 void TestWatchman.succeeded(FrameworkMethod method)
          Deprecated. Invoked when a test method succeeds
 

Uses of FrameworkMethod in org.junit.runners
 

Methods in org.junit.runners that return types with arguments of type FrameworkMethod
protected  List<FrameworkMethod> BlockJUnit4ClassRunner.computeTestMethods()
          Returns the methods that run tests.
protected  List<FrameworkMethod> BlockJUnit4ClassRunner.getChildren()
           
 

Methods in org.junit.runners with parameters of type FrameworkMethod
protected  Object BlockJUnit4ClassRunner.createTest(FrameworkMethod method)
          Returns a new fixture to run a particular test method against.
protected  Description BlockJUnit4ClassRunner.describeChild(FrameworkMethod method)
           
protected  boolean BlockJUnit4ClassRunner.isIgnored(FrameworkMethod child)
          Evaluates whether FrameworkMethods are ignored based on the Ignore annotation.
protected  Statement BlockJUnit4ClassRunner.methodBlock(FrameworkMethod method)
          Returns a Statement that, when executed, either returns normally if method passes, or throws an exception if method fails.
protected  Statement BlockJUnit4ClassRunner.methodInvoker(FrameworkMethod method, Object test)
          Returns a Statement that invokes method on test
protected  Statement BlockJUnit4ClassRunner.possiblyExpectingExceptions(FrameworkMethod method, Object test, Statement next)
          Returns a Statement: if method's @Test annotation has the Test.expected() attribute, return normally only if next throws an exception of the correct type, and throw an exception otherwise.
protected  void BlockJUnit4ClassRunner.runChild(FrameworkMethod method, RunNotifier notifier)
           
protected  String BlockJUnit4ClassRunner.testName(FrameworkMethod method)
          Returns the name that describes method for Descriptions.
protected  Statement BlockJUnit4ClassRunner.withAfters(FrameworkMethod method, Object target, Statement statement)
          Returns a Statement: run all non-overridden @After methods on this class and superclasses before running next; all After methods are always executed: exceptions thrown by previous steps are combined, if necessary, with exceptions from After methods into a MultipleFailureException.
protected  Statement BlockJUnit4ClassRunner.withBefores(FrameworkMethod method, Object target, Statement statement)
          Returns a Statement: run all non-overridden @Before methods on this class and superclasses before running next; if any throws an Exception, stop execution and pass the exception on.
protected  Statement BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod method, Object test, Statement next)
          Deprecated.  
 

Uses of FrameworkMethod in org.junit.runners.model
 

Methods in org.junit.runners.model that return types with arguments of type FrameworkMethod
 List<FrameworkMethod> TestClass.getAnnotatedMethods()
          Returns, efficiently, all the non-overridden methods in this class and its superclasses that are annotated}.
 List<FrameworkMethod> TestClass.getAnnotatedMethods(Class<? extends Annotation> annotationClass)
          Returns, efficiently, all the non-overridden methods in this class and its superclasses that are annotated with annotationClass.
 

Methods in org.junit.runners.model with parameters of type FrameworkMethod
 boolean FrameworkMethod.isShadowedBy(FrameworkMethod other)
           
 

Method parameters in org.junit.runners.model with type arguments of type FrameworkMethod
protected  void TestClass.scanAnnotatedMembers(Map<Class<? extends Annotation>,List<FrameworkMethod>> methodsForAnnotations, Map<Class<? extends Annotation>,List<FrameworkField>> fieldsForAnnotations)
           
 

Uses of FrameworkMethod in org.junit.runners.parameterized
 

Methods in org.junit.runners.parameterized with parameters of type FrameworkMethod
protected  String BlockJUnit4ClassRunnerWithParameters.testName(FrameworkMethod method)
           
 

Uses of FrameworkMethod in org.junit.validator
 

Methods in org.junit.validator with parameters of type FrameworkMethod
 List<Exception> AnnotationValidator.validateAnnotatedMethod(FrameworkMethod method)
          Validates annotation on the given method.
 



Copyright © 2002–2021 JUnit. All rights reserved.