patterntesting.runtime.junit.internal
Class JUnitHelper
java.lang.Object
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 |
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 classname - e.g. "setUp"
- Returns:
- null if name was not found
Copyright © 2002–2014 PatternTesting Team. All rights reserved.