ScriptHandler

version(DExpectMain)
struct ScriptHandler {
ParseTree theScript;
Expect expect;
File[] outFiles;
string[string] variables;
}

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Alias This

variables

Members

Functions

handleScript
void handleScript(ParseTree script)

Handles the script, delegating the work down to it's helper functions

opIndexAssign
void opIndexAssign(string value, string name)

Overloads the index operators so when "timeout" is set, it is propogated to the Expect variable

run
bool run()

Runs this script. Returns true if the script succeeds

Meta