de.bechte.junit.runners.context.processing
Class MethodResolver

java.lang.Object
  extended by de.bechte.junit.runners.context.processing.MethodResolver
All Implemented Interfaces:
ChildResolver<org.junit.runners.model.FrameworkMethod>

public class MethodResolver
extends Object
implements ChildResolver<org.junit.runners.model.FrameworkMethod>

A MethodResolver is responsible for resolving all tests for the given TestClass. A test of a class A can be defined by declaring a public method. Example: public class A {


Constructor Summary
MethodResolver()
           
 
Method Summary
 List<org.junit.runners.model.FrameworkMethod> getChildren(org.junit.runners.model.TestClass testClass)
          Resolved the children of type T for the given TestClass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodResolver

public MethodResolver()
Method Detail

getChildren

public List<org.junit.runners.model.FrameworkMethod> getChildren(org.junit.runners.model.TestClass testClass)
Description copied from interface: ChildResolver
Resolved the children of type T for the given TestClass.

Specified by:
getChildren in interface ChildResolver<org.junit.runners.model.FrameworkMethod>
Parameters:
testClass - the TestClass to resolve the children for
Returns:
a List of children of type T


Copyright © 2015. All rights reserved.