patterntesting.runtime.junit.internal
Class JUnitHelper

Package class diagram package JUnitHelper
java.lang.Object
  extended by patterntesting.runtime.junit.internal.JUnitHelper

public final class JUnitHelper
extends Object

This is a helper class which contains some static helper methods for JUnit.

Since:
1.0 (29.03.2010)
Author:
oliver

Method Summary
static org.junit.runners.model.FrameworkMethod getFrameworkMethod(Class<?> testClass, String name)
          Returns the given name as FrameworkMethod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFrameworkMethod

@MayReturnNull
public static org.junit.runners.model.FrameworkMethod getFrameworkMethod(Class<?> testClass,
                                                                                       String name)
Returns the given name as FrameworkMethod. This method is package visible because it use also by JUnit3Executor.

Parameters:
testClass - the JUnit3 test class
name - e.g. "setUp"
Returns:
null if name was not found


Copyright © 2002–2014 PatternTesting Team. All rights reserved.