-
_getDefaults
-
Constant default values.
-
_getRegistry
-
Accessor for global registry of options.
-
$_loosely_typed
-
-
$_call_counts
-
-
$_expected
-
-
$_expected_args
-
-
$_expected_args_at
-
-
$_expected_counts
-
-
$_is_strict
-
-
$_map
-
-
$_max_counts
-
-
$_min_counts
-
-
$_require_return
-
-
$_returns
-
-
$_return_sequence
-
-
$_test
-
-
$_wildcard
-
-
_addCall
-
Adds one to the call count of a method.
-
_assertTrue
-
Triggers an assertion on the held test case.
-
_chainMockExpectations
-
Creates source code for chaining to an aggregated mock object.
-
_chainMockReturns
-
Creates source code for chaining to the composited mock object.
-
_CheckArgumentsArray
-
Die if bad arguments array is passed
-
_checkExpectations
-
Tests the arguments against expectations.
-
_coerceToExpectation
-
Creates an identical expectation if the object/value is not already some type of expectation.
-
_createClassCode
-
The new server stub class code in string form.
-
_createClassCode
-
The new mock class code as a string.
-
_createHandlerCode
-
Creates code within a class to generate replaced methods. All methods call the _invoke() handler with the method name and the arguments in an array.
-
_describeDifference
-
Message to display if expectation differs from the parameters actually received.
-
_dieOnNoMethod
-
Triggers a PHP error if the method is not part of this object.
-
_extendClassCode
-
The extension class code as a string. The class composites a mock object and chains mocked methods to it.
-
_findFirstSlot
-
Searches the map for a matching item.
-
_getReturn
-
Finds the return value matching the incoming arguments. If there is no matching value found then an error is triggered.
-
_invoke
-
Returns the expected value for the method name.
-
_invoke
-
Returns the expected value for the method name and checks expectations. Will generate any test assertions as a result of expectations if there is a test present.
-
_overrideMethods
-
Creates source code to override a list of methods with mock versions.
-
_renderArguments
-
Renders the argument list as a string for messages.
-
_replaceWildcards
-
Replaces wildcard matches with wildcard expectations in the argument list.
-
_tally_call_counts
-
Checks that the exact call counts match up.
-
_tally_minimum_call_counts
-
Checks that the minimum call counts match up.
-
_testParameter
-
Tests an individual parameter.
-
_warnOnNoReturn
-
-
_warnOnNoReturn
-
What to do if there is no return value set. Does nothing for a stub.
-
$_attributes
-
-
$_attributes
-
-
$_content
-
-
$_current_shell
-
-
$_dry_url
-
-
$_dumper
-
-
$_exceptions
-
-
$_expat
-
-
$_fails
-
-
$_frameset_interface
-
-
$_handler
-
-
$_indent
-
-
$_in_content_tag
-
-
$_is_dry_run
-
-
$_label
-
-
$_last_command
-
-
$_last_status
-
-
$_lexer
-
-
$_lexer
-
-
$_listener
-
-
$_listener
-
-
$_method
-
-
$_mock_shell
-
-
$_name
-
-
$_namespace
-
-
$_old
-
-
$_output
-
-
$_page_interface
-
-
$_passes
-
-
$_pattern
-
-
$_progress
-
-
$_queue
-
-
$_reporter
-
-
$_runner
-
-
$_size
-
-
$_size
-
-
$_tag_stack
-
-
$_test
-
-
$_test_cases
-
-
$_test_stack
-
-
$_type
-
-
$_type
-
-
$_url
-
-
$_value
-
-
_addContent
-
Content between start and end elements.
-
_canonicalType
-
Coerces type name into a gettype() match.
-
_createBrowser
-
Creates a new web browser object for fetching the XML report.
-
_createCookieSite
-
-
_createParser
-
Sets up expat as the XML parser.
-
_createParser
-
Creates the XML parser.
-
_createPartialFetcher
-
-
_createRunner
-
Can modify the incoming reporter so as to run the tests differently. This version simply passes it straight through.
-
_createShell
-
Factory for the shell to run the command on.
-
_createSimulatedBadHost
-
-
_createStandardResponse
-
-
_decribePatternMatch
-
Describes a pattern match including the string found and it's position.
-
_default
-
XML and Doctype handler. Discards all such content.
-
_describeArrayDifference
-
Creates a human readable description of the difference between two arrays.
-
_describeBooleanDifference
-
Creates a human readable description of the difference between a boolean and another variable.
-
_describeFloatDifference
-
Creates a human readable description of the difference between two floating point numbers.
-
_describeIntegerDifference
-
Creates a human readable description of the difference between an integer and another variable.
-
_describeNullDifference
-
Creates a human readable description of the difference between a null and another variable.
-
_describeObjectDifference
-
Creates a human readable description of the difference between two objects.
-
_describeResourceDifference
-
Creates a human readable description of the difference between a resource and another variable.
-
_describeStringDifference
-
Creates a human readable description of the difference between a string and another variable.
-
_endElement
-
End of element event.
-
_getAttributes
-
Accessor for attributes.
-
_getCss
-
Paints the CSS. Add additional styles here.
-
_getCss
-
-
_getCurrentNestingTag
-
Accessor for current test structure tag.
-
_getDumper
-
Accessor for the dumper.
-
_getFramesetMethods
-
-
_getIndent
-
Calculates the pretty printing indent level from the current level of nesting.
-
_getPageMethods
-
-
_getPattern
-
Accessor for the pattern.
-
_getShell
-
Accessor for current shell. Used for testing the the tester itself.
-
_getShell
-
-
_getValue
-
Accessor for comparison value.
-
_isConstructor
-
Tests to see if the method is the constructor and so should be ignored.
-
_isLeaf
-
Test if tag is a leaf node with only text content.
-
_isTest
-
Tests to see if the method is a test that should be run. Currently any method that starts with 'test' is a candidate.
-
_isTestCase
-
Test to see if a class is derived from the TestCase class.
-
_isTypeMatch
-
Tests to see if types match.
-
_popNestingTag
-
Ends a nesting tag.
-
_pushNestingTag
-
Opens a new test nesting level.
-
_startElement
-
Handler for start of event element.
-
_stringDiffersAt
-
Find the first character position that differs in two strings by binary chop.
-
$_action
-
-
$_additional_headers
-
-
$_attributes
-
-
$_attributes
-
-
$_authentication
-
-
$_authenticator
-
-
$_base_url
-
-
$_browser
-
-
$_buttons
-
-
$_case
-
-
$_case
-
-
$_choice
-
-
$_complete_forms
-
-
$_connection_timeout
-
-
$_content
-
-
$_content
-
-
$_content
-
-
$_cookies
-
-
$_cookies
-
-
$_cookies
-
-
$_cookie_jar
-
-
$_current_attribute
-
-
$_error
-
-
$_expiry
-
-
$_focus
-
-
$_frames
-
-
$_frames
-
-
$_frameset
-
-
$_frameset
-
-
$_frameset_nesting_level
-
-
$_handle
-
-
$_headers
-
-
$_headers
-
-
$_headers
-
-
$_history
-
-
$_host
-
-
$_host
-
-
$_http_version
-
-
$_id
-
-
$_ignore_frames
-
-
$_images
-
-
$_is_open
-
-
$_is_secure
-
-
$_is_set
-
-
$_labels
-
-
$_lexer
-
-
$_lexer
-
-
$_links
-
-
$_listener
-
-
$_location
-
-
$_max_redirects
-
-
$_method
-
-
$_method
-
-
$_method
-
-
$_method
-
-
$_mime_type
-
-
$_mode
-
-
$_mode_handlers
-
-
$_name
-
-
$_name
-
-
$_names
-
-
$_open_forms
-
-
$_options
-
-
$_options
-
-
$_page
-
-
$_page
-
-
$_parser
-
-
$_password
-
-
$_password
-
-
$_password
-
-
$_path
-
-
$_path
-
-
$_patterns
-
-
$_port
-
-
$_position
-
-
$_proxy
-
-
$_proxy
-
-
$_proxy_password
-
-
$_proxy_username
-
-
$_raw
-
-
$_raw_headers
-
-
$_realm
-
-
$_realms
-
-
$_regex
-
-
$_regexes
-
-
$_request
-
-
$_request
-
-
$_request_data
-
-
$_request_data
-
-
$_response_code
-
-
$_root
-
-
$_route
-
-
$_scheme
-
-
$_sent
-
-
$_sent
-
-
$_sent
-
-
$_sequence
-
-
$_stack
-
-
$_tag
-
-
$_tags
-
-
$_title
-
-
$_transport_error
-
-
$_type
-
-
$_url
-
-
$_url
-
-
$_url
-
-
$_username
-
-
$_username
-
-
$_username
-
-
$_user_agent
-
-
$_value
-
-
$_value
-
-
$_values
-
-
$_widgets
-
-
$_widgets
-
-
$_widgets
-
-
_addAdditionalHeaders
-
Adds additional manual headers.
-
_addAttributeTokens
-
Matches attributes that are either single quoted, double quoted or unquoted.
-
_addCheckbox
-
Adds a checkbox, making it a group on a repeated name.
-
_addContentTagToOpenTags
-
Parsed relevant data. The parsed tag is added to every open tag.
-
_addCookiesToJar
-
Extracts new cookies into the cookie jar.
-
_addInTagTokens
-
Pattern matches to parse the inside of a tag including the attributes and their quoting.
-
_addLink
-
Adds a link to the page.
-
_addRadioButton
-
Adds a radio button, building a group if necessary.
-
_addSkipping
-
The lexer has to skip certain sections such as server code, client code and styles.
-
_addTag
-
Pattern matches to start and end a tag.
-
_atBeginning
-
Test for being at the beginning.
-
_atEnd
-
Test for being at the last entry.
-
_chompHost
-
Extracts the host part of an incoming URL.
-
_chompLogin
-
Extracts the username and password from the incoming URL. The // prefix will be reattached to the URL after the doublet is extracted.
-
_chompPath
-
Extracts the path information from the incoming URL. Strips this path from the URL.
-
_chompRequest
-
Strips off the request data.
-
_chompScheme
-
Extracts the scheme part of an incoming URL.
-
_clearError
-
Resets the error state to no error.
-
_coerceValues
-
Converts the output to an appropriate format. This means that no values is false, a single value is just that value and only two or more are contained in an array.
-
_createHistory
-
Creates a new empty history list.
-
_createHttpRequest
-
Builds the appropriate HTTP request object.
-
_createInputTag
-
Factory for input tags.
-
_createPage
-
Creates an empty page.
-
_createParser
-
Creates the parser used with the builder.
-
_createRequest
-
Creates a full page request.
-
_createResponse
-
Wraps the socket in a response parser.
-
_createRoute
-
Sets up either a direct route or via a proxy.
-
_createSelectionTag
-
Factory for selection fields.
-
_createSocket
-
Factory for socket.
-
_createTag
-
Factory for the tag objects. Creates the appropriate tag object for the incoming tag name.
-
_createUserAgent
-
Creates the underlying user agent.
-
_decodeHtml
-
Decodes any HTML entities.
-
_decodeSpecial
-
Strips the magic underscore marking single token modes.
-
_dispatchRequest
-
Sends the headers.
-
_dispatchRequest
-
Sends the headers.
-
_dispatchTokens
-
Sends the matched token and any leading unmatched text to the parser changing the lexer to a new mode if one is listed.
-
_dropFuture
-
Ditches all future entries beyond the current point.
-
_extractResponse
-
Extracts all of the response information.
-
_fetch
-
Fetches a page.
-
_fetch
-
Actually make the web request.
-
_fetchWhileRedirected
-
Fetches the page until no longer redirected or until the redirect limit runs out.
-
_findForm
-
General form finder. Will serach all the frames or just the one in focus.
-
_findRealmFromUrl
-
Finds the name of the realm by comparing URLs.
-
_fixPath
-
Adds a trailing and leading slash to the path if missing.
-
_getAction
-
Replaces missing form action.
-
_getCommonPath
-
Finds the common starting path.
-
_getCompoundedRegex
-
Compounds the patterns into a single regular expression separated with the "or" operator. Caches the regex.
-
_getHostLine
-
Creates the host part of the request.
-
_getHostLine
-
Creates the host part of the request.
-
_getParsedTags
-
List of parsed tags. Others are ignored.
-
_getPerlMatchingFlags
-
Accessor for perl regex mode flags to use.
-
_getRequestLine
-
Creates the first line which is the actual request.
-
_getRequestLine
-
Creates the first line which is the actual request.
-
_invokeParser
-
Calls the parser method named after the current mode. Empty content will be ignored. The lexer has a parser handler for each mode in the lexer.
-
_isEmpty
-
Test for no entries yet.
-
_isFormElement
-
Tests to see if a tag is a possible form element.
-
_isLastPacket
-
Test to see if the packet from the socket is the last one.
-
_isLoadingFrames
-
Test to see if in the middle of reading a frameset.
-
_isMatch
-
Tests cookie for matching against search criteria.
-
_isModeEnd
-
Tests to see if the new mode is actually to leave the current mode and pop an item from the matching mode stack.
-
_isNormalMatch
-
Matches strings regardles of varying whitespace.
-
_isSpecialMode
-
Test to see if the mode is one where this mode is entered for this token only and automatically leaves immediately afterwoods.
-
_isTooManyRedirects
-
Test to see if the redirect limit is passed.
-
_keysToLowerCase
-
Make the keys lower case for case insensitive look-ups.
-
_linkIsAbsolute
-
Test to see if link is an absolute one.
-
_makeArray
-
Converts false or string into array. The opposite of the coercian method.
-
_marshallCookies
-
Serialises the cookie hash ready for transmission.
-
_noResponse
-
Sets up a missng response.
-
_normalise
-
Space at the ends will be stripped and space in between is reduced to one space.
-
_openSocket
-
Actually opens the low level socket.
-
_openSocket
-
Actually opens the low level socket.
-
_openTag
-
Opens a tag for receiving content. Multiple tags will be receiving input at the same time.
-
_parse
-
Parses the raw content into a page. Will load further frame pages unless frames are disabled.
-
_parse
-
Splits up the headers and the rest of the content.
-
_parseCookie
-
Parse the Set-cookie content.
-
_parseHeaderLine
-
Called on each header line to accumulate the held data within the class.
-
_parseRequest
-
Breaks the request down into an object.
-
_readAll
-
Reads the whole of the socket output into a single string.
-
_reduce
-
Tries to match a chunk of text and if successful removes the recognised chunk and any leading unparsed data. Empty strings will not be matched.
-
_setAttribute
-
Sets an attribute.
-
_setError
-
Sets the internal error.
-
_setTitle
-
Sets the title tag contents.
-
_setWidget
-
Sets the widget into the form, grouping radio buttons if any.
-
_truncateHost
-
Extracts just the domain part that determines a cookie's host validity.
-
_valueIsPossible
-
Tests to see if a value is allowed.
-
_valuesArePossible
-
Tests to see if a possible value set is legal.
-
_wrapIsEnabled
-
Test to see if text should be wrapped.
-
addPartialMockCode
-
Adds additional mock code.
-
assert
-
Sends pass if the test condition resolves true, a fail otherwise.
-
assertEquals
-
Will test straight equality if set to loose typing, or identity if not.
-
assertEquals
-
Will test straight equality if set to loose typing, or identity if not.
-
assertEqualsMultilineStrings
-
Will test straight equality if set to loose typing, or identity if not.
-
assertFalse
-
Sends pass if the test condition resolves false, a fail otherwise.
-
assertNotNull
-
Passes if the value tested is not null.
-
assertNotSame
-
In PHP5 the identity test tests for the same object. THis is a reference test in PHP4.
-
assertNull
-
Passes if the value tested is null.
-
assertRegExp
-
Tests a regex match. Needs refactoring.
-
assertRegexp
-
Tests a regex match.
-
assertSame
-
In PHP5 the identity test tests for the same object. THis is a reference test in PHP4.
-
assertTrue
-
Sends pass if the test condition resolves true, a fail otherwise.
-
assertType
-
Tests the type of a value.
-
addReference
-
Stashes a reference against a method call.
-
addValue
-
Stashes a value against a method call.
-
add
-
Adds an error to the front of the queue.
-
addTestCase
-
Adds a test into the suite.
-
addTestFile
-
Builds a group test from a library of test cases.
-
AllOutputReporter
-
Sample minimal test displayer. Generates only failure messages and a pass count.
-
AllOutputReporter
-
-
AllTests
-
-
AllTests
-
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
-
assertCopy
-
Will trigger a pass if both parameters refer to different objects. Fail otherwise.
-
assertEqual
-
Will trigger a pass if the two parameters have the same value only. Otherwise a fail.
-
assertError
-
Confirms that an error has occoured and optionally that the error text matches exactly.
-
assertErrorPattern
-
Confirms that an error has occoured and that the error text matches a Perl regular expression.
-
assertExitCode
-
Tests the last status code from the shell.
-
assertExpectation
-
Runs an expectation directly, for extending the tests with new expectation classes.
-
assertFalse
-
Will be true on false and vice versa. False is the PHP definition of false, so that null, empty strings, zero and an empty array all count as false.
-
assertFileExists
-
File existence check.
-
assertFileNotExists
-
File non-existence check.
-
assertFilePattern
-
Scans a file for a Perl regex. If found anywhere it passes, else it fails.
-
assertIdentical
-
Will trigger a pass if the two parameters have the same value and same type. Otherwise a fail.
-
assertIsA
-
Type and class test. Will pass if class matches the type name or is a subclass or if not an object, but the type is correct.
-
assertNoErrors
-
Confirms that no errors have occoured so far in the test method.
-
assertNoFilePattern
-
If a Perl regex is found anywhere in the named file then a failure is generated, else a pass.
-
assertNoOutputPattern
-
If a Perl regex is found anywhere in the current output then a failure is generated, else a pass.
-
assertNotEqual
-
Will trigger a pass if the two parameters have a different value. Otherwise a fail.
-
assertNotIdentical
-
Will trigger a pass if the two parameters have the different value or different type.
-
assertNotNull
-
Will be true if the value is set.
-
assertNoUnwantedPattern
-
Will trigger a pass if the perl regex pattern is not present in subject. Fail if found.
-
assertNull
-
Will be true if the value is null.
-
assertOutput
-
Attempt to exactly match the combined STDERR and STDOUT output.
-
assertOutputPattern
-
Scans the output for a Perl regex. If found anywhere it passes, else it fails.
-
assertReference
-
Will trigger a pass if both parameters refer to the same object. Fail otherwise.
-
assertTrue
-
Called from within the test methods to register passes and failures.
-
assertUrl
-
-
assertWantedPattern
-
Will trigger a pass if the Perl regex pattern is found in the subject. Fail otherwise.
-
acceptAttributeToken
-
Part of the tag data.
-
acceptEndToken
-
Accepts a token from the end tag mode.
-
acceptEntityToken
-
A character entity.
-
acceptFormEnd
-
Closes the most recently opened form.
-
acceptFormStart
-
Opens a form. New widgets go here.
-
acceptFrame
-
Takes a single frame tag and stashes it in the current frame set.
-
acceptFramesetEnd
-
Closes the most recently opened frameset.
-
acceptFramesetStart
-
Opens a frameset. A frameset may contain nested frameset tags.
-
acceptStartToken
-
Accepts a token from the tag mode. If the
-
acceptTag
-
Adds a tag to the page.
-
acceptTextToken
-
Character data between tags regarded as important.
-
add
-
Adds a parameter to the query.
-
addBasicHeaders
-
Presents the appropriate headers for this location for basic authentication.
-
addContent
-
Unparsed, but relevant data.
-
addContent
-
Appends string content to the current content.
-
addContent
-
Text within the selection element is ignored.
-
addContent
-
Text within the selection element is ignored.
-
addContent
-
Unparsed, but relevant data. The data is added to every open tag.
-
addEntryPattern
-
Adds a pattern that will enter a new parsing mode. Useful for entering parenthesis, strings, tags, etc.
-
addExitPattern
-
Adds a pattern that will exit the current mode and re-enter the previous one.
-
addHeader
-
Adds a header to every fetch.
-
addHeader
-
Adds a header to every fetch.
-
addHeader
-
Adds a header to every fetch.
-
addHeaderLine
-
Adds a header line to the request.
-
addHeaders
-
Adds the current cookies to a request.
-
addHeaders
-
Presents the appropriate headers for this location.
-
addParsedFrame
-
Adds a parsed page to the frameset.
-
addPattern
-
Adds a pattern with an optional label.
-
addPattern
-
Adds a token search pattern for a particular parsing mode. The pattern does not change the current mode.
-
addRealm
-
Adds a new realm centered the current URL.
-
addRequestParameter
-
Adds an additional parameter to the request.
-
addRequestParameters
-
Adds additional parameters to the request.
-
addSpecialPattern
-
Adds a pattern that has a special mode. Acts as an entry and exit pattern in one go, effectively calling a special parser handler for this token only.
-
addTag
-
Adds an option tag to a selection field.
-
addTag
-
Adds an enclosed tag to the content.
-
addTag
-
Adds an option tag to a selection field.
-
addWidget
-
Adds a tag to the group.
-
addWidget
-
Adds a tag to the group.
-
addWidget
-
Adds a tag contents to the form.
-
ageCookies
-
Moves cookie expiry times back into the past.
-
ageCookies
-
Ages the cookies by the specified time.
-
ageCookies
-
Ages the cookies by the specified time.
-
agePrematurely
-
Ages the cookie by the specified number of seconds.
-
agePrematurely
-
Ages all cookies in the cookie jar.
-
assertAuthentication
-
Attempt to match the authentication type within the security realm we are currently matching.
-
assertCookie
-
Checks that a cookie is set for the current page and optionally checks the value.
-
assertField
-
Confirms that the form element is currently set to the expected value. A missing form will always fail. If no value is given then only the existence of the field is checked.
-
assertFieldById
-
Confirms that the form element is currently set to the expected value. A missing form will always fail. If no ID is given then only the existence of the field is checked.
-
assertLink
-
Tests for the presence of a link label. Match is case insensitive with normalised space.
-
assertLinkById
-
Tests for the presence of a link id attribute.
-
assertMime
-
Checks the mime type against a list of possible values.
-
assertNoAuthentication
-
Checks that no authentication is necessary to view the desired page.
-
assertNoCookie
-
Checks that no cookie is present or that it has been successfully cleared.
-
assertNoUnwantedPattern
-
Will trigger a pass if the perl regex pattern is not present in raw content.
-
assertRealm
-
Attempts to match the current security realm.
-
assertResponse
-
Checks the response code against a list of possible values.
-
assertTitle
-
Tests the text between the title tags.
-
assertWantedPattern
-
Will trigger a pass if the Perl regex pattern is found in the raw content.
-
asString
-
Renders the query string as a URL encoded request part.
-
authenticate
-
Retries a request after setting the authentication for the current realm.
-
authenticate
-
Retries a request after setting the authentication for the current realm.
-
authentication.php
-
-
getDefaultProxy
-
Accessor for default proxy host.
-
getDefaultProxyPassword
-
Accessor for default proxy password.
-
getDefaultProxyUsername
-
Accessor for default proxy username.
-
getMockBaseClass
-
Accessor for the currently set mock base class.
-
getPartialMockCode
-
Accessor for additional partial mock code.
-
getStackTrace
-
Gets the current stack trace topmost first.
-
getStubBaseClass
-
Accessor for the currently set stub base class.
-
getVersion
-
Reads the SimpleTest version from the release file.
-
getName
-
Accessor for name, normally just the class name.
-
generate
-
Clones a class' interface and creates a stub version that can have return values set.
-
generate
-
Clones a class' interface and creates a mock version that can have return values and expectations set.
-
generatePartial
-
Generates a version of a class with selected methods mocked only. Inherits the old class and chains the mock methods of an aggregated mock object.
-
getCallCount
-
Fetches the call count of a method so far.
-
getTest
-
Accessor for attached unit test so that when subclassed, new expectations can be added easily.
-
getAssertionLine
-
Uses a stack trace to find the line of an assertion.
-
getExceptionCount
-
Accessor for the number of untrapped errors so far.
-
getFailCount
-
Accessor for the number of fails so far.
-
getFormattedAssertionLine
-
Extracts the last assertion that was not within Simpletest itself.
-
getLabel
-
Accessor for the test name for subclasses.
-
getName
-
Accessor for name.
-
getOutput
-
Accessor for the last output.
-
getPassCount
-
Accessor for the number of passes so far.
-
getSeverityAsString
-
Converst an error code into it's string representation.
-
getSize
-
The size in the attributes.
-
getSize
-
Number of contained test cases.
-
getSize
-
Accessor for the number of subtests.
-
getSize
-
Accessor for the number of subtests.
-
getStatus
-
Accessor for current status. Will be false if there have been any failures or exceptions.
-
getTestCaseCount
-
Accessor for total test size in number of test cases. Null until the first test is started.
-
getTestCaseProgress
-
Accessor for the number of test cases completed so far.
-
getTestList
-
Accessor for internal test stack. For subclasses that need to see the whole test history for display purposes.
-
getType
-
Gets the string representation of a type.
-
getType
-
Accessor for type to check against.
-
GroupTest
-
Sets the name of the test suite.
-
GroupTest
-
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
-
get
-
Fetches a page into the page buffer. If there is no base for the URL then the current base URL is used. After the fetch the base URL reflects the new location.
-
get
-
Fetches the page content with a simple GET request.
-
getAbsoluteUrls
-
Accessor for a list of all fixed links.
-
getAbsoluteUrls
-
Accessor for a list of all fixed links.
-
getAbsoluteUrls
-
Accessor for a list of all fixed links in current page.
-
getAction
-
Relative URL of the target.
-
getAll
-
Gets all parameters as structured hash. Repeated values are list values.
-
getAttribute
-
Accessor for an attribute.
-
getAuthentication
-
Accessor for last Authentication type. Only valid straight after a challenge (401).
-
getAuthentication
-
Accessor for last Authentication type. Only valid straight after a challenge (401).
-
getAuthentication
-
Accessor for last Authentication type. Only valid straight after a challenge (401).
-
getAuthentication
-
Accessor for authentication type.
-
getBaseCookieValue
-
Reads the current cookies for the base URL.
-
getBaseCookieValue
-
Reads the current cookies for the base URL.
-
getBasePath
-
Gets the path to the page.
-
getBaseUrl
-
Accessor for base URL worked out from the current URL.
-
getBrowser
-
Gets a current browser reference for setting special expectations or for detailed examination of page fetches.
-
getChildElements
-
List oflegal child elements.
-
getContent
-
Accessor for the content after the last header line.
-
getContent
-
Accessor for raw page information.
-
getContent
-
Accessor for the whole content so far.
-
getCookieValue
-
Reads the most specific cookie value from the browser cookies.
-
getCookieValue
-
Reads the most specific cookie value from the browser cookies.
-
getCurrent
-
Accessor for current state.
-
getDefault
-
Accessor for starting value. The default value is "on".
-
getDefault
-
Accessor for starting value that is active.
-
getDefault
-
Scans options for defaults to populate the value array().
-
getDefault
-
Accessor for starting value.
-
getDefault
-
Accessor for starting value. Will be set to the option label if no value exists.
-
getDefault
-
Accessor for starting value.
-
getDefault
-
Accessor for default value parsed with the tag.
-
getDefault
-
Scans options for defaults. If none, then the first option is selected.
-
getDefault
-
Accessor for starting value that is active.
-
getEncodedRequest
-
Accessor for current request parameters
-
getError
-
Accessor for an outstanding error.
-
getExpiry
-
Accessor for expiry.
-
getField
-
Accessor for a form element value within the page.
-
getField
-
Accessor for a form element value within a frameset.
-
getField
-
Accessor for a form element value within a page.
-
getFieldById
-
Accessor for a form element value within the page.
-
getFieldById
-
Accessor for a form element value within a page.
-
getFieldById
-
Accessor for a form element value within a page.
-
getFormById
-
Finds a held form by the form ID. A way of identifying a specific form when we have control of the HTML code.
-
getFormById
-
Finds a held form by the form ID. A way of
-
getFormByImageId
-
Finds a held form by image button id. Will only search correctly built forms.
-
getFormByImageId
-
Finds a held form by image button id. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
-
getFormByImageLabel
-
Finds a held form by image label. Will only search correctly built forms.
-
getFormByImageLabel
-
Finds a held form by image label. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
-
getFormByImageName
-
Finds a held form by image button id. Will only search correctly built forms.
-
getFormByImageName
-
Finds a held form by image button id. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
-
getFormBySubmitId
-
Finds a held form by button id. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
-
getFormBySubmitId
-
Finds a held form by button id. Will only search correctly built forms.
-
getFormBySubmitLabel
-
Finds a held form by button label. Will only search correctly built forms.
-
getFormBySubmitLabel
-
Finds a held form by button label. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
-
getFormBySubmitName
-
Finds a held form by button label. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
-
getFormBySubmitName
-
Finds a held form by button label. Will only search correctly built forms.
-
getFragment
-
Accessor for fragment at end of URL after the "#".
-
getFrameFocus
-
Accessor for current frame focus. Will be false if no frame has focus.
-
getFrameFocus
-
Accessor for current frame focus. Will be false if no frame has focus.
-
getFrameFocus
-
Accessor for current frame focus. Will be false if no frame has focus.
-
getFrameFocus
-
Accessor for current frame focus. Will be false as no frames.
-
getFrames
-
Accessor for frames information.
-
getFrames
-
Accessor for frame name and source URL.
-
getHeaders
-
Accessor for raw header information.
-
getHeaders
-
Accessor for raw headers of page.
-
getHeaders
-
Accessor for raw header information.
-
getHeaders
-
Accessor for header block. The response is the combination of this and the content.
-
getHost
-
Accessor for hostname and port.
-
getHost
-
Accessor for the truncated host to which this cookie applies.
-
getHref
-
Accessor for URL as string.
-
getHttpVersion
-
Accessor for parsed HTTP protocol version.
-
getId
-
ID field of form for unique identification.
-
getKeys
-
Accessor for key list.
-
getLocation
-
Returns the redirected URL or false if no redirection.
-
getMethod
-
Last fetching method for current history position.
-
getMethod
-
Original request method.
-
getMethod
-
Accessor for form action.
-
getMimeType
-
Accessor for current MIME type.
-
getMimeType
-
Accessor for MIME type header information.
-
getMimeType
-
Accessor for current MIME type.
-
getMimeType
-
Accessor for current MIME type.
-
getName
-
Accessor for name submitted as the key in GET/POST variables hash.
-
getName
-
Accessor for name.
-
getNewCookies
-
Accessor for any new cookies.
-
getNewCookies
-
Accessor for any new cookies.
-
getPage
-
Accessor for page if any. This may be a directory name if ambiguious.
-
getParameters
-
Parameters of last fetch from current history position.
-
getPassword
-
Accessor for current identity.
-
getPassword
-
Accessor for password.
-
getPath
-
Accessor for path.
-
getPath
-
Accessor for path.
-
getPort
-
Accessor for port number.
-
getRaw
-
Accessor for raw header block.
-
getRaw
-
Accessor for raw text of either all the pages or the frame in focus.
-
getRaw
-
Accessor for raw text of page.
-
getRealm
-
Accessor for last Authentication realm. Only valid straight after a challenge (401).
-
getRealm
-
Accessor for security realm.
-
getRealm
-
Accessor for last Authentication realm. Only valid straight after a challenge (401).
-
getRealm
-
Accessor for last Authentication realm. Only valid straight after a challenge (401).
-
getRelativeUrls
-
Accessor for a list of all relative links.
-
getRelativeUrls
-
Accessor for a list of all relative links.
-
getRelativeUrls
-
Accessor for a list of all relative links.
-
getRequest
-
Accessor for current request parameters as an object.
-
getRequest
-
Original request as bytes sent down the wire.
-
getRequest
-
Accessor for raw bytes sent down the wire.
-
getRequest
-
Accessor for outgoing header information.
-
getRequestData
-
Original request data.
-
getRequestData
-
Original request data.
-
getRequestData
-
Original request data.
-
getRequestMethod
-
Original request method.
-
getRequestMethod
-
Request method used to fetch this frame.
-
getRequestUrl
-
Original resource name.
-
getRequestUrl
-
Original resource name.
-
getResponseCode
-
Accessor for parsed HTTP error code.
-
getResponseCode
-
Accessor for last response code.
-
getResponseCode
-
Accessor for last response code.
-
getResponseCode
-
Accessor for HTTP response code.
-
getScheme
-
Accessor for protocol part.
-
getSent
-
Raw request that was sent down the wire.
-
getSent
-
Accessor for content so far.
-
getTagName
-
Accessor for tag name.
-
getTitle
-
Accessor for parsed title.
-
getTitle
-
Accessor for parsed title.
-
getTitle
-
Accessor for parsed title.
-
getTld
-
Accessor for top level domain.
-
getTransportError
-
Accessor for last error.
-
getTransportError
-
Gets the last response error.
-
getTransportError
-
Accessor for last error.
-
getTransportError
-
Accessor for last error.
-
getUrl
-
Resource name.
-
getUrl
-
Resource name.
-
getUrl
-
Last fully qualified URL for current history position.
-
getUrlById
-
Accessor for a URL by the id attribute.
-
getUrlById
-
Accessor for a URL by the id attribute. If in a frameset then the first link found with taht ID attribute is returned only. Focus on a frame if you want one from a specific part of the frameset.
-
getUrlsByLabel
-
Accessor for URLs by the link label. Label will match regardess of whitespace issues and case.
-
getUrlsByLabel
-
Accessor for URLs by the link label. Label will match regardess of whitespace issues and case.
-
getUsername
-
Accessor for current identity.
-
getUsername
-
Accessor for user name.
-
getValidCookies
-
Fetches a hash of all valid cookies filtered
-
getValue
-
Accessor for current selected widget or false if none.
-
getValue
-
Accessor for current selection value.
-
getValue
-
Accessor for currently set value or default if none.
-
getValue
-
Accessor for value. A deleted cookie will have an empty string for this.
-
getValue
-
Accessor for current selection value.
-
getValue
-
Extracts current value from form.
-
getValue
-
Accessor for single value.
-
getValue
-
Accessor for current selected widget or false if none.
-
getValueById
-
Extracts current value from form by the ID.
-
getValues
-
Reads the current form values as a hash of submitted parameters. Repeated parameters appear as a list.
-
pear_test_case.php
-
-
phpunit_test_case.php
-
-
PHPUnit_TestCase
-
Adapter for PEAR PHPUnit test case to allow legacy PEAR test cases to be used with SimpleTest.
-
PHPUnit_TestCase
-
Constructor. Sets the test name.
-
parser.php
-
-
ParametersExpectation
-
Sets the expected parameter list.
-
ParametersExpectation
-
Parameter comparison assertion.
-
paintCaseEnd
-
Paints the end of a test case.
-
paintCaseEnd
-
Paints the end of a test case. Will paint the page footer if the stack of tests has unwound.
-
paintCaseEnd
-
Paints the end of a test case.
-
paintCaseStart
-
Paints the start of a test case. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
-
paintCaseStart
-
Paints the start of a test case.
-
paintCaseStart
-
Paints the start of a test case.
-
paintEnd
-
Signals the appropriate end event on the listener.
-
paintEnd
-
Signals the appropriate end event on the listener.
-
paintEnd
-
Signals the appropriate end event on the listener.
-
paintError
-
Deals with PHP 4 throwing an error.
-
paintError
-
Chains to the wrapped runner.
-
paintException
-
Paints a PHP error or exception.
-
paintException
-
Chains to the wrapped runner.
-
paintException
-
Deals with PHP 5 throwing an exception This isn't really implemented yet.
-
paintException
-
Paints a PHP error or exception.
-
paintException
-
Paints a PHP error or exception.
-
paintFail
-
Increments the fail count.
-
paintFail
-
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
-
paintFail
-
Increments the fail count.
-
paintFail
-
Chains to the wrapped runner.
-
paintFail
-
Paints the test failure as a stack trace.
-
paintFooter
-
Paints the end of the test with a summary of the passes and failures.
-
paintFooter
-
Paints the test document footer.
-
paintFooter
-
Paints the end of the test with a summary of the passes and failures.
-
paintFooter
-
Paints the test document footer.
-
paintFormattedMessage
-
Chains to the wrapped runner.
-
paintFormattedMessage
-
Paints formatted text such as dumped variables.
-
paintFormattedMessage
-
Paints formatted text such as dumped variables.
-
paintFormattedMessage
-
Paints a formatted ASCII message such as a variable dump.
-
paintFormattedMessage
-
Paints a formatted ASCII message such as a variable dump.
-
paintGroupEnd
-
Paints the end of a group test.
-
paintGroupEnd
-
Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
-
paintGroupEnd
-
Paints the end of a group test.
-
paintGroupStart
-
Paints the start of a group test.
-
paintGroupStart
-
Paints the start of a group test.
-
paintGroupStart
-
Paints the start of a group test. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
-
paintHeader
-
Paints the test document header.
-
paintHeader
-
Paints the title only.
-
paintHeader
-
Paints the test document header.
-
paintHeader
-
Paints the top of the web page setting the title to the name of the starting test.
-
paintMessage
-
Chains to the wrapped runner.
-
paintMessage
-
Paints a simple supplementary message.
-
paintMessage
-
Paints a simple supplementary message.
-
paintMethodEnd
-
Paints the end of a test method.
-
paintMethodEnd
-
Paints the end of a test method. Will paint the page footer if the stack of tests has unwound.
-
paintMethodEnd
-
Paints the end of a test method.
-
paintMethodStart
-
Paints the start of a test method.
-
paintMethodStart
-
Paints the start of a test method.
-
paintMethodStart
-
Paints the start of a test method.
-
paintPass
-
Increments the pass count.
-
paintPass
-
Chains to the wrapped runner.
-
paintPass
-
-
paintPass
-
Increments the pass count.
-
paintSignal
-
Serialises the event object.
-
paintSignal
-
By default just ignores user generated events.
-
paintSignal
-
Chains to the wrapped runner.
-
paintSignal
-
-
paintStart
-
Signals the appropriate start event on the listener.
-
paintStart
-
Signals the appropriate start event on the listener.
-
paintStart
-
Signals the appropriate start event on the listener.
-
parse
-
-
parse
-
Parses a block of XML sending the results to the listener.
-
pass
-
Sends a pass event with a message.
-
page.php
-
-
ParallelRegex
-
Constructor. Starts with no patterns.
-
ParallelRegex
-
Compounded regular expression. Any of the contained patterns could match and when one does it's label is returned.
-
parse
-
Runs the content through the lexer which should call back to the acceptors.
-
parse
-
Splits the page text into tokens. Will fail
-
parse
-
Reads the raw content and send events into the page to be built.
-
post
-
Fetches a page by POST into the page buffer.
-
post
-
Fetches the page content with a POST request.
-
setMockBaseClass
-
The base class name is settable here. This is the class that a new mock will inherited from.
-
setStubBaseClass
-
The base class name is settable here. This is the class that a new stub will inherited from.
-
setTimeout
-
Sets a socket timeout for each chunk.
-
SimpleTestCompatibility
-
Static methods for compatibility between different PHP versions.
-
SimpleTestOptions
-
Static global directives and options.
-
setLooselyTyped
-
Sets equality operation to act as a simple equal comparison only, allowing a broader range of matches.
-
setName
-
Does nothing. For compatibility only.
-
socket.php
-
-
setMockBaseClass
-
-
setReturnReference
-
Sets a return for a parameter list that will be passed by reference for all calls.
-
setReturnReferenceAt
-
Sets a return for a parameter list that will be passed by value only when the required call count is reached.
-
setReturnValue
-
Sets a return for a parameter list that will be passed by value for all calls to this method.
-
setReturnValueAt
-
Sets a return for a parameter list that will be passed by value only when the required call count is reached.
-
SimpleMock
-
Creates an empty return list and expectation list.
-
SimpleMock
-
An empty collection of methods that can have their
-
SimpleStub
-
An empty collection of methods that can have their return values set. Used for prototyping.
-
SimpleStub
-
Sets up the wildcard and everything else empty.
-
SpecialSimpleMock
-
-
SpecialSimpleMock
-
An empty collection of methods that can have their
-
SpecialSimpleStub
-
An empty collection of methods that can have their return values set. Used for prototyping.
-
SpecialSimpleStub
-
-
Stub
-
Factory for server stub classes.
-
Stub
-
Static methods only service class for code generation of server stubs.
-
shell_tester.php
-
-
simple_test.php
-
-
sendMessage
-
Dispatches a text message straight to the test suite. Useful for status bar displays.
-
sendNoCacheHeaders
-
Send the headers necessary to ensure the page is reloaded on every request. Otherwise you could be scratching your head over out of date test data.
-
sendValidEnd
-
-
sendValidStart
-
-
setName
-
Sets the test case/method name.
-
setUp
-
Sets up unit test wide variables at the start of each test method. To be overridden in actual user test cases.
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
ShellTestCase
-
Creates an empty test case. Should be subclassed with test methods for a functional test case.
-
ShellTestCase
-
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
-
signal
-
Sends a user defined event to the test runner.
-
SimpleDumper
-
Do nothing constructor.
-
SimpleDumper
-
Displays variables as text and does diffs.
-
SimpleErrorQueue
-
Starts with an empty queue.
-
SimpleErrorQueue
-
Singleton error queue used to record trapped errors.
-
SimpleExpectation
-
Creates a dumper for displaying values.
-
SimpleExpectation
-
Assertion that can display failure information.
-
SimpleReporter
-
Recipient of generated test messages that can display page footers and headers. Also keeps track of the test nesting. This is the main base class on which to build the finished test (page based) displays.
-
SimpleReporter
-
Starts the display with no results in.
-
SimpleRunner
-
Can recieve test events and display them. Display is achieved by making display methods available and visiting the incoming event.
-
SimpleRunner
-
Starts the test run with no results.
-
SimpleRunnerDecorator
-
Takes in the reporter to wrap.
-
SimpleRunnerDecorator
-
Modifies the test running behaviour of the standard runner by wrapping it. This is a do nothing version.
-
SimpleShell
-
Executes the shell comand and stashes the output.
-
SimpleShell
-
Wrapper for exec() functionality.
-
SimpleTestCase
-
Basic test case. This is the smallest unit of a test suite. It searches for all methods that start with the the string "test" and runs them. Working test cases extend this class.
-
SimpleTestCase
-
Sets up the test with no display.
-
simpleTestErrorHandler
-
Error handler that simply stashes any errors into the global error queue.
-
SimpleTestXmlParser
-
Parser for importing the output of the XmlReporter.
-
SimpleTestXmlParser
-
Loads a listener with the SimpleReporter interface.
-
swallowErrors
-
Cancels any outstanding errors.
-
setBaseUrl
-
Sets the current location.
-
setConnectionTimeout
-
Sets the socket timeout for opening a connection.
-
setConnectionTimeout
-
Sets the socket timeout for opening a connection.
-
setConnectionTimeout
-
Sets the socket timeout for opening a connection and receiving at least one byte of information.
-
setCookie
-
Sets a cookie in the current browser.
-
setCookie
-
Sets an additional cookie. If a cookie has the same name and path it is replaced.
-
setCookie
-
Adds a cookie to the jar. This will overwrite cookies with matching host, paths and keys.
-
setCookie
-
Sets an additional cookie. If a cookie has the same name and path it is replaced.
-
setCookie
-
Adds a cookie to the request.
-
setField
-
Sets a field on each form in which the field is available.
-
setField
-
Sets a field on each form in which the field is available.
-
setField
-
Sets a widget value within the form.
-
setField
-
Sets all form fields with that name.
-
setField
-
Sets all form fields with that name.
-
setFieldById
-
Sets all form fields with that name.
-
setFieldById
-
Sets all form fields with that name.
-
setFieldById
-
Sets a field on the form in which the unique field is available.
-
setFieldById
-
Sets a field on the form in which the unique field is available.
-
setFieldById
-
Sets a widget value within the form by using the ID.
-
setFrameFocus
-
Sets the focus by name.
-
setFrameFocus
-
Sets the focus by name.
-
setFrameFocus
-
Sets the focus by name.
-
setFrameFocus
-
Sets the focus by name.
-
setFrameFocusByIndex
-
Sets the focus by index. The integer index starts from 1.
-
setFrameFocusByIndex
-
Sets the focus by index. The integer index starts from 1.
-
setFrameFocusByIndex
-
Sets the focus by index. The integer index starts from 1.
-
setFrameFocusByIndex
-
Sets the focus by index. The integer index starts from 1.
-
setHost
-
Sets the host. The cookie rules determine
-
setIdentity
-
Sets the identity for the current realm.
-
setIdentity
-
Sets the identity to try within this realm.
-
setIdentityForRealm
-
Sets the current identity to be presented against that realm.
-
setMaximumRedirects
-
Sets the maximum number of redirects before a page will be loaded anyway.
-
setMaximumRedirects
-
Sets the maximum number of redirects before the web page is loaded regardless.
-
setMaximumRedirects
-
Sets the maximum number of redirects before a page will be loaded anyway.
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setValue
-
The only allowed value in the one in the "value" attribute. The default for this attribute is "on".
-
setValue
-
Accessor for current set values.
-
setValue
-
Does nothing.
-
setValue
-
Can only set allowed values.
-
setValue
-
The only allowed value in the one in the "value" attribute.
-
setValue
-
Sets the current form element value.
-
setValue
-
Applies word wrapping if needed.
-
setValue
-
Sets the current form element value. Cannot change the value of a hidden field.
-
setValue
-
Disables the setting of the button value.
-
setValue
-
Each tag is tried in turn until one is successfully set. The others will be unchecked if successful.
-
setValue
-
Can only set allowed values.
-
showHeaders
-
Dumps the current HTTP headers for debugging.
-
showRequest
-
Dumps the current request for debugging.
-
showSource
-
Dumps the current HTML source for debugging.
-
SimpleAnchorTag
-
Starts with a named tag with attributes only.
-
SimpleAnchorTag
-
Link.
-
SimpleAuthenticator
-
Starts with no realms set up.
-
SimpleAuthenticator
-
Manages security realms.
-
SimpleBrowser
-
Starts with a fresh browser with no cookie or any other state information. The exception is that a default proxy will be set up if specified in the options.
-
SimpleBrowser
-
Simulated web browser. This is an aggregate of the user agent, the HTML parsing, request history and the last header set.
-
SimpleBrowserHistory
-
Starts empty.
-
SimpleBrowserHistory
-
Browser history list.
-
SimpleCheckboxGroup
-
A group of tags with the same name within a form.
-
SimpleCheckboxGroup
-
Starts empty.
-
SimpleCheckboxTag
-
Checkbox widget.
-
SimpleCheckboxTag
-
Starts with attributes only.
-
SimpleCookie
-
Constructor. Sets the stored values.
-
SimpleCookie
-
Cookie data holder. Cookie rules are full of pretty arbitary stuff. I have used...
-
SimpleCookieJar
-
Repository for cookies. This stuff is a tiny bit browser dependent.
-
SimpleCookieJar
-
Constructor. Jar starts empty.
-
SimpleForm
-
Starts with no held controls/widgets.
-
SimpleForm
-
Form tag class to hold widget values.
-
SimpleFormTag
-
Tag to aid parsing the form.
-
SimpleFormTag
-
Starts with a named tag with attributes only.
-
SimpleFrameset
-
A composite page. Wraps a frameset page and adds subframes. The original page will be mostly ignored. Implements the SimplePage interface so as to be interchangeable.
-
SimpleFrameset
-
Stashes the frameset page. Will make use of the browser to fetch the sub frames recursively.
-
SimpleFrameTag
-
Starts with a named tag with attributes only.
-
SimpleFrameTag
-
Tag to aid parsing the frames in a page.
-
SimpleHttpHeaders
-
Parses the incoming header block.
-
SimpleHttpHeaders
-
Collection of header lines in the response.
-
SimpleHttpPostRequest
-
Request with data to send. Usually PUT or POST.
-
SimpleHttpPostRequest
-
Cretaes an HTML form request.
-
SimpleHttpRequest
-
HTTP request for a web page. Factory for HttpResponse object.
-
SimpleHttpRequest
-
Saves the URL ready for fetching.
-
SimpleHttpResponse
-
Basic HTTP response.
-
SimpleHttpResponse
-
Constructor. Reads and parses the incoming content and headers.
-
SimpleLexer
-
Accepts text and breaks it into tokens.
-
SimpleLexer
-
Sets up the lexer in case insensitive matching by default.
-
SimpleOptionTag
-
Option for selection field.
-
SimpleOptionTag
-
Stashes the attributes.
-
SimplePage
-
A wrapper for a web page.
-
SimplePage
-
Parses a page ready to access it's contents.
-
SimplePageBuilder
-
Sets the builder up empty.
-
SimplePageBuilder
-
SAX event handler. Maintains a list of open tags and dispatches them as they close.
-
SimpleProxyRoute
-
Stashes the proxy address.
-
SimpleProxyRoute
-
Creates HTTP headers for the end point of a HTTP request via a proxy server.
-
SimpleQueryString
-
Bundle of GET/POST parameters. Can include repeated parameters.
-
SimpleQueryString
-
Starts empty.
-
SimpleRadioButtonTag
-
Stashes the attributes.
-
SimpleRadioButtonTag
-
Radio button.
-
SimpleRadioGroup
-
Starts empty.
-
SimpleRadioGroup
-
A group of tags with the same name within a form.
-
SimpleRealm
-
Starts with the initial entry directory.
-
SimpleRealm
-
Represents a single security realm's identity.
-
SimpleRoute
-
Creates HTTP headers for the end point of a HTTP request.
-
SimpleRoute
-
Sets the target URL.
-
SimpleSaxListener
-
SAX event handler.
-
SimpleSaxListener
-
Sets the document to write to.
-
SimpleSaxParser
-
Sets the listener.
-
SimpleSaxParser
-
Converts HTML tokens into selected SAX events.
-
SimpleSecureSocket
-
Opens a secure socket for reading and writing.
-
SimpleSecureSocket
-
Wrapper for TCP/IP socket over TLS.
-
SimpleSelectionTag
-
Starts with attributes only.
-
SimpleSelectionTag
-
Drop down widget.
-
SimpleSocket
-
Opens a socket for reading and writing.
-
SimpleSocket
-
Wrapper for TCP/IP socket.
-
SimpleStateStack
-
States for a stack machine.
-
SimpleStateStack
-
Constructor. Starts in named state.
-
SimpleSubmitTag
-
Starts with a named tag with attributes only.
-
SimpleSubmitTag
-
Submit button.
-
SimpleTag
-
HTML or XML tag.
-
SimpleTag
-
Starts with a named tag with attributes only.
-
SimpleTextAreaTag
-
Content tag for text area.
-
SimpleTextAreaTag
-
Starts with a named tag with attributes only.
-
SimpleTextTag
-
Starts with a named tag with attributes only.
-
SimpleTextTag
-
Text, password and hidden field.
-
SimpleTitleTag
-
Page title.
-
SimpleTitleTag
-
Starts with a named tag with attributes only.
-
SimpleUrl
-
Constructor. Parses URL into sections.
-
SimpleUrl
-
URL parser to replace parse_url() PHP function which got broken in PHP 4.3.0. Adds some browser specific functionality such as expandomatic expansion.
-
SimpleUserAgent
-
Starts with no cookies, realms or proxies.
-
SimpleUserAgent
-
Fetches web pages whilst keeping track of cookies and authentication.
-
SimpleWidget
-
Form element.
-
SimpleWidget
-
Starts with a named tag with attributes only.
-
startElement
-
Start of element event.
-
startElement
-
Start of element event. Opens a new tag.
-
StickyError
-
Stashes an error for later. Useful for constructors until PHP gets exceptions.
-
StickyError
-
Sets the error to empty.
-
stretch
-
Adds another location to the realm.
-
submit
-
Simply submits the form without the submit button value. Used when there is only one button or it is unimportant.
-
submitButtonById
-
Gets the submit values for a button identified by the ID.
-
submitButtonByLabel
-
Gets the submit values for a named button.
-
submitButtonByName
-
Gets the submit values for a named button.
-
submitFormById
-
Submits a form by the ID.
-
submitFormById
-
Submits a form by the ID.
-
submitImageById
-
Gets the submit values for an image identified by the ID.
-
submitImageByLabel
-
Gets the submit values for an image identified by the alt tag or nearest equivalent.
-
submitImageByName
-
Gets the submit values for an image identified by the ID.
-
testBoolean
-
-
testBoolean
-
-
TestCase
-
Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest.
-
TestCase
-
Constructor. Sets the test name.
-
testEquals
-
-
testEquals
-
-
testMultilineEquals
-
-
testName
-
-
testName
-
-
testNulls
-
-
TestOfPearAdapter
-
Adapter for PEAR PHPUnit test case to allow legacy PEAR test cases to be used with SimpleTest.
-
TestOfPearAdapter
-
-
TestOfPhpUnitAdapter
-
Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest.
-
TestOfPhpUnitAdapter
-
-
testPass
-
-
testRegExp
-
-
testRegExp
-
-
testSame
-
-
testType
-
-
tally
-
Totals up the call counts and triggers a test assertion if a test is present for expected call counts.
-
test
-
Tests the expectation. Always true.
-
test
-
Tests the assertion. True if correct.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
tearDown
-
-
tearDown
-
-
tearDown
-
Clears the data set in the setUp() method call.
-
tearDown
-
-
tearDown
-
-
tearDown
-
-
tearDown
-
-
test
-
Tests the expectation. True if it matches the held value.
-
test
-
Tests the expectation. True if correct.
-
test
-
Tests the expectation. True if the type or class matches the string value.
-
test
-
Tests the expectation. False if the Perl regex matches the comparison value.
-
test
-
Tests the expectation. True if it differs from the held value.
-
test
-
Tests the expectation. True if it differs from the held value.
-
test
-
Tests the expectation. True if the Perl regex matches the comparison value.
-
test
-
Tests the expectation. True if the method exists in the test object.
-
test
-
Tests the expectation. False if the type or class matches the string value.
-
test
-
Tests the expectation. True if it exactly matches the held value.
-
testAbsoluteLinkFollowing
-
-
testAbsolutePathPageSplitting
-
-
testAbsoluteUrlsComeFromBothFrames
-
-
testAccessorsWhenNoPage
-
-
testAddAbsoluteLink
-
-
testAddCookie
-
-
testAddingLists
-
-
testAdditionalCode
-
-
testAdditionalHeaderAddedToRequest
-
-
testAddParameters
-
-
testAddRelativeLink
-
-
testAddStrictRelativeLink
-
-
testAgeingAndClearing
-
-
testAging
-
-
testAllWildcard
-
-
testAllWildcardReturn
-
-
testAmbiguousHosts
-
-
testAnchorHref
-
-
testAnyMatch
-
-
testArray
-
-
testArrayMatching
-
-
testAuthenticateHeaderAdded
-
-
testAuthenticationAccessors
-
-
testBadArgParameter
-
-
testBadCommand
-
-
testBadHosts
-
-
testBadRequest
-
-
testBadSocket
-
-
testBadSocketDuringResponse
-
-
testBaseUrlChangesDownwardOnRedirect
-
-
testBaseUrlChangesPageName
-
-
testBaseUrlChangesUpwardOnRedirect
-
-
testBasicParsing
-
-
testBelowRootIsOutside
-
-
testBigList
-
-
testBlitz
-
-
testBool
-
-
testBoolean
-
-
testBoolean
-
-
testBooleanMatching
-
-
testButtons
-
-
testCallCount
-
-
testCallCount
-
-
testCanFocusByName
-
-
testCanFocusOnSingleFrame
-
-
testCannotMoveInEmptyHistory
-
-
testCanReadFrameForFurtherFrames
-
-
testCaseInsensitive
-
-
testCaseSensitive
-
-
testChecked
-
-
testCheckedRadioButtons
-
-
testClearCookieBySettingExpiry
-
-
testClearHistory
-
-
testClearingError
-
-
testClearingParameters
-
-
testClearSessionCookies
-
-
testClickIndexedLink
-
-
testClickingMissingLinkFails
-
-
testClickingMissingLinkIdFails
-
-
testClickLinkRequestsPage
-
-
testClinkLinkById
-
-
testClipping
-
-
testCloning
-
-
testCloning
-
-
testCloningWithChosenClassName
-
-
testCloningWithChosenClassName
-
-
testCloningWithDifferentBaseClass
-
-
testCloningWithDifferentBaseClass
-
-
testCloningWithExtraMethod
-
-
testCloningWithExtraMethod
-
-
testComplexLink
-
-
testComplicatedReturnSequence
-
-
testContent
-
-
testContentComesFromFrameInFocus
-
-
testCookieAccessors
-
-
testCookieClearByDate
-
-
testCookieClearing
-
-
testCookieDefaults
-
-
testCookieReading
-
-
testCookieWriting
-
-
testCurrentTargetAccessors
-
-
testDateExpiry
-
-
testDecodingParameters
-
-
testDefault
-
-
testDefaultGetRequest
-
-
testDefaultGetRequest
-
-
testDefaultPostRequest
-
-
testDefaultPostRequest
-
-
testDefaultReturn
-
-
testDefaultSubmitFormByLabel
-
-
testDefaultUrl
-
-
testDefaultWhenAllReported
-
-
testDescribeArray
-
-
testDescribeBoolean
-
-
testDescribeFloat
-
-
testDescribeInteger
-
-
testDescribeNull
-
-
testDescribeObject
-
-
testDescribeString
-
-
testDifferentHostIsOutsideRealm
-
-
testDifferentPageNameStillInside
-
-
testDisabledRedirects
-
-
testDouble
-
-
testDoubleRedirect
-
-
testDump
-
-
testDumping
-
-
testEcho
-
-
testEcho
-
-
testEmpty
-
-
testEmpty
-
-
testEmpty
-
-
testEmpty
-
-
testEmptyCase
-
-
testEmptyFrameset
-
-
testEmptyFramesetHasNoContent
-
-
testEmptyGroup
-
-
testEmptyGroup
-
-
testEmptyHistoryHasFalseContents
-
-
testEmptyLink
-
-
testEmptyLinkWithId
-
-
testEmptyMatch
-
-
testEmptyMatching
-
-
testEmptyMethod
-
-
testEmptyPage
-
-
testEmptyPage
-
-
testEmptyParameters
-
-
testEncodedLinkAddress
-
-
testEncodingParameters
-
-
testErrorDisplay
-
-
testErrorPatterns
-
-
testErrorSuppressedWhenReported
-
-
testErrorText
-
-
testErrorTrap
-
-
testErrorWhenReported
-
-
testExactReference
-
-
testExactValue
-
-
testException
-
-
testExhaustion
-
-
testExitCode
-
-
testExpectations
-
-
testExpectedArguments
-
-
testExpectedCallCount
-
-
testExpiryFilterByAgeing
-
-
testExpiryFilterByDate
-
-
testFail
-
-
testFailedArguments
-
-
testFailedNever
-
-
testFailedSequence
-
-
testFailToSetHiddenValue
-
-
testFailToSetIllegalOption
-
-
testFailToSetIllegalOptionsInMultiple
-
-
testFailToSetUnlistedValue
-
-
testFalse
-
-
testFetchSetsBaseUrl
-
-
testFieldIsFirstInFramelist
-
-
testFileExistence
-
-
testFilePatterns
-
-
testFindFormById
-
-
testFindFormByImage
-
-
testFindFormByLabel
-
-
testFindingForms
-
-
testFindLinkWithNormalisation
-
-
testFloat
-
-
testFloat
-
-
testFloatMatching
-
-
testForm
-
-
testFormattedMessage
-
-
testFormAttributes
-
-
testFormHandling
-
-
testFramesCollectedWithNestedFramesetTags
-
-
testFramesetAbsence
-
-
testFramesetTag
-
-
testFramesInPage
-
-
testFramesParsedWithoutError
-
-
testFrameWithNoSource
-
-
testFramsetHasPageInterface
-
-
testFullHostname
-
-
testGet
-
-
testGet
-
-
testGetWithAuthentication
-
-
testGetWithParameters
-
-
testGetWithParameters
-
-
testGetWithPort
-
-
testGetWithPort
-
-
testGoingBackwards
-
-
testGoingBackwardsAndForwards
-
-
testGoingBackwardsOffBeginning
-
-
testGoingForwardsOffEnd
-
-
testGroupSize
-
-
testHasEmptyFrameset
-
-
testHash
-
-
testHashEquality
-
-
testHashIdentity
-
-
testHasMethod
-
-
testHead
-
-
testHeadersAccessor
-
-
testHeadersReadFromFrameIfInFocus
-
-
TestHeadersReadFromFramesetByDefault
-
-
testHostFilter
-
-
testHostTruncation
-
-
testHostValidity
-
-
testIdentityOfObjects
-
-
testIdentityOnly
-
-
testIdFollowing
-
-
testIgnore
-
-
testIgnoreList
-
-
testImageSubmitButton
-
-
testIncompleteHeader
-
-
testInput
-
-
testInputTag
-
-
testInsideWithLongerUrl
-
-
testInt
-
-
testInteger
-
-
testInteger
-
-
testIntegerEquality
-
-
testIntegerMatching
-
-
testInterface
-
-
testIsA
-
-
testIsolatedPattern
-
-
testLabelledLink
-
-
testLabelledUrlsComeFromBothFrames
-
-
testLexerFailure
-
-
testLexerSuccess
-
-
testLink
-
-
testLinkAddress
-
-
testLinkAffirmationByIdWhenPresent
-
-
testLinkAffirmationWhenPresent
-
-
testLinkEnd
-
-
testLinkExtraction
-
-
testLinkIds
-
-
testLinksPage
-
-
testLinkStart
-
-
testLinkStartWithEncodedUrl
-
-
testLinkStartWithId
-
-
testLinkWithId
-
-
testLongList
-
-
testLongStrings
-
-
testMakingAbsolute
-
-
testMakingAbsoluteAppendedPath
-
-
testMakingAbsolutehasNoEffectWhenAlreadyAbsolute
-
-
testMakingAnEmptyUrlAbsolute
-
-
testMakingARootUrlAbsolute
-
-
testMakingAShortQueryUrlAbsolute
-
-
testMatchAll
-
-
testMatchMultiple
-
-
testMaxCalls
-
-
testMergeInHash
-
-
testMergeInObject
-
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMethodInterference
-
-
testMethodReplacement
-
-
testMimeAccessor
-
-
testMinCalls
-
-
testMissingParameter
-
-
testMixedTypes
-
-
testMockBase
-
-
testMockWildcards
-
-
testModeChange
-
-
testModeMapping
-
-
testMultipleCookieWithDifferentPaths
-
-
testMultipleCookieWriting
-
-
testMultipleDefaultWithNoSelections
-
-
testMultipleDefaultWithSelections
-
-
testMultipleFieldsWithSameKey
-
-
testMultipleLinks
-
-
testMultipleMethods
-
-
testMultipleMethodSequences
-
-
testMultipleParameter
-
-
testMultiplePattern
-
-
testMultiplePrefilled
-
-
testNamedFrames
-
-
testNamedFramesInPage
-
-
testNastyOptionValuesThatLookLikeFalse
-
-
testNastyTitle
-
-
testNestedGroup
-
-
testNestedHash
-
-
testNesting
-
-
testNewEntryDropsFutureEntries
-
-
testNewEntryReplacesNextOne
-
-
testNewUrlInSameDirectoryDoesNotChangeRealm
-
-
testNewUrlMakesRealmTheCommonPath
-
-
testNoErrorWhenNotReported
-
-
testNoLinks
-
-
testNoNoticeWhenNotReported
-
-
testNoPatterns
-
-
testNoPatterns
-
-
testNoRealms
-
-
testNoSubject
-
-
testNoticeSuppressedWhenReported
-
-
testNoticeWhenReported
-
-
testNoUnitTesterSetThrowsError
-
-
testNoWarningWhenNotReported
-
-
testNull
-
-
testNullEquality
-
-
testNullIdentity
-
-
testNullMatching
-
-
testNullParameter
-
-
testObjectEquality
-
-
testObjectIndentity
-
-
testObjectMatching
-
-
TestOfAdditionalHeaders
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfAdditionalHeaders
-
-
TestOfAuthenticator
-
-
TestOfAuthenticator
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfAuthorisation
-
-
TestOfAuthorisation
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfBadHosts
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfBadHosts
-
-
TestOfBrowserCookies
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfBrowserCookies
-
-
TestOfBrowserNavigation
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfBrowserNavigation
-
-
TestOfCallMap
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfCallMap
-
-
TestOfCompatibility
-
-
TestOfCompatibility
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfCookie
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfCookie
-
-
TestOfDirectRoute
-
-
TestOfDirectRoute
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfEquality
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfEquality
-
-
TestOfErrorPage
-
-
TestOfErrorPage
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfErrorQueue
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfErrorQueue
-
-
TestOfErrors
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfErrors
-
-
TestOfErrorTrap
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfErrorTrap
-
-
TestOfExpandomaticUrl
-
-
TestOfExpandomaticUrl
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfFetchingUrlParameters
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfFetchingUrlParameters
-
-
TestOfForm
-
-
TestOfForm
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfForms
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfForms
-
-
TestOfFrameNavigation
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfFrameNavigation
-
-
TestOfFrameset
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfFrameset
-
-
TestOfFramesetPageInterface
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfFramesetPageInterface
-
-
TestOfHistory
-
-
TestOfHistory
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfHtmlLexer
-
-
TestOfHtmlLexer
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfHtmlPage
-
-
TestOfHtmlPage
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfHttpHeaders
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfHttpHeaders
-
-
TestOfHttpRedirects
-
-
TestOfHttpRedirects
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfHttpRequest
-
-
TestOfHttpRequest
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfHttpResponse
-
-
TestOfHttpResponse
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfIdentity
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfIdentity
-
-
TestOfInequality
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfInequality
-
-
TestOfIsA
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfIsA
-
-
TestOfLexer
-
-
TestOfLexer
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfLexerHandlers
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfLexerHandlers
-
-
TestOfLexerModes
-
-
TestOfLexerModes
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfLiveBrowser
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfLiveBrowser
-
-
TestOfMethodExistence
-
-
TestOfMethodExistence
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfMockExpectations
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfMockExpectations
-
-
TestOfMockGeneration
-
-
TestOfMockGeneration
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfMockObjectsOutput
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfMockObjectsOutput
-
-
TestOfMockReturns
-
-
TestOfMockReturns
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfMockTally
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfMockTally
-
-
TestOfNestingTags
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfNestingTags
-
-
TestOfNonIdentity
-
-
TestOfNonIdentity
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfNotA
-
-
TestOfNotA
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfOptions
-
-
TestOfOptions
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfPageBuilder
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfPageBuilder
-
-
TestOfPageHeaders
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfPageHeaders
-
-
TestOfPageParsing
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfPageParsing
-
-
TestOfPageScraping
-
-
TestOfPageScraping
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfParallelRegex
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfParallelRegex
-
-
TestOfParametersExpectation
-
-
TestOfParametersExpectation
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfParsedPageAccess
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfParsedPageAccess
-
-
TestOfPartialMocks
-
-
TestOfPartialMocks
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfPastBugs
-
-
TestOfPastBugs
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfPatterns
-
-
TestOfPatterns
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfProxyRoute
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfProxyRoute
-
-
TestOfRadioGroup
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfRadioGroup
-
-
TestOfRealm
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfRealm
-
-
testOfResults
-
-
TestOfSaxGeneration
-
-
TestOfSaxGeneration
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfSelection
-
-
TestOfSelection
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfServerStubReturns
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfServerStubReturns
-
-
TestOfShell
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfShell
-
-
TestOfShellTestCase
-
-
TestOfShellTestCase
-
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
-
TestOfShellTesterAndShell
-
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
-
TestOfShellTesterAndShell
-
-
TestOfSimpleCookieJar
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfSimpleCookieJar
-
-
TestOfStateStack
-
-
TestOfStateStack
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfStickyError
-
-
TestOfStickyError
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfStubGeneration
-
-
TestOfStubGeneration
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfTag
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfTag
-
-
TestOfTagGroup
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfTagGroup
-
-
TestOfTextArea
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfTextArea
-
-
TestOfTextFormatting
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfTextFormatting
-
-
TestOfUnitTestCaseOutput
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfUnitTestCaseOutput
-
-
TestOfUrl
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfUrl
-
-
TestOfVisualShell
-
-
TestOfVisualShell
-
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
-
TestOfWidget
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfWidget
-
-
TestOfWildcardExpectation
-
-
TestOfWildcardExpectation
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfXmlResultsParsing
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfXmlResultsParsing
-
-
TestOfXmlStructureParsing
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
TestOfXmlStructureParsing
-
-
testOldNetscapeDefinitionIsOutside
-
-
testOnlyGettingFieldFromFocusedFrame
-
-
testOnlySettingFieldFromFocusedFrame
-
-
testOrder
-
-
testOrdering
-
-
testOtherExpectations
-
-
testOutput
-
-
testOutputPatterns
-
-
testOutsideRealm
-
-
testOverOnce
-
-
testOverwrite
-
-
testOverwriteCookieThatAlreadyExists
-
-
testPageSplitting
-
-
testParameteredReturn
-
-
testParameteredReturn
-
-
testParse
-
-
testParse
-
-
testParseBareParameter
-
-
testParseBasicHeaders
-
-
testParseChallenge
-
-
testParseEmptyParameter
-
-
testParseMultipleParameters
-
-
testParseOfCookies
-
-
testParseOfCookies
-
-
testParseOfResponseHeaders
-
-
testParseParameterPair
-
-
testParsingParameterMixture
-
-
testPass
-
-
testPathFilter
-
-
testPathFilterDeeply
-
-
testPathNormalisation
-
-
testPathValidity
-
-
testPatternLabels
-
-
testPatternMatchReturn
-
-
testPatterns
-
-
testPopulatedSubmit
-
-
testPost
-
-
testPost
-
-
testPrefilled
-
-
testPrefilledWithObject
-
-
testRawAccessor
-
-
testRawContentIsFromAllFrames
-
-
testRawContentIsFromOnlyFrame
-
-
testReadingBadConnection
-
-
testReadingGoodConnection
-
-
testReadingIncomingAndSetCookies
-
-
testReadingMultipleButtonGroup
-
-
testReadingMultipleCheckboxGroup
-
-
testReadingMultipleCheckedItems
-
-
testReadingMultipleUncheckedItems
-
-
testReadingSingleButtonGroup
-
-
testReadingTextArea
-
-
testReadingTextField
-
-
testReadUrlsFromFrameInFocus
-
-
testReal
-
-
testRecordOfSentCharacters
-
-
testRedirect
-
-
testRedirect
-
-
testRedirectChangesPostToGet
-
-
testRedirectWithPort
-
-
testReference
-
-
testReferenceReturned
-
-
testReferenceReturned
-
-
testReferences
-
-
testRelativeLinkFollowing
-
-
testRelativeUrls
-
-
testRelativeUrlsComeFromBothFrames
-
-
testRepeatedParameter
-
-
testRequestEncoding
-
-
testResponseAccessor
-
-
testReturnReferenceSequence
-
-
testReturnReferenceSequence
-
-
testReturnSequence
-
-
testSecondEntryAccessors
-
-
testSendingExistingCookie
-
-
testSequenceFallback
-
-
testSessionExpiring
-
-
testSetBaseUrlWithPost
-
-
testSettingAllFrameFieldsWhenNoFrameFocus
-
-
testSettingError
-
-
testSettingMappedOption
-
-
testSettingMultiple
-
-
testSettingMultipleValues
-
-
testSettingNewValueClearsTheOldOne
-
-
testSettingNoValue
-
-
testSettingOption
-
-
testSettingReturns
-
-
testSettingSelectionField
-
-
testSettingSingleValue
-
-
testSettingTextArea
-
-
testSettingTextField
-
-
testSettingTextValue
-
-
testSignal
-
-
testSignal
-
-
testSimpleInteger
-
-
testSimpleLinkStart
-
-
testSimpleSubmit
-
-
testSimpleTitleStart
-
-
testSingle
-
-
testSingleCheckedRadioButton
-
-
testSingleDefault
-
-
testSingleFrame
-
-
testSingleFrameInNestedFrameset
-
-
testSingleMappedDefault
-
-
testSingleMatch
-
-
testSingleParameter
-
-
testSinglePattern
-
-
testSingleRedirect
-
-
testSingleSelectFieldSubmitted
-
-
testSingleton
-
-
testSingleUncheckedRadioButton
-
-
testSingular
-
-
testSkipComments
-
-
testSkipCss
-
-
testSkipJavaScript
-
-
testSocketClosure
-
-
testSpecificSequence
-
-
testStartState
-
-
testStartsWithDefault
-
-
testStartsWithoutFrameFocus
-
-
testStartValues
-
-
testStateMoves
-
-
testString
-
-
testString
-
-
testStringEquality
-
-
testStringIdentity
-
-
testStringMatch
-
-
testStringMatching
-
-
testStringMismatch
-
-
testStringPosition
-
-
testStubBase
-
-
testSubmit
-
-
testSubmitButton
-
-
testSubmitDefaults
-
-
testSubmitEmpty
-
-
testSubmitFormByFormId
-
-
testSubmitFormById
-
-
testSubmitFormByImageId
-
-
testSubmitFormByImageLabel
-
-
testSubmitFormByImageName
-
-
testSubmitFormByLabel
-
-
testSubmitFormByName
-
-
testSuccessAfterRedirect
-
-
testTagWithNoEnd
-
-
testTextDefault
-
-
testTextEmptyDefault
-
-
testTextWidget
-
-
testTextWidgetById
-
-
testTimestampExpiry
-
-
testTitle
-
-
testTitle
-
-
testTitleContent
-
-
testTitleReadFromFramesetPage
-
-
testTitleSetting
-
-
testTitleTag
-
-
testTransportError
-
-
testTrappedErrorPLacedInQueue
-
-
testTrue
-
-
testType
-
-
testType
-
-
testType
-
-
testTypeEquality
-
-
testTypeIdentity
-
-
testUnchecked
-
-
testUncheckedRadioButtons
-
-
testUnderAtLeastOnce
-
-
testUnderOnce
-
-
testUninteresting
-
-
testUninterestingPage
-
-
testUntestedHost
-
-
testUnwanted
-
-
testUnwindTooFar
-
-
testUrlAccessor
-
-
testUrlByIdComesFromFirstFrameToRespond
-
-
testUrlEncoding
-
-
testUsernameAndPasswordAreUrlDecoded
-
-
testValidXml
-
-
testWanted
-
-
testWarningSuppressedWhenReported
-
-
testWarningWhenReported
-
-
testWildcard
-
-
testWildcardArguments
-
-
testWildcardExpectations
-
-
testWildcardReturn
-
-
testWildcardReturn
-
-
testWithinRealm
-
-
testWithinSameUrl
-
-
testWrapping
-
-
testWritingAdditionalHeaders
-
-
testZeroArguments
-
-
testZeroCallCount
-
-
TextReporter
-
Sample minimal test displayer. Generates only
-
TextReporter
-
Does nothing yet. The first output will be sent on the first test start.
-
toParsedXml
-
Converts character string to parsed XML entities string.
-
TYPE_MATTERS
-
does type matter
-
tag.php
-
-
testAbsoluteLinkFollowing
-
-
testChallengeFromProtectedPage
-
-
testCookiePath
-
-
testCookieReading
-
-
testCookieSetting
-
-
testDefaultFormValues
-
-
testDefaultFormValueSubmission
-
-
testEncodedAuthenticationFetchesPage
-
-
testFormSubmissionByLabel
-
-
testFormSubmissionByName
-
-
testFormSubmissionWithIds
-
-
testGet
-
-
testGetRetryResubmitsData
-
-
testGetRetryResubmitsExtraData
-
-
testGetRetryResubmitsRepeatedData
-
-
testGetWithData
-
-
testIdFollowing
-
-
testImageSubmissionById
-
-
testImageSubmissionByLabel
-
-
testImageSubmissionByName
-
-
testJumpBackADirectoryLevel
-
-
testJumpToNamedPage
-
-
testJumpToUnnamedPage
-
-
testJumpToUnnamedPageWithBareParameter
-
-
testJumpToUnnamedPageWithEmptyLink
-
-
testJumpToUnnamedPageWithEmptyQuery
-
-
testLastCraft
-
-
testNoFramesContentWhenFramesDisabled
-
-
testNoRedirects
-
-
testOfBackButton
-
-
testOfClockOverDrift
-
-
testOfClockUnderDrift
-
-
TestOfLiveAuthentication
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveAuthentication
-
-
TestOfLiveCookies
-
-
TestOfLiveCookies
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveFetching
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveFetching
-
-
TestOfLiveForm
-
-
TestOfLiveForm
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveFrames
-
-
TestOfLiveFrames
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveFrontControllerEmulation
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveFrontControllerEmulation
-
-
TestOfLiveHistoryNavigation
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveHistoryNavigation
-
-
TestOfLiveMultiValueWidgets
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveMultiValueWidgets
-
-
TestOfLiveRedirects
-
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
-
TestOfLiveRedirects
-
-
testPatternMatchCanReadTheOnlyFrame
-
-
testPhpLondon
-
-
testPost
-
-
testPostRetryResubmitsData
-
-
testPostWithData
-
-
testReadingContentFromFocusedFrames
-
-
testRealmExtendsToWholeDirectory
-
-
testRedirectKeepsAuthentication
-
-
testRedirectKeepsExtraRequestDataOfItsOwn
-
-
testRedirectLosesGetData
-
-
testRedirectLosesPostData
-
-
testRedirects
-
-
testRedirectWithBaseUrlChange
-
-
testRedirectWithDoubleBaseUrlChange
-
-
testRelativeGet
-
-
testRelativeLinkFollowing
-
-
testRelativePost
-
-
testRetry
-
-
testSelfSubmit
-
-
TestSimpleSaxParser
-
Converts HTML tokens into selected SAX events.
-
TestSimpleSaxParser
-
-
testSimpleSubmit
-
-
testSlowGet
-
-
testSourceforge
-
-
testSubmitBackADirectoryLevel
-
-
testSubmittingMultipleValues
-
-
testSubmitToEmptyAction
-
-
testSubmitToNamedPage
-
-
testSubmitToNoAction
-
-
testSubmitToSameDirectory
-
-
testTemporaryCookieExpiry
-
-
testTimedCookieExpiry
-
-
testTimedOutGet
-
-
testTitleTakenFromFramesetPage
-