|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.runners.model.Statement
org.specrunner.junit.SpecRunnerStatement
public class SpecRunnerStatement
Generic statement for SpecRunner Junit extensions.
| Constructor Summary | |
|---|---|
SpecRunnerStatement(org.junit.runners.model.TestClass test,
Object instance,
List<INodeListener> listeners)
The testing object. |
|
| Method Summary | |
|---|---|
protected IConfiguration |
configure(IConfiguration cfg)
Set configuration. |
void |
evaluate()
|
protected File |
getInput(Class<?> clazz)
Get input file name. |
protected ExpectedMessages |
getMessages()
Get expected messages if any. |
protected File |
getOutput(Class<?> clazz)
Get output file name. |
static String |
getOutputName(String name)
Get the output name adjusted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpecRunnerStatement(org.junit.runners.model.TestClass test,
Object instance,
List<INodeListener> listeners)
test - The test meta-data.instance - The test instance.listeners - The listeners to activate.| Method Detail |
|---|
protected File getInput(Class<?> clazz)
clazz - The class.
protected File getOutput(Class<?> clazz)
clazz - The class.
public void evaluate()
throws Throwable
evaluate in class org.junit.runners.model.StatementThrowableprotected ExpectedMessages getMessages()
protected IConfiguration configure(IConfiguration cfg)
throws Throwable
cfg - The configuration.
Throwable - On configuration errors.public static String getOutputName(String name)
name - The original name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||