public class HttestWrapper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
file |
| Constructor and Description |
|---|
HttestWrapper(java.lang.String file) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<java.lang.Object[]> |
collectHttestScript(java.util.Properties props)
Collect all files below a folder like $basedir/src/test/httest
|
Httest |
getHttest()
Gets httest instance.
|
ExecResult |
runScript(java.lang.String scriptFileName)
Convenience method for running httest script.
|
void |
setEnvironment(Environment environment)
Convenience method for setting httest environment.
|
void |
setUp() |
void |
setUp(java.util.Properties props) |
void |
setVerbose(boolean verbose)
Convenience method for setting httest verbose.
|
public Httest getHttest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void setUp(java.util.Properties props)
throws java.lang.Exception
java.lang.Exceptionpublic ExecResult runScript(java.lang.String scriptFileName) throws java.io.IOException, HttestFailedException
scriptFileName - httest script file namejava.io.IOExceptionHttestFailedExceptionpublic void setEnvironment(Environment environment)
environment - httest environmentpublic void setVerbose(boolean verbose)
verbose - httest verbosepublic static java.util.Collection<java.lang.Object[]> collectHttestScript(java.util.Properties props)
props - IN all parameters hold in properties