Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
F
G
H
I
O
P
R
S
T
V
W
A
addErrorOutput(String)
- Method in interface ch.sf.htt.
ITestListener
More standard error data is received.
addErrorOutput(String)
- Method in class ch.sf.htt.
TestReportListener
addStandardOutput(String)
- Method in interface ch.sf.htt.
ITestListener
More standard output data is received.
addStandardOutput(String)
- Method in class ch.sf.htt.
TestReportListener
addToPath(String)
- Method in class ch.sf.htt.
Environment
Add path directory to path environment variable.
addToPath(File)
- Method in class ch.sf.htt.
Environment
Add path directory file to path environment variable.
Architecture
- Enum in
ch.sf.htt
Detects the architecture of the system.
C
ch.sf.htt
- package ch.sf.htt
collectHttestScript(Properties)
- Static method in class ch.sf.htt.
HttestWrapper
Collect all files below a folder like $basedir/src/test/httest
E
Environment
- Class in
ch.sf.htt
Abstracts environment variables; names of environment variables are all stored lower case, e.g.
Environment(Map<String, String>)
- Constructor for class ch.sf.htt.
Environment
Constructor from explicit environment map, given in same format as returned by System.getenv().
Environment()
- Constructor for class ch.sf.htt.
Environment
Constructor, gets same environment as current process.
ExecResult
- Class in
ch.sf.htt
Container for results of Runtime.exec() calls, immutable class.
ExecResult(int, List<String>, List<String>)
- Constructor for class ch.sf.htt.
ExecResult
Constructor.
F
file
- Variable in class ch.sf.htt.
HttestWrapper
G
get()
- Static method in enum ch.sf.htt.
Architecture
Get the current cpu architecture.
get()
- Static method in enum ch.sf.htt.
OperatingSystem
Get the current operating system, i.e.
getBinariesDir()
- Method in class ch.sf.htt.
Httest
Return the directory that contains the httest binaries.
getEnvironmentMap()
- Method in class ch.sf.htt.
Environment
getEnvp()
- Method in class ch.sf.htt.
Environment
Get environment array in format needed for Runtime().exec(), i.e.
getErrors()
- Method in class ch.sf.htt.
Httest
Returns the errors in case there was one.
getExecResult()
- Method in exception ch.sf.htt.
HttestFailedException
getHtntlmFile()
- Method in class ch.sf.htt.
Httest
Gets file for htntlm executable.
getHtntlmFilename()
- Static method in class ch.sf.htt.
Httest
Gets file name of htntlm executable; "htntlm" on windows and "htntlm" on unix.
getHttest()
- Method in class ch.sf.htt.
HttestWrapper
Gets httest instance.
getHttestBinaryExecutableFile()
- Method in class ch.sf.htt.
Httest
Gets file for httest executable.
getHttestBinaryExecutableFilename()
- Static method in class ch.sf.htt.
Httest
Gets file name of httest executable; "httest.exe" on windows and "httest" on unix.
getHttestScript()
- Method in class ch.sf.htt.
HttestError
getLineNumber()
- Method in class ch.sf.htt.
HttestError
getMessage()
- Method in class ch.sf.htt.
HttestError
getOs()
- Static method in class ch.sf.htt.
Httest
Return the current operating system.
getReturnCode()
- Method in class ch.sf.htt.
ExecResult
Get the platform-specific return code of the external process.
getStandardErr()
- Method in class ch.sf.htt.
ExecResult
Get all text that was produced by the external process on standard error.
getStandardOut()
- Method in class ch.sf.htt.
ExecResult
Get all text that was produced by the external process on standard out.
getText()
- Method in class ch.sf.htt.
ProcessStreamHandler
Returns the text read from the input stream as a list of strings.
getValue(String)
- Method in class ch.sf.htt.
Environment
Return value for given key; converts key to lower case first.
H
hasCompleted()
- Method in class ch.sf.htt.
ProcessStreamHandler
Returns true if the stream has been read completely.
Httest
- Class in
ch.sf.htt
Wrapper for running httest.
HttestError
- Class in
ch.sf.htt
Contains information about a script error.
HttestError(File, int, String)
- Constructor for class ch.sf.htt.
HttestError
Creates an error wrapper.
HttestFailedException
- Exception in
ch.sf.htt
Exception thrown when httest fails by returning a return code != 0.
HttestFailedException(String, ExecResult)
- Constructor for exception ch.sf.htt.
HttestFailedException
Constructor from message and exec result.
HttestWrapper
- Class in
ch.sf.htt
Base test case for httest tests.
HttestWrapper(String)
- Constructor for class ch.sf.htt.
HttestWrapper
I
instance(Properties)
- Static method in class ch.sf.htt.
Httest
Creates a new Httest instance.
interrupt()
- Method in class ch.sf.htt.
ProcessStreamHandler
Interrupts reading of this stream.
interruptExecution()
- Method in class ch.sf.htt.
Httest
Interrupts the executed process.
isInterrupted()
- Method in class ch.sf.htt.
Httest
Allows to check if this httest execution was interrupted.
isVerbose()
- Method in class ch.sf.htt.
Httest
Get info if httest output is verbose, i.e.
ITestListener
- Interface in
ch.sf.htt
Interface for listeners for test status and output.
ITestListener.STATE
- Enum in
ch.sf.htt
List of possible test states.
O
OperatingSystem
- Enum in
ch.sf.htt
Enum that abstracts an operating system.
P
ProcessStreamHandler
- Class in
ch.sf.htt
Reads any input stream in a separate thread until the stream is finished.
ProcessStreamHandler(InputStream, String, ITestListener)
- Constructor for class ch.sf.htt.
ProcessStreamHandler
Creates an instance of a process stream handler.
ProcessStreamHandler(InputStream, String)
- Constructor for class ch.sf.htt.
ProcessStreamHandler
Creates an instance of a process stream handler.
R
run()
- Method in class ch.sf.htt.
ProcessStreamHandler
runScript(String, String...)
- Method in class ch.sf.htt.
Httest
Run the script with the given file name and path relative to the scriptDir.
runScript(ITestListener, String, String...)
- Method in class ch.sf.htt.
Httest
Run the script with the given file name and path relative to the scriptDir.
runScript(String)
- Method in class ch.sf.htt.
HttestWrapper
Convenience method for running httest script.
S
setEnvironment(Environment)
- Method in class ch.sf.htt.
Httest
Sets the environment to use when running httest.
setEnvironment(Environment)
- Method in class ch.sf.htt.
HttestWrapper
Convenience method for setting httest environment.
setState(ITestListener.STATE)
- Method in interface ch.sf.htt.
ITestListener
Updates the state of the test.
setState(ITestListener.STATE)
- Method in class ch.sf.htt.
TestReportListener
setUp()
- Method in class ch.sf.htt.
HttestWrapper
setUp(Properties)
- Method in class ch.sf.htt.
HttestWrapper
setVerbose(boolean)
- Method in class ch.sf.htt.
Httest
Set info if httest output is verbose, i.e.
setVerbose(boolean)
- Method in class ch.sf.htt.
HttestWrapper
Convenience method for setting httest verbose.
setVerbose(boolean)
- Method in class ch.sf.htt.
ProcessStreamHandler
Allows to enable or disable verbose output.
T
testBinary()
- Method in class ch.sf.htt.
Httest
Runs the httest binary with the argument "-V" and returns the version number.
TestReportListener
- Class in
ch.sf.htt
TestReportListener(String)
- Constructor for class ch.sf.htt.
TestReportListener
V
valueOf(String)
- Static method in enum ch.sf.htt.
Architecture
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum ch.sf.htt.
ITestListener.STATE
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum ch.sf.htt.
OperatingSystem
Returns the enum constant of this type with the specified name.
values()
- Static method in enum ch.sf.htt.
Architecture
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum ch.sf.htt.
ITestListener.STATE
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum ch.sf.htt.
OperatingSystem
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_PROPERTY
- Static variable in class ch.sf.htt.
Httest
Constant for name of system property which holds httest version.
W
wasSuccessful()
- Method in class ch.sf.htt.
ExecResult
Allows to check if the test completed successfully.
A
C
E
F
G
H
I
O
P
R
S
T
V
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes