SimpleTestOptions
public class SimpleTestOptions
Method Summary | |
---|---|
void | addPartialMockCode(string code) Adds additional mock code. |
string | Accessor for default proxy host. |
string | Accessor for default proxy password. |
string | Accessor for default proxy username. |
static string | Accessor for the currently set mock base class. |
string | Accessor for additional partial mock code. |
static string | Accessor for the currently set stub base class. |
static string | Reads the SimpleTest version from the release file. |
static void | ignore(string class) Sets the name of a test case to ignore, usually because the class is an abstract case that should not be run. |
static boolean | isIgnored(string class) Test to see if a test case is in the ignore list. |
static void | setMockBaseClass(string mock_base) The base class name is settable here. |
static void | setStubBaseClass(string stub_base) The base class name is settable here. |
void | useProxy(string proxy, string username, string password) Sets proxy to use on all requests for when testing from behind a firewall. |
public void addPartialMockCode(string code)
Adds additional mock code.
public string getDefaultProxy()
Accessor for default proxy host.
public string getDefaultProxyPassword()
Accessor for default proxy password.
public string getDefaultProxyUsername()
Accessor for default proxy username.
public static string getMockBaseClass()
Accessor for the currently set mock base class.
public string getPartialMockCode()
Accessor for additional partial mock code.
public static string getStubBaseClass()
Accessor for the currently set stub base class.
public static string getVersion()
Reads the SimpleTest version from the release file.
public static void ignore(string class)
Sets the name of a test case to ignore, usually because the class is an abstract case that should not be run.
public static boolean isIgnored(string class)
Test to see if a test case is in the ignore list.
public static void setMockBaseClass(string mock_base)
The base class name is settable here. This is the class that a new mock will inherited from. To modify the generated mocks simply extend the SimpleMock class and set it's name with this method before any mocks are generated.
public static void setStubBaseClass(string stub_base)
The base class name is settable here. This is the class that a new stub will inherited from. To modify the generated stubs simply extend the SimpleStub class and set it's name with this method before any stubs are generated.
public void useProxy(string proxy, string username, string password)
Sets proxy to use on all requests for when testing from behind a firewall. Set host to false to disable. This will take effect if there are no other proxy settings.
Static global directives and options.