-
after
-
Stops output buffering and send the captured output to the listener.
-
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
-
Simple string equality.
-
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.
-
act
-
Throws the exceptins stashed earlier.
-
act
-
Returns the value stored earlier.
-
act
-
Triggers the stashed error.
-
act
-
Returns the reference stored earlier.
-
add
-
Stashes a reference against a method call.
-
AnythingExpectation
-
A wildcard expectation always matches.
-
atTestEnd
-
Receives event from unit test that the current test method has finished. Totals up the call counts and triggers a test assertion if a test is present for expected call counts.
-
add
-
Adds a test into the suite by instance or class. The class will be instantiated if it's a test suite.
-
add
-
Adds an error to the front of the queue.
-
addFile
-
Builds a test suite from a library of test cases.
-
addTestCase
-
-
addTestClass
-
-
addTestFile
-
-
after
-
Runs test level clean up. Used for changing the mechanics of base test cases.
-
after
-
Runs test level clean up. Used for changing the mechanics of base test cases.
-
after
-
Announces the end of the test. Includes private clean up.
-
assert
-
Runs an expectation directly, for extending the tests with new expectation classes.
-
assertClone
-
Will trigger a pass if both parameters refer to different objects. Fail otherwise. The objects have to be identical though.
-
assertCopy
-
-
assertEqual
-
Will trigger a pass if the two parameters have the same value only. Otherwise a fail. This is for testing hand extracted text, etc.
-
assertEqual
-
Will trigger a pass if the two parameters have the same value only. Otherwise a fail.
-
assertError
-
-
assertError
-
-
assertErrorPattern
-
-
assertExitCode
-
Tests the last status code from the shell.
-
assertExpectation
-
-
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.
-
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
-
-
assertNoErrors
-
-
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.
-
assertNoPattern
-
Will trigger a pass if the perl regex pattern is not present in subject. Fail if found.
-
assertNotA
-
Type and class mismatch test. Will pass if class name or underling type does not match the one specified.
-
assertNotEqual
-
Will trigger a pass if the two parameters have a different value. Otherwise a fail.
-
assertNotEqual
-
Will trigger a pass if the two parameters have a different value. Otherwise a fail. This is for testing hand extracted text, etc.
-
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
-
-
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.
-
assertOutsideMargin
-
Will trigger a pass if the two parameters differ by more than the margin.
-
assertPattern
-
Will trigger a pass if the Perl regex pattern is found in the subject. Fail otherwise.
-
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.
-
assertTrue
-
Called from within the test methods to register passes and failures.
-
assertWantedPattern
-
-
assertWithinMargin
-
Will trigger a pass if the if the first parameter is near enough to the second by the margin.
-
attachReporter
-
Adds a reporter to the subscriber list.
-
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.
-
acceptLabelEnd
-
Closes the most recently opened label.
-
acceptLabelStart
-
Opens a label for a described widget.
-
acceptPageEnd
-
Marker for end of complete page. Any work in progress can now be closed.
-
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
-
Appends string content to the current content.
-
addContent
-
Unparsed, but relevant data. The data is added to every open tag.
-
addContent
-
Text within the selection element is ignored.
-
addContent
-
Text within the selection element is ignored.
-
addContent
-
Unparsed, but relevant data.
-
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.
-
addFrame
-
Adds a parsed page to the frameset.
-
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
-
Presents the appropriate headers for this location.
-
addPattern
-
Adds a token search pattern for a particular parsing mode. The pattern does not change the current mode.
-
addPattern
-
Adds a pattern with an optional label.
-
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 enclosed tag to the content.
-
addTag
-
Adds an option tag to a selection field.
-
addTag
-
Adds an option tag to a selection field.
-
addWidget
-
Adds a tag contents to the form.
-
addWidget
-
Adds a tag to the group.
-
after
-
Announces the end of the test. Includes private clean up.
-
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 all cookies in the cookie jar.
-
agePrematurely
-
Ages the cookie by the specified number of seconds.
-
asMime
-
The MIME part as a string.
-
asMime
-
The MIME part as a string.
-
asRequest
-
The pair as a single string.
-
asRequest
-
The pair as a single string.
-
assertAuthentication
-
Attempt to match the authentication type within the security realm we are currently matching.
-
assertClickable
-
Checks for a click target.
-
assertCookie
-
Checks that a cookie is set for the current page and optionally checks the value.
-
assertEqual
-
Will trigger a pass if the two parameters have the same value only. Otherwise a fail. This is for testing hand extracted text, etc.
-
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.
-
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.
-
assertFieldByName
-
Confirms that the form element is currently set to the expected value. A missing form element will always fail. If no value is given then only the existence of the field is checked.
-
assertHeader
-
Checks each header line for the required value. If no value is given then only an existence check is made.
-
assertHeaderPattern
-
-
assertImage
-
Checks for a valid image with atht alt text or title.
-
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.
-
assertNoHeader
-
Confirms that the header type has not been received.
-
assertNoLink
-
Tests for the non-presence of a link label. Match is case insensitive with normalised space.
-
assertNoLinkById
-
Tests for the non-presence of a link label. Match is case insensitive with normalised space.
-
assertNoPattern
-
Will trigger a pass if the perl regex pattern is not present in raw content.
-
assertNotEqual
-
Will trigger a pass if the two parameters have a different value. Otherwise a fail. This is for testing hand extracted text, etc.
-
assertNoText
-
Will trigger a pass if the text is not found in the plain text form of the page.
-
assertNoUnwantedHeader
-
-
assertNoUnwantedPattern
-
-
assertNoUnwantedText
-
-
assertPattern
-
Will trigger a pass if the Perl regex pattern is found in the raw content.
-
assertRealm
-
Attempts to match the current security realm.
-
assertResponse
-
Checks the response code against a list of possible values.
-
assertSubmit
-
Checks for a valid button label.
-
assertText
-
Will trigger a pass if the text is found in the plain text form of the page.
-
assertTitle
-
Tests the text between the title tags.
-
assertTrue
-
Called from within the test methods to register passes and failures.
-
assertWantedPattern
-
-
assertWantedText
-
-
asString
-
Renders the URL back into a string.
-
asUrlRequest
-
Renders the query string as a URL encoded request part for attaching to a URL.
-
asUrlRequest
-
Renders the query string as a URL encoded request part for attaching to a URL.
-
attach
-
Adds a MIME part to the query. Does nothing for a form encoded packet.
-
attachLabelBySelector
-
Used by the page object to set widgets labels to external label tags.
-
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
-
-
copy
-
Creates a copy whether in PHP5 or PHP4.
-
compatibility.php
-
-
createInvoker
-
Wraps the test in an output buffer.
-
createListener
-
Localhost connection from Eclipse.
-
countTestCases
-
For progress indication during a test amongst other things.
-
CallCountExpectation
-
Stashes the method and expected count for later reporting.
-
CallCountExpectation
-
Confirms that the number of calls on a method is as expected.
-
classExists
-
Checks that a class has been declared. Versions before PHP5.0.2 need a check that it's not really an interface.
-
classExistsSansAutoload
-
Needed to kill the autoload feature in PHP5 for classes created dynamically.
-
classOrInterfaceExists
-
Checks that a class or interface has been declared.
-
classOrInterfaceExistsSansAutoload
-
Needed to kill the autoload feature in PHP5 for classes created dynamically.
-
clear
-
Clears down the current context.
-
clear
-
Discards the contents of the error queue.
-
clear
-
Discards the contents of the error queue.
-
clipString
-
Clips a string to a maximum length.
-
collect
-
Scans the directory and adds what it can.
-
collect
-
Delegates to a visiting collector to add test files.
-
createInvoker
-
Used to invoke the single tests.
-
createInvoker
-
Every reporter gets a chance to wrap the invoker.
-
createInvoker
-
Can wrap the invoker in preperation for running a test.
-
createInvoker
-
Can wrap the invoker in preperation for running a test.
-
createSuiteFromClasses
-
Builds a test suite from a class list.
-
collector.php
-
-
clear
-
Empties the request of parameters.
-
clearFrameFocus
-
Clears the frame focus.
-
clearFrameFocus
-
Clears the frame focus. All frames will be searched for content.
-
clearFrameFocus
-
Clears the frame focus. All frames will be searched for content.
-
clearFrameFocus
-
Clears the frame focus. Does nothing for a leaf page.
-
clearRequest
-
Clears down all parameters.
-
click
-
Clicks a visible text item. Will first try buttons, then links and then images.
-
click
-
Clicks a visible text item. Will first try buttons, then links and then images.
-
clickImage
-
Clicks the submit image by some kind of label. Usually
-
clickImage
-
Clicks the submit image by some kind of label. Usually
-
clickImageById
-
Clicks the submit image by ID attribute. The owning form will be submitted by this. Clicking outside of the boundary of the coordinates will result in a failure.
-
clickImageById
-
Clicks the submit image by ID attribute. The owning form will be submitted by this. Clicking outside of the boundary of the coordinates will result in a failure.
-
clickImageByName
-
Clicks the submit image by the name. Usually
-
clickImageByName
-
Clicks the submit image by the name. Usually
-
clickLink
-
Follows a link by label. Will click the first link found with this link text by default, or a later one if an index is given. The match ignores case and white space issues.
-
clickLink
-
Follows a link by name. Will click the first link found with this link text by default, or a later one if an index is given. Match is case insensitive with normalised space.
-
clickLinkById
-
Follows a link by id attribute.
-
clickLinkById
-
Follows a link by id attribute.
-
clickSubmit
-
Clicks the submit button by label. The owning form will be submitted by this.
-
clickSubmit
-
Clicks the submit button by label. The owning form will be submitted by this.
-
clickSubmitById
-
Clicks the submit button by ID attribute. The owning form will be submitted by this.
-
clickSubmitById
-
Clicks the submit button by ID attribute of the button itself. The owning form will be submitted by this.
-
clickSubmitByName
-
Clicks the submit button by name attribute. The owning form will be submitted by this.
-
clickSubmitByName
-
Clicks the submit button by name attribute. The owning form will be submitted by this.
-
close
-
Closes the socket preventing further reads.
-
createBrowser
-
Creates a new default web browser object.
-
createConnection
-
Opens a socket to the route.
-
createConnection
-
Opens a socket to the route.
-
createLexer
-
Sets up the matching lexer. Starts in 'text' mode.
-
createTag
-
Factory for the tag objects. Creates the appropriate tag object for the incoming tag name and attributes.
-
cookies.php
-
-
getDumper
-
Means to display human readable object comparisons.
-
getName
-
Accessor for name, normally just the class name.
-
generate
-
Clones a class' interface and creates a mock version that can have return values and expectations 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.
-
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.
-
generateSubclass
-
Subclasses a class and overrides every method with a mock one that can have return values and expectations set. Chains to an aggregated SimpleMock.
-
getCallCount
-
Fetches the call count of a method so far.
-
getExpectationLine
-
Uses a stack trace to find the line of an assertion.
-
get
-
Accessor for the Singleton resource.
-
getAssertionLine
-
Uses a stack trace to find the line of an assertion.
-
getBaseTestCase
-
Test to see if a class is derived from the SimpleTestCase class.
-
getContext
-
Accessor for the context of the current test run.
-
getDefaultProxy
-
Accessor for default proxy host.
-
getDefaultProxy
-
-
getDefaultProxyPassword
-
Accessor for default proxy password.
-
getDefaultProxyPassword
-
-
getDefaultProxyUsername
-
Accessor for default proxy username.
-
getDefaultProxyUsername
-
-
getDumper
-
Gets the formatter for variables and other small generic data items.
-
getDumper
-
Gets the formatter for variables and other small generic data items.
-
getDumper
-
Gets the formatter for variables and other small generic data items.
-
getExceptionCount
-
Accessor for the number of untrapped errors so far.
-
getFailCount
-
Accessor for the number of fails so far.
-
getInterfaceMethods
-
Gets the list of methods for the implemented interfaces only.
-
getInterfaces
-
Gets the list of interfaces from a class. If the class name is actually an interface then just that interface is returned.
-
getLabel
-
Accessor for the test name for subclasses.
-
getLabel
-
Accessor for the test name for subclasses. If the suite wraps a single test case the label defaults to the name of that test.
-
getLabel
-
Accessor for the test name for subclasses.
-
getLabel
-
Accessor for the test name for subclasses.
-
getLabel
-
Accessor for the test name for subclasses.
-
getMethods
-
Gets the list of methods on a class or interface.
-
getMockBaseClass
-
-
getMockBaseClass
-
-
getName
-
Accessor for name.
-
getOutput
-
Accessor for the last output.
-
getOutput
-
Accessor for the last output.
-
getOutputAsList
-
Accessor for the last output.
-
getOutputAsList
-
Accessor for the last output.
-
getOutstanding
-
Tests for any left over exception.
-
getParent
-
Finds the parent class name.
-
getPassCount
-
Accessor for the number of passes so far.
-
getReporter
-
Accessor for current reporter.
-
getSeverityAsString
-
Converts an error code into it's string representation.
-
getSignature
-
Writes the source code matching the declaration of a method.
-
getSize
-
Accessor for the number of subtests.
-
getSize
-
Accessor for the number of subtests including myelf.
-
getSize
-
Number of contained test cases. Always zero.
-
getSize
-
Number of contained test cases.
-
getSize
-
Accessor for the number of subtests.
-
getSize
-
The size in the attributes.
-
getStatus
-
Accessor for current status. Will be false if there have been any failures or exceptions.
-
getStatus
-
Accessor for current status. Will be false if there have been any failures or exceptions.
-
getStatus
-
Accessor for current status. Will be false if there have been any failures or exceptions.
-
getTest
-
Run only this test.
-
getTest
-
Accessor for currently running test case.
-
getTestCase
-
Run only this test suite.
-
getTestCase
-
Accessor for test case being run.
-
getTestCase
-
Accessor for test case being run.
-
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.
-
getTests
-
Gets a list of test names. Normally that will be all internal methods that start with the name "test". This method should be overridden if you want a different rule.
-
getType
-
Gets the string representation of a type.
-
getVersion
-
Reads the SimpleTest version from the release file.
-
getVersion
-
-
GroupTest
-
-
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.
-
getAction
-
Absolute URL of the target.
-
getAll
-
Accessor for listing of pairs.
-
getAllTopLevelDomains
-
A pipe seperated list of all TLDs that result in two part domain names.
-
getAssertionLine
-
Uses a stack trace to find the line of an assertion.
-
getAttribute
-
Accessor for an attribute.
-
getAttribute
-
Accessor for an attribute.
-
getAuthentication
-
Accessor for last Authentication type. Only valid straight after a challenge (401).
-
getAuthentication
-
Accessor for authentication type.
-
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).
-
getBaseCookieValue
-
Reads the current cookies within the base URL.
-
getBasePath
-
Gets the path to the page.
-
getBaseUrl
-
Base URL if set via BASE tag page url otherwise
-
getBaseUrl
-
Page base URL.
-
getBaseUrl
-
Accessor for base URL of page if set via BASE tag
-
getBrowser
-
Gets a current browser reference for setting special expectations or for detailed examination of page fetches.
-
getChildElements
-
List of legal child elements.
-
getContent
-
Accessor for the whole content so far.
-
getContent
-
Accessor for raw page information.
-
getContent
-
Accessor for the content after the last header line.
-
getContentAsText
-
Accessor for plain text version of the page.
-
getCookie
-
Gets the cookie value for the current browser context.
-
getCookieValue
-
Reads the most specific cookie value from the browser cookies.
-
getCookieValue
-
Reads the most specific cookie value from the browser cookies. Looks for the longest path that matches.
-
getCookieValue
-
Reads the most specific cookie value from the browser cookies.
-
getCurrent
-
Accessor for current state.
-
getCurrentCookieValue
-
Reads the current cookies for the current URL.
-
getDefault
-
Accessor for starting value.
-
getDefault
-
Accessor for starting value that is active.
-
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. The default value is "on".
-
getDefault
-
Accessor for starting value that is active.
-
getDefault
-
Accessor for default value parsed with the tag.
-
getDefault
-
Scans options for defaults to populate the value array().
-
getDefault
-
Scans options for defaults. If none, then the first option is selected.
-
getEncodedRequest
-
Accessor for current request parameters in URL string form. Will return teh original request if at all possible even if it doesn't make much sense.
-
getError
-
Accessor for an outstanding error.
-
getExpiry
-
Accessor for expiry.
-
getField
-
Accessor for a form element value within a page.
-
getField
-
Accessor for a form element value within a page.
-
getField
-
Accessor for a form element value within the page.
-
getFieldById
-
Accessor for a form element value within the page.
-
getFieldByName
-
Accessor for a form element value within the page.
-
getFor
-
Access for the ID to attach the label to.
-
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
-
getFormByImage
-
Finds a held form by image using a selector.
-
getFormByImage
-
Finds a held form by image using a selector.
-
getFormBySubmit
-
Finds a held form by button label. Will only search correctly built forms.
-
getFormBySubmit
-
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. Will have the nested frame focus if any.
-
getFrameFocus
-
Accessor for current frame focus. Will be false as no frames.
-
getFrames
-
Accessor for frames information.
-
getFrames
-
Fetches a list of loaded frames.
-
getFrames
-
Accessor for a breakdown of the frameset.
-
getFrameset
-
Accessor for frame name and source URL for every frame that will need to be loaded. Immediate children only.
-
getHeaders
-
Accessor for header block. The response is the combination of this and the content.
-
getHeaders
-
Accessor for raw headers of page.
-
getHeaders
-
Accessor for raw header information.
-
getHeaders
-
Accessor for raw header information.
-
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.
-
getIdentity
-
Extracts the username and password for use in rendering a URL.
-
getKey
-
Is this the value we are looking for?
-
getKey
-
Is this the value we are looking for?
-
getLabel
-
Value of browser visible text.
-
getLabel
-
Value of browser visible text.
-
getLabel
-
Value of browser visible text.
-
getLink
-
Finds a URL by label. Will find the first link found with this link text by default, or a later one if an index is given. The match ignores case and white space issues.
-
getLinkById
-
Finds a link by id attribute.
-
getLocation
-
Returns the redirected URL or false if no redirection.
-
getMethod
-
HTTP request method.
-
getMethod
-
HTTP request method.
-
getMethod
-
Original request method.
-
getMethod
-
Request method used to fetch this frame.
-
getMethod
-
Accessor for method of form submission.
-
getMethod
-
HTTP request method.
-
getMethod
-
Original request method.
-
getMimeType
-
Accessor for current MIME type.
-
getMimeType
-
Accessor for current MIME type.
-
getMimeType
-
Accessor for current MIME type.
-
getMimeType
-
Accessor for MIME type header information.
-
getName
-
-
getName
-
Accessor for name submitted as the key in GET/POST variables hash.
-
getName
-
Fetches the name for the widget from the first member.
-
getName
-
Accessor for name.
-
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 text of either all the pages or the frame in focus.
-
getRaw
-
Accessor for raw header block.
-
getRaw
-
Accessor for raw text of page.
-
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).
-
getRealm
-
Accessor for security realm.
-
getRealm
-
Accessor for last Authentication realm. Only valid straight after a challenge (401).
-
getRequest
-
Accessor for raw bytes sent down the wire.
-
getRequest
-
Original request as bytes sent down the wire.
-
getRequest
-
Accessor for outgoing header information.
-
getRequestData
-
Original request data.
-
getRequestData
-
Original request data.
-
getRequestData
-
Original request data.
-
getResponseCode
-
Accessor for last response code.
-
getResponseCode
-
Accessor for last response code.
-
getResponseCode
-
Accessor for parsed HTTP error 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.
-
getTarget
-
Gets the frame target if present. Although not strictly part of the URL specification it acts as similarily to the browser.
-
getText
-
Accessor for content reduced to visible text. Acts like a text mode browser, normalising space and reducing images to their alt text.
-
getText
-
Accessor for plain text of either all the pages or the frame in focus.
-
getText
-
Accessor for plain text of page as a text browser would see it.
-
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
-
Accessor for the currently selected URL.
-
getUrl
-
Accessor for current URL of page or frame if focused.
-
getUrl
-
Last fully qualified URL for current history position.
-
getUrl
-
Original resource name.
-
getUrl
-
Resource name.
-
getUrl
-
Resource name.
-
getUrl
-
Original resource name.
-
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 that ID attribute is returned only. Focus on a frame if you want one from a specific part of the frameset.
-
getUrls
-
Accessor for a list of all links in current page.
-
getUrls
-
Accessor for a list of all links.
-
getUrls
-
Accessor for a list of all fixed links.
-
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.
-
getValue
-
Extracts current value from form.
-
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 single value.
-
getValue
-
Is this the value we are looking for?
-
getValue
-
Is this the value we are looking for?
-
getValue
-
Accessor for current selection value.
-
getValue
-
Accessor for value. A deleted cookie will have an empty string for this.
-
getValue
-
Accessor for current selected widget or false if none.
-
getX
-
Accessor for horizontal image coordinate.
-
getY
-
Accessor for vertical image coordinate.
-
isA
-
Test to see if an object is a member of a class hiearchy.
-
isIdentical
-
Identity test. Drops back to equality + types for PHP5 objects as the === operator counts as the stronger reference constraint.
-
isReference
-
Test for two variables being aliases.
-
isMatch
-
Searches the call list for a matching parameter set. True if successful.
-
IdenticalExpectation
-
Test for identity.
-
IdenticalExpectation
-
Sets the value to compare against.
-
ignore
-
-
ignore
-
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.
-
ignoreParentsIfIgnored
-
Scans the now complete ignore list, and adds
-
inCli
-
Static check for running in the comand line.
-
invoke
-
Invokes a test method and buffered with setUp() and tearDown() calls.
-
invoke
-
Invokes a test method whilst trapping expected exceptions. Any left over unthrown exceptions are then reported as failures.
-
invoke
-
Invokes a test method and dispatches any untrapped errors. Called back from the visiting runner.
-
invoke
-
Invokes a test method and buffered with setUp() and tearDown() calls.
-
isAbstract
-
Trivially determines if the class is abstract.
-
IsAExpectation
-
Tests either type or class name if it's an object.
-
IsAExpectation
-
Sets the type to compare with.
-
isExpectation
-
Test to see if a value is an expectation object.
-
isExpected
-
Compares the expected exception with any in the queue. Issues a pass or fail and returns the state of the test.
-
isIgnored
-
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.
-
isIgnored
-
-
isInterface
-
Trivially determines if the class is an interface.
-
isXml
-
Output should be XML or not.
-
invoker.php
-
-
ignore
-
Incoming data to be ignored.
-
ignoreCookies
-
Switches off cookie sending and recieving.
-
ignoreCookies
-
Switches off cookie sending and recieving.
-
ignoreCookies
-
Switches off cookie sending and recieving.
-
ignoreErrors
-
Skips errors for the next request only. You might want to confirm that a page is unreachable for example.
-
ignoreFrames
-
Disables frames support. Frames will not be fetched and the frameset page will be used instead.
-
ignoreFrames
-
Disables frames support. Frames will not be fetched and the frameset page will be used instead.
-
isChallenge
-
Test to see if the response is an authentication challenge.
-
isClickable
-
Tests to see if a click target exists.
-
isError
-
Test for an outstanding error.
-
isExpired
-
Test to see if cookie is expired against the cookie format time or timestamp.
-
isId
-
Test to see if id attribute matches.
-
isId
-
Scans the widgets for one with the appropriate ID field.
-
isImage
-
Tests to see if an image exists with this title or alt text.
-
isKey
-
Is this the value we are looking for?
-
isKey
-
Is this the value we are looking for?
-
isLabel
-
Test for a label match when searching.
-
isLabel
-
Test for a label match when searching.
-
isLabel
-
Test for a label match when searching.
-
isLabel
-
Scans the widgets for one with the appropriate attached label.
-
isLabel
-
Reads external or internal label.
-
isMatch
-
Comparison. Compares visible text of widget or related label or name.
-
isMatch
-
Comparison. Compares id attribute of widget.
-
isMatch
-
Compares with name attribute of widget.
-
isMatch
-
Comparison. Compares visible text of widget or related label.
-
isOpen
-
Accessor for socket open state.
-
isPrivateContent
-
The content of options is not part of the page.
-
isPrivateContent
-
The content of textarea is not part of the page.
-
isPrivateContent
-
The current tag should not swallow all content for itself as it's searchable page content. Private content tags are usually widgets that contain default values.
-
isRedirect
-
Test to see if the response is a valid redirect.
-
isSecure
-
Accessor for the secure flag.
-
isSubmit
-
Tests to see if a submit button exists with this label.
-
isValidHost
-
Test for a cookie being valid for a host name.
-
isValidPath
-
Tests a path to see if the cookie applies there. The test path must be longer or equal to the cookie path.
-
isValue
-
Test to see if a value matches the option.
-
isWithin
-
Test to see if the URL is within the directory tree of the realm.
-
paintCaseEnd
-
Drops the name.
-
paintCaseStart
-
Stashes the test case name for the later failure message.
-
paintError
-
Stash the first error. Clicking the test item goes to first error.
-
paintException
-
Stash the first exception. Clicking the test item goes to first message.
-
paintFail
-
Stash the first failing item. Clicking the test item goes to first fail.
-
paintFooter
-
We don't display any special footer.
-
paintGroupEnd
-
Paints coverage report if enabled.
-
paintGroupStart
-
Stashes the name of the test suite. Starts test coverage if enabled.
-
paintHeader
-
We don't display any special header.
-
paintMethodEnd
-
Only send one message if the test passes, after that suppress the message.
-
paintMethodStart
-
Paints nothing at the start of a test method, but stash the method name for later.
-
paintPass
-
Stash the first passing item. Clicking the test item goes to first pass.
-
PHPUnit_TestCase
-
Constructor. Sets the test name.
-
PHPUnit_TestCase
-
Adapter for PEAR PHPUnit test case to allow legacy PEAR test cases to be used with SimpleTest.
-
pear_test_case.php
-
-
phpunit_test_case.php
-
-
ParametersExpectation
-
Parameter comparison assertion.
-
ParametersExpectation
-
Sets the expected parameter list.
-
parser.php
-
-
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.
-
paintCaseEnd
-
Paints the end of a test case.
-
paintCaseEnd
-
Paints the end of a test case.
-
paintCaseEnd
-
Paints the end of a test case.
-
paintCaseEnd
-
-
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
-
-
paintCaseStart
-
Paints the start of a test case.
-
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
-
Chains to the wrapped reporter.
-
paintError
-
Chains to the wrapped reporter.
-
paintError
-
Paints a PHP error.
-
paintError
-
Deals with PHP 4 throwing an error.
-
paintError
-
Paints a PHP error or exception.
-
paintError
-
Paints error as XML.
-
paintException
-
Deals with PHP 5 throwing an exception.
-
paintException
-
Chains to the wrapped reporter.
-
paintException
-
Paints exception as XML.
-
paintException
-
Paints a PHP exception.
-
paintException
-
Chains to the wrapped reporter.
-
paintException
-
Paints a PHP error or exception.
-
paintFail
-
Paints the test failure as a stack trace.
-
paintFail
-
-
paintFail
-
Chains to the wrapped reporter.
-
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
-
Paints failure as XML.
-
paintFail
-
Chains to the wrapped reporter.
-
paintFooter
-
Paints the end of the test with a summary of the passes and failures.
-
paintFooter
-
Paints the end of the test with a summary of the passes and failures.
-
paintFooter
-
Paints the test document footer.
-
paintFooter
-
Paints the test document footer.
-
paintFormattedMessage
-
Chains to the wrapped reporter.
-
paintFormattedMessage
-
Paints a formatted ASCII message such as a variable dump.
-
paintFormattedMessage
-
Chains to the wrapped reporter.
-
paintFormattedMessage
-
Paints formatted text such as dumped variables.
-
paintFormattedMessage
-
Paints a formatted ASCII message such as a variable dump.
-
paintFormattedMessage
-
Paints formatted text such as dumped variables.
-
paintGroupEnd
-
Paints the end of a group test.
-
paintGroupEnd
-
Paints the end of a group test.
-
paintGroupEnd
-
Paints the end of a group test.
-
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. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
-
paintGroupStart
-
Paints the start 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.
-
paintHeader
-
Paints the title only.
-
paintHeader
-
Paints the test document header.
-
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
-
Paints a simple supplementary message.
-
paintMessage
-
Paints a simple supplementary message.
-
paintMessage
-
Chains to the wrapped reporter.
-
paintMessage
-
Chains to the wrapped reporter.
-
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.
-
paintMethodEnd
-
Paints the end of a test method.
-
paintMethodEnd
-
Paints the end of a test method.
-
paintMethodEnd
-
-
paintMethodEnd
-
Paints the end of a test method.
-
paintMethodStart
-
-
paintMethodStart
-
Paints the start 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.
-
paintMethodStart
-
Paints the start of a test method.
-
paintPass
-
Chains to the wrapped reporter.
-
paintPass
-
Increments the pass count.
-
paintPass
-
Paints pass as XML.
-
paintPass
-
Chains to the wrapped reporter.
-
paintSignal
-
By default just ignores user generated events.
-
paintSignal
-
Serialises the event object.
-
paintSignal
-
Chains to the wrapped reporter.
-
paintSignal
-
Chains to the wrapped reporter.
-
paintSkip
-
Does nothing.
-
paintSkip
-
Prints the message for skipping tests.
-
paintSkip
-
Prints the message for skipping tests.
-
paintSkip
-
Paints the skipping message and tag.
-
paintSkip
-
Prints the message for skipping tests.
-
paintSkip
-
Prints the message for skipping tests.
-
paintSkip
-
Prints the message for skipping tests.
-
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
-
Parses a block of XML sending the results to the listener.
-
pass
-
-
PatternExpectation
-
Sets the value to compare against.
-
PatternExpectation
-
Test for a pattern using Perl regex rules.
-
prefer
-
Puts the object to the global pool of 'preferred' objects which can be retrieved with SimpleTest :: preferred() method.
-
preferred
-
Retrieves 'preferred' objects from global pool. Class filter
-
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
-
Splits the page text into tokens. Will fail
-
parse
-
Runs the content through the lexer which should call back to the acceptors.
-
parse
-
Reads the raw content and send events into the page to be built.
-
post
-
Fetches the page content with a POST request.
-
post
-
Fetches a page by POST into the page buffer.
-
page.php
-
-
setTimeout
-
Sets a socket timeout for each chunk.
-
SimpleTestCompatibility
-
Static methods for compatibility between different PHP versions.
-
setLooselyTyped
-
Sets equality operation to act as a simple equal comparison only, allowing a broader range of matches.
-
setName
-
Does nothing. For compatibility only.
-
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.
-
SimpleByReference
-
A type of SimpleMethodAction.
-
SimpleByReference
-
Stashes it for later.
-
SimpleByValue
-
Stashes it for later.
-
SimpleByValue
-
A type of SimpleMethodAction.
-
SimpleCallSchedule
-
Sets up an empty response schedule.
-
SimpleCallSchedule
-
Allows setting of actions against call signatures either at a specific time, or always. Specific time settings trump lasting ones, otherwise the most recently added will mask an earlier match.
-
SimpleErrorThrower
-
A type of SimpleMethodAction.
-
SimpleErrorThrower
-
Stashes an error to throw later.
-
SimpleMock
-
Creates an empty action list and expectation list.
-
SimpleMock
-
A base class or delegate that extends an
-
SimpleSignatureMap
-
Creates an empty call map.
-
SimpleSignatureMap
-
Retrieves method actions by searching the parameter lists until an expected match is found.
-
SimpleThrower
-
Stashes it for later.
-
SimpleThrower
-
A type of SimpleMethodAction.
-
Stub
-
-
socket.php
-
-
SelectiveReporter
-
Selects the test case or group to be run, and optionally a specific test.
-
SelectiveReporter
-
Runs just a single test group, a single case or even a single test within that case.
-
selectRunnableTests
-
Calculates the incoming test cases. Skips abstract and ignored classes.
-
sendMessage
-
-
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.
-
setMockBaseClass
-
-
setMockBaseClass
-
-
setName
-
Sets the test case/method name.
-
setReporter
-
Sets the current reporter. This global instance can be used by the mock objects to send messages.
-
setTest
-
Sets the current test case instance. This global instance can be used by the mock objects to send message to the test cases.
-
setTestCase
-
Sets the currently running test case.
-
setUp
-
Sets up unit test wide variables at the start of each test method. To be overridden in actual user test cases.
-
ShellTestCase
-
Test case for testing of command line scripts and utilities. Usually scripts that are external to the PHP code, but support it in some way.
-
ShellTestCase
-
Creates an empty test case. Should be subclassed with test methods for a functional test case.
-
shouldInvoke
-
The reporter has a veto on what should be run.
-
shouldInvoke
-
The reporter has a veto on what should be run.
-
shouldInvoke
-
The reporter has a veto on what should be run.
-
shouldInvoke
-
Veto everything that doesn't match the method wanted.
-
signal
-
-
SimpleCollector
-
-
SimpleCommandLineParser
-
Parses raw command line arguments into object properties.
-
SimpleCommandLineParser
-
Parser for command line arguments. Extracts the a specific test to run and engages XML reporting when necessary.
-
SimpleDumper
-
Displays variables as text and does diffs.
-
SimpleErrorQueue
-
Starts with an empty queue.
-
SimpleErrorQueue
-
Error queue used to record trapped errors.
-
SimpleErrorTrappingInvoker
-
Extension that traps errors into an error queue.
-
SimpleErrorTrappingInvoker
-
Stores the invoker to wrap.
-
SimpleExceptionTrap
-
Stores expected exceptions for when they get thrown. Saves the irritating try...catch block.
-
SimpleExceptionTrappingInvoker
-
Extension that traps exceptions and turns them into an error message. PHP5 only.
-
SimpleExceptionTrappingInvoker
-
Stores the invoker to be wrapped.
-
SimpleExpectation
-
Creates a dumper for displaying values and sets the test message.
-
SimpleExpectation
-
Assertion that can display failure information.
-
SimpleFileLoader
-
Helps to extract test cases automatically from a file.
-
SimpleInvoker
-
This is called by the class runner to run a single test method. Will also run the setUp() and tearDown() methods.
-
SimpleInvoker
-
Stashes the test case for later.
-
SimpleInvokerDecorator
-
Stores the invoker to wrap.
-
SimpleInvokerDecorator
-
Do nothing decorator. Just passes the invocation straight through.
-
SimplePatternCollector
-
-
SimplePatternCollector
-
An extension to
SimpleCollector that only adds files matching a given pattern.
-
SimpleReflection
-
Version specific reflection API.
-
SimpleReflection
-
Stashes the class/interface.
-
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.
-
SimpleReporterDecorator
-
Mediates between the reporter and the test case.
-
SimpleReporterDecorator
-
For modifying the behaviour of the visual reporters.
-
SimpleScorer
-
Can receive test events and display them. Display is achieved by making display methods available and visiting the incoming event.
-
SimpleScorer
-
Starts the test run with no results.
-
SimpleShell
-
Wrapper for exec() functionality.
-
SimpleShell
-
Executes the shell comand and stashes the output.
-
SimpleStackTrace
-
Interrogates the stack trace to recover the failure point.
-
SimpleStackTrace
-
Stashes the list of target prefixes.
-
SimpleTest
-
Registry and test context. Includes a few global options that I'm slowly getting rid of.
-
SimpleTestCase
-
Sets up the test with no display.
-
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.
-
SimpleTestContext
-
Container for all components for a specific
-
SimpleTestErrorHandler
-
Error handler that simply stashes any errors into the global error queue. Simulates the existing behaviour with respect to logging errors, but this feature may be removed in future.
-
SimpleTestOptions
-
-
SimpleTestXmlParser
-
Parser for importing the output of the XmlReporter.
-
SimpleTestXmlParser
-
Loads a listener with the SimpleReporter interface.
-
SIMPLE_TEST
-
Includes SimpleTest files and defined the root constant for dependent libraries.
-
skip
-
This is a placeholder for skipping tests. In this method you place skipIf() and skipUnless() calls to set the skipping state.
-
skipIf
-
Will issue a message to the reporter and tell the test case to skip if the incoming flag is true.
-
skipUnless
-
Will issue a message to the reporter and tell the test case to skip if the incoming flag is false.
-
swallowErrors
-
-
scorer.php
-
-
shell_tester.php
-
-
simpletest.php
-
-
selectAsPairs
-
Uses a URL to sift relevant cookies by host and path. Results are list of strings of form "name=value".
-
setBrowser
-
Gets a current browser reference for setting special expectations or for detailed examination of page fetches.
-
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 an additional cookie. If a cookie has the same name and path it is replaced.
-
setCookie
-
Sets an additional cookie. If a cookie has the same name and path it is replaced.
-
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.
-
setCoordinates
-
Sets image coordinates. Set to false to clear them.
-
setDefaultTarget
-
Sets the frame target within a frameset.
-
setField
-
Sets a field on each form in which the field is available.
-
setField
-
Sets all form fields with that name.
-
setField
-
Sets a widget value within the form.
-
setField
-
Sets all form fields with that label, or name if there is no label attached.
-
setField
-
Sets a field on each form in which the field is available.
-
setFieldById
-
Sets all form fields with that id.
-
setFieldById
-
Sets all form fields with that id attribute.
-
setFieldByName
-
Sets all form fields with that name. Will use label if one is available (not yet implemented).
-
setFieldByName
-
Sets all form fields with that name.
-
setFrame
-
Replaces existing frame with another. If the frame is nested, then the call is passed down one level.
-
setFrameFocus
-
Sets the focus by name.
-
setFrameFocus
-
Sets the focus by name.
-
setFrameFocus
-
Sets the focus by name. Always fails for a leaf page.
-
setFrameFocus
-
Sets the focus by name. If already focused and the target frame also has frames, then the nested frame will be focused.
-
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.
-
setLabel
-
Allows setting of a label externally, say by a label tag.
-
setMaximumNestedFrames
-
Sets the maximum number of nesting of framed pages within a framed page to prevent loops.
-
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.
-
setMaximumRedirects
-
Sets the maximum number of redirects before a page will be loaded anyway.
-
setTarget
-
Attaches a frame target.
-
setValue
-
Can only set allowed values. Any illegal value will result in a failure, but all correct values will be set.
-
setValue
-
The only allowed value sn the one in the "value" attribute.
-
setValue
-
Each tag is tried in turn until one is successfully set. The others will be unchecked if successful.
-
setValue
-
Disables the setting of the button value.
-
setValue
-
Does nothing.
-
setValue
-
The only allowed value in the one in the "value" attribute. The default for this attribute is "on". If this widget is set to true, then the usual value will be taken.
-
setValue
-
Disables the setting of the button value.
-
setValue
-
Accessor for current set values.
-
setValue
-
Can only set allowed values.
-
setValue
-
Disables the setting of the button value.
-
setValue
-
Sets the current form element value. Cannot change the value of a hidden field.
-
setValue
-
Sets the current form element value.
-
setValue
-
Applies word wrapping if needed.
-
showHeaders
-
Dumps the current HTTP headers for debugging.
-
showRequest
-
Dumps the current request for debugging.
-
showSource
-
Dumps the current HTML source for debugging.
-
showText
-
Dumps the visible text only for debugging.
-
SimpleAnchorTag
-
Link.
-
SimpleAnchorTag
-
Starts with a named tag with attributes only.
-
SimpleAttachment
-
Single post parameter.
-
SimpleAttachment
-
Stashes the data for rendering later.
-
SimpleAuthenticator
-
Clears the realms.
-
SimpleAuthenticator
-
Manages security realms.
-
SimpleBaseTag
-
Base url.
-
SimpleBaseTag
-
Starts with a named tag with attributes only.
-
SimpleBrowser
-
Simulated web browser. This is an aggregate of the user agent, the HTML parsing, request history and the last header set.
-
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.
-
SimpleBrowserHistory
-
Starts empty.
-
SimpleBrowserHistory
-
Browser history list.
-
SimpleButtonTag
-
Starts with a named tag with attributes only.
-
SimpleButtonTag
-
Submit button as button tag.
-
SimpleById
-
Used to extract form elements for testing against.
-
SimpleById
-
Stashes the name for later comparison.
-
SimpleByLabel
-
Stashes the name for later comparison.
-
SimpleByLabel
-
Used to extract form elements for testing against.
-
SimpleByLabelOrName
-
Stashes the name/label for later comparison.
-
SimpleByLabelOrName
-
Used to extract form elements for testing against.
-
SimpleByName
-
Used to extract form elements for testing against.
-
SimpleByName
-
Stashes the name for later comparison.
-
SimpleCheckboxGroup
-
A group of tags with the same name within a form.
-
SimpleCheckboxTag
-
Starts with attributes only.
-
SimpleCheckboxTag
-
Checkbox widget.
-
SimpleCookie
-
Cookie data holder. Cookie rules are full of pretty arbitary stuff. I have used...
-
SimpleCookie
-
Constructor. Sets the stored values.
-
SimpleCookieJar
-
Repository for cookies. This stuff is a tiny bit browser dependent.
-
SimpleCookieJar
-
Constructor. Jar starts empty.
-
SimpleEncodedPair
-
Single post parameter.
-
SimpleEncodedPair
-
Stashes the data for rendering later.
-
SimpleEncoding
-
Bundle of GET/POST parameters. Can include repeated parameters.
-
SimpleEncoding
-
Starts empty.
-
SimpleForm
-
Form tag class to hold widget values.
-
SimpleForm
-
Starts with no held controls/widgets.
-
SimpleFormTag
-
Tag to aid parsing the form.
-
SimpleFormTag
-
Starts with a named tag with attributes only.
-
SimpleFrameset
-
Stashes the frameset page. Will make use of the browser to fetch the sub frames recursively.
-
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.
-
SimpleFrameTag
-
Tag to aid parsing the frames in a page.
-
SimpleFrameTag
-
Starts with a named tag with attributes only.
-
SimpleGetEncoding
-
Starts empty.
-
SimpleGetEncoding
-
Bundle of GET parameters. Can include repeated parameters.
-
SimpleHeadEncoding
-
Starts empty.
-
SimpleHeadEncoding
-
Bundle of URL parameters for a HEAD request.
-
SimpleHtmlLexer
-
Breaks HTML into SAX events.
-
SimpleHtmlLexer
-
Sets up the lexer with case insensitive matching and adds the HTML handlers.
-
SimpleHtmlSaxParser
-
Converts HTML tokens into selected SAX events.
-
SimpleHtmlSaxParser
-
Sets the listener.
-
SimpleHttpHeaders
-
Parses the incoming header block.
-
SimpleHttpHeaders
-
Collection of header lines in the response.
-
SimpleHttpRequest
-
Builds the socket request from the different pieces.
-
SimpleHttpRequest
-
HTTP request for a web page. Factory for HttpResponse object.
-
SimpleHttpResponse
-
Constructor. Reads and parses the incoming content and headers.
-
SimpleHttpResponse
-
Basic HTTP response.
-
SimpleImageSubmitTag
-
Image button as input tag.
-
SimpleImageSubmitTag
-
Starts with a named tag with attributes only.
-
SimpleLabelTag
-
Starts with a named tag with attributes only.
-
SimpleLabelTag
-
Tag to keep track of labels.
-
SimpleLexer
-
Sets up the lexer in case insensitive matching by default.
-
SimpleLexer
-
Accepts text and breaks it into tokens.
-
SimpleMultipartEncoding
-
Starts empty.
-
SimpleMultipartEncoding
-
Bundle of POST parameters in the multipart format. Can include file uploads.
-
SimpleOptionTag
-
Stashes the attributes.
-
SimpleOptionTag
-
Option for selection field.
-
SimplePage
-
A wrapper for a web page.
-
SimplePage
-
Parses a page ready to access it's contents.
-
SimplePageBuilder
-
SAX event handler. Maintains a list of open tags and dispatches them as they close.
-
SimplePageBuilder
-
Sets the builder up empty.
-
SimplePostEncoding
-
Bundle of POST parameters. Can include repeated parameters.
-
SimplePostEncoding
-
Starts empty.
-
SimpleProxyRoute
-
Stashes the proxy address.
-
SimpleProxyRoute
-
Creates HTTP headers for the end point of a HTTP request via a proxy server.
-
SimpleRadioButtonTag
-
Radio button.
-
SimpleRadioButtonTag
-
Stashes the attributes.
-
SimpleRadioGroup
-
A group of tags with the same name within a form.
-
SimpleRealm
-
Represents a single security realm's identity.
-
SimpleRealm
-
Starts with the initial entry directory.
-
SimpleRoute
-
Sets the target URL.
-
SimpleRoute
-
Creates HTTP headers for the end point of a HTTP request.
-
SimpleSaxListener
-
SAX event handler.
-
SimpleSaxListener
-
Sets the document to write to.
-
SimpleSecureSocket
-
Opens a secure socket for reading and writing.
-
SimpleSecureSocket
-
Wrapper for TCP/IP socket over TLS.
-
SimpleSelectionTag
-
Drop down widget.
-
SimpleSelectionTag
-
Starts with attributes only.
-
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.
-
SimpleStickyError
-
Stashes an error for later. Useful for constructors until PHP gets exceptions.
-
SimpleStickyError
-
Sets the error to empty.
-
SimpleSubmitTag
-
Submit button as input tag.
-
SimpleSubmitTag
-
Starts with a named tag with attributes only.
-
SimpleTag
-
Starts with a named tag with attributes only.
-
SimpleTag
-
HTML or XML tag.
-
SimpleTagBuilder
-
Creates tags and widgets given HTML tag attributes.
-
SimpleTagGroup
-
A group of multiple widgets with some shared behaviour.
-
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.
-
SimpleUploadTag
-
File upload widget.
-
SimpleUploadTag
-
Starts with attributes only.
-
SimpleUrl
-
URL parser to replace parse_url() PHP function which got broken in PHP 4.3.0. Adds some browser specific functionality such as expandomatics.
-
SimpleUrl
-
Constructor. Parses URL into sections.
-
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.
-
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.
-
submitButton
-
Gets the submit values for a selected button.
-
submitFormById
-
Submits a form by the ID.
-
submitFormById
-
Submits a form by the ID.
-
submitImage
-
Gets the submit values for an image.
-
selector.php
-
-
TestCase
-
Constructor. Sets the test name.
-
TestCase
-
Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest.
-
tally
-
-
test
-
Tests the expectation.
-
test
-
Tests the assertion. True if correct.
-
test
-
Tests the assertion. True if correct.
-
test
-
Tests the assertion. True if correct.
-
test
-
Tests the expectation.
-
test
-
Compares the incoming parameters with the internal expectation. Uses the incoming $test to dispatch the test message.
-
test
-
Tests the expectation. Always false.
-
test
-
Tests the expectation. Always true.
-
test
-
Tests the assertion. True if correct.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Reports the comparison.
-
testMessage
-
Reports the comparison.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Reports the comparison.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
throwAt
-
Sets up a trigger to throw an exception upon the method call.
-
throwOn
-
Sets up a trigger to throw an exception upon the method call.
-
TrueExpectation
-
An expectation that passes on boolean true.
-
tally
-
Any errors still in the queue are sent to the test case. Any unfulfilled expectations trigger failures.
-
tearDown
-
Clears the data set in the setUp() method call.
-
tell
-
Sets up an observer for the test end.
-
test
-
Tests the expectation. True if it differs from the held value.
-
test
-
Carry out the test.
-
test
-
Tests the expectation. True if it matches the held value.
-
test
-
Tests the expectation. True if it differs from the held value.
-
test
-
Tests the expectation. True if it matches the held value.
-
test
-
Tests the expectation. True if correct.
-
test
-
Tests the expectation. True if it exactly references the held value.
-
test
-
Tests the expectation. True if the Perl regex matches the comparison value.
-
test
-
Tests the expectation. False if the Perl regex matches the comparison value.
-
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.
-
test
-
Tests the expectation. True if it matches the held value.
-
test
-
Tests the expectation. True if the type or class matches the string value.
-
test
-
Tests the expectation. True if the text contains the substring.
-
test
-
Tests the expectation. False if the substring appears in the text.
-
test
-
Tests the expectation. True if the method exists in the test object.
-
testDoesNotOutputAnythingOnNoneTestMethods
-
-
TestDoxReporter
-
-
TestDoxReporter
-
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.
-
testEmptyLineInsertedWhenCaseEnds
-
-
testIfTest_case_patternIsEmptyAssumeEverythingMatches
-
-
testIsAnInstanceOfSimpleScorerAndReporter
-
-
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
-
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
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Create the message to display describing the test.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
TestOfTestDoxReporter
-
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
-
testOnFailureThisPrintsFailureNotice
-
-
testOutputOfTestCaseNameFilteredByConstructParameter
-
-
testOutputsNameOfTestCase
-
-
testPaintMethodAddLineBreak
-
-
testPaintsTestMethodInTestDoxFormat
-
-
testProperlySpacesSingleLettersInMethodName
-
-
TestSuite
-
Sets the name of the test suite.
-
TestSuite
-
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
-
testWhenMatchingMethodNamesTestPrefixIsCaseInsensitive
-
-
TextExpectation
-
Test for a text substring.
-
TextExpectation
-
Sets the value to compare against.
-
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.
-
traceMethod
-
Extracts the last method name that was not within Simpletest itself. Captures a stack trace if none given.
-
TYPE_MATTERS
-
does type matter
-
test_case.php
-
-
test
-
Tests that the unwanted header is not found.
-
test
-
Tests the expectation. True if it matches a string value or an array value in any order.
-
test
-
Tests the expectation. True if it matches a string value or an array value in any order.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
testMessage
-
Returns a human readable test message.
-
tag.php
-