Registry and test context. Includes a few global options that I'm slowly getting rid of.
Located in /simpletest.php (line 27)
Class | Description |
---|---|
![]() |
Accessor for the context of the current test run.
Reads the SimpleTest version from the release file.
Sets the name of a test case to ignore, usually because the class is an abstract case that should not be run. Once PHP4 is dropped this will disappear as a public method and "abstract" will rule.
Scans the now complete ignore list, and adds
all parent classes to the list. If a class is not a runnable test case, then it's parents wouldn't be either. This is syntactic sugar to cut down on ommissions of ignore()'s or missing abstract declarations. This cannot be done whilst loading classes wiithout forcing a particular order on the class declarations and the ignore() calls. It's just nice to have the ignore() calls at the top of the file before the actual declarations.
Test to see if a test case is in the ignore list. Quite obviously the ignore list should be a separate object and will be one day.
This method is internal to SimpleTest. Don't use it.
Puts the object to the global pool of 'preferred' objects which can be retrieved with SimpleTest :: preferred() method.
Instances of the same class are overwritten.
Retrieves 'preferred' objects from global pool. Class filter
can be applied in order to retrieve the object of the specific class
Accessor for default proxy host.
Accessor for default proxy password.
Accessor for default proxy username.
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.
Documentation generated on Sun, 04 May 2008 09:22:09 -0500 by phpDocumentor 1.3.0