|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.junit.JUnitUtils
public final class JUnitUtils
JUnit useful functions.
| Field Summary | |
|---|---|
static String |
PATH
Output path. |
| Method Summary | |
|---|---|
static File |
getFile(Class<?> clazz)
Get the HTML file corresponding to the Java. |
static File |
getOutput(Class<?> clazz,
File input)
Get the output file. |
static String |
getOutputName(String name)
Get the output name adjusted. |
protected static IScenarioListener |
getScenarioCleaner(Class<?> javaClass)
Get scenario cleaner. |
static IScenarioListener[] |
getScenarioListener(Class<?> type)
Given a class return instances for scenario listeners. |
static List<org.junit.runners.model.FrameworkMethod> |
prepareScenarios(IRunnerScenario runner)
Prepare scenario runners. |
static List<Class<? extends IScenarioListener>> |
scanAnnotation(Class<?> type)
Get full list of scenario listeners in annotations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PATH
| Method Detail |
|---|
public static File getFile(Class<?> clazz)
clazz - The test class.
public static File getOutput(Class<?> clazz,
File input)
clazz - The test class.input - The input file.
public static String getOutputName(String name)
name - The original name.
public static IScenarioListener[] getScenarioListener(Class<?> type)
type - The base object type.
public static List<Class<? extends IScenarioListener>> scanAnnotation(Class<?> type)
type - A type.
public static List<org.junit.runners.model.FrameworkMethod> prepareScenarios(IRunnerScenario runner)
runner - Runners.
protected static IScenarioListener getScenarioCleaner(Class<?> javaClass)
javaClass - Test class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||