Class Summary | |
---|---|
BadGroupTest | This is a failing group test for when a test suite hasn't loaded properly. |
CallCountExpectation | Confirms that the number of calls on a method is as expected. |
CallMap | Retrieves values and references by searching the parameter lists until a match is found. |
EqualExpectation | Test for equality. |
FieldExpectation | Test for an HTML widget value match. |
GroupTest | This is a composite test class for combining test cases and other RunnableTest classes into a group test. |
HtmlReporter | Sample minimal test displayer. |
HttpHeaderExpectation | Test for a specific HTTP header within a header block. |
HttpHeaderPatternExpectation | Test for a specific HTTP header within a header block. |
HttpUnwantedHeaderExpectation | Test for a specific HTTP header within a header block that should not be found. |
IdenticalExpectation | Test for identity. |
IsAExpectation | Tests either type or class name if it's an object. |
MaximumCallCountExpectation | Confirms that the number of calls on a method is as expected. |
MethodExistsExpectation | Tests for existance of a method in an object |
MinimumCallCountExpectation | Confirms that the number of calls on a method is as expected. |
Mock | Static methods only service class for code generation of mock objects. |
MultipleSelectionTag | Drop down widget. |
NestingCaseTag | Accumulator for incoming case tag. |
NestingGroupTag | Accumulator for incoming group tag. |
NestingMethodTag | Accumulator for incoming method tag. |
NestingXmlTag | Accumulator for incoming tag. |
NotAExpectation | Tests either type or class name if it's an object. |
NotEqualExpectation | Test for inequality. |
NotIdenticalExpectation | Test for non-identity. |
PHPUnit_TestCase | Adapter for PEAR PHPUnit test case to allow legacy PEAR test cases to be used with SimpleTest. |
ParallelRegex | Compounded regular expression. |
ParametersExpectation | Parameter comparison assertion. |
RemoteTestCase | Runs an XML formated test on a remote server. |
ShellTestCase | Test case for testing of command line scripts and utilities. |
SimpleAnchorTag | Link. |
SimpleAuthenticator | Manages security realms. |
SimpleBrowser | Simulated web browser. |
SimpleBrowserHistory | Browser history list. |
SimpleButtonTag | Submit button as button tag. |
SimpleCheckboxGroup | A group of tags with the same name within a form. |
SimpleCheckboxTag | Checkbox widget. |
SimpleCookie | Cookie data holder. |
SimpleCookieJar | Repository for cookies. |
SimpleDumper | Displays variables as text and does diffs. |
SimpleErrorQueue | Singleton error queue used to record trapped errors. |
SimpleErrorTrappingInvoker | Extension that traps errors into an error queue. |
SimpleExpectation | Assertion that can display failure information. |
SimpleForm | Form tag class to hold widget values. |
SimpleFormEncoding | Bundle of GET/POST parameters. |
SimpleFormTag | Tag to aid parsing the form. |
SimpleFrameTag | Tag to aid parsing the frames in a page. |
SimpleFrameset | A composite page. |
SimpleHttpHeaders | Collection of header lines in the response. |
SimpleHttpRequest | HTTP request for a web page. |
SimpleHttpResponse | Basic HTTP response. |
SimpleIdSelector | Used to extract form elements for testing against. |
SimpleImageSubmitTag | Image button as input tag. |
SimpleInvoker | This is called by the class runner to run a single test method. |
SimpleInvokerDecorator | Do nothing decorator. |
SimpleLabelSelector | Used to extract form elements for testing against. |
SimpleLexer | Accepts text and breaks it into tokens. |
SimpleMock | An empty collection of methods that can have their return values set and expectations made of the calls upon them. |
SimpleNameSelector | Used to extract form elements for testing against. |
SimpleOptionTag | Option for selection field. |
SimplePage | A wrapper for a web page. |
SimplePageBuilder | SAX event handler. |
SimpleProxyRoute | Creates HTTP headers for the end point of a HTTP request via a proxy server. |
SimpleRadioButtonTag | Radio button. |
SimpleRadioGroup | A group of tags with the same name within a form. |
SimpleRealm | Represents a single security realm's identity. |
SimpleReporter | Recipient of generated test messages that can display page footers and headers. |
SimpleRoute | Creates HTTP headers for the end point of a HTTP request. |
SimpleRunner | The standard runner. |
SimpleSaxListener | SAX event handler. |
SimpleSaxParser | Converts HTML tokens into selected SAX events. |
SimpleScorer | Can recieve test events and display them. |
SimpleSecureSocket | Wrapper for TCP/IP socket over TLS. |
SimpleSelectionTag | Drop down widget. |
SimpleShell | Wrapper for exec() functionality. |
SimpleSocket | Wrapper for TCP/IP socket. |
SimpleStateStack | States for a stack machine. |
SimpleStickyError | Stashes an error for later. |
SimpleStub | An empty collection of methods that can have their return values set. |
SimpleSubmitTag | Submit button as input tag. |
SimpleTag | HTML or XML tag. |
SimpleTestCase | Basic test case. |
SimpleTestCompatibility | Static methods for compatibility between different PHP versions. |
SimpleTestOptions | Static global directives and options. |
SimpleTestXmlParser | Parser for importing the output of the XmlReporter. |
SimpleTextAreaTag | Content tag for text area. |
SimpleTextTag | Text, password and hidden field. |
SimpleTitleTag | Page title. |
SimpleUrl | URL parser to replace parse_url() PHP function which got broken in PHP 4.3.0. |
SimpleUserAgent | Fetches web pages whilst keeping track of cookies and authentication. |
SimpleWidget | Form element. |
Stub | Static methods only service class for code generation of server stubs. |
TestCase | Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest. |
TextReporter | Sample minimal test displayer. |
UnitTestCase | Standard unit test class for day to day testing of PHP code XP style. |
UnwantedPatternExpectation | Fail if a pattern is detected within the comparison. |
UnwantedTextExpectation | Fail if a substring is detected within the comparison text. |
WantedPatternExpectation | Test for a pattern using Perl regex rules. |
WantedTextExpectation | Test for a text substring. |
WebTestCase | Test case for testing of web pages. |
WebTestCaseInvoker | Extension that builds a web browser at the start of each test. |
WildcardExpectation | A wildcard expectation always matches. |
XmlReporter | Creates the XML needed for remote communication by SimpleTest. |
Function Summary | |
---|---|
simpleTestErrorHandler | Error handler that simply stashes any errors into the global error queue. |
Global Summary | |
---|---|
DEFAULT_CONNECTION_TIMEOUT | |
DEFAULT_MAX_NESTED_FRAMES | #@- |
DEFAULT_MAX_REDIRECTS | #@- |
E_STRICT | @ignore - PHP5 compatibility fix. |
LEXER_ENTER | #@+ Lexer mode stack constants |
LEXER_EXIT | |
LEXER_MATCHED | |
LEXER_SPECIAL | |
LEXER_UNMATCHED | |
MOCK_WILDCARD | Default character simpletest will substitute for any value |
SIMPLE_TEST | #@+ Includes SimpleTest files and defined the root constant for dependent libraries. |
TYPE_MATTERS | does type matter |