A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
W
X
A
- acceptAttributeToken() - Method in class SimpleTest\SimpleSaxParser
- Part of the tag data.
- acceptEndToken() - Method in class SimpleTest\SimpleSaxParser
- Accepts a token from the end tag mode.
- acceptEntityToken() - Method in class SimpleTest\SimpleSaxParser
- A character entity.
- acceptFormEnd() - Method in class SimpleTest\SimplePage
- Closes the most recently opened form.
- acceptFormStart() - Method in class SimpleTest\SimplePage
- Opens a form.
- acceptFrame() - Method in class SimpleTest\SimplePage
- Takes a single frame tag and stashes it in
the current frame set.
- acceptFramesetEnd() - Method in class SimpleTest\SimplePage
- Closes the most recently opened frameset.
- acceptFramesetStart() - Method in class SimpleTest\SimplePage
- Opens a frameset.
- acceptPageEnd() - Method in class SimpleTest\SimplePage
- Marker for end of complete page.
- acceptStartToken() - Method in class SimpleTest\SimpleSaxParser
- Accepts a token from the tag mode.
- acceptTag() - Method in class SimpleTest\SimplePage
- Adds a tag to the page.
- acceptTextToken() - Method in class SimpleTest\SimpleSaxParser
- Character data between tags regarded as
important.
- add() - Method in class SimpleTest\SimpleFormEncoding
- Adds a parameter to the query.
- add() - Method in class SimpleTest\SimpleErrorQueue
- Adds an error to the front of the queue.
- addBasicHeaders() - Method in class SimpleTest\SimpleAuthenticator
- Presents the appropriate headers for this
location for basic authentication.
- addContent() - Method in class SimpleTest\SimpleSaxListener
- Unparsed, but relevant data.
- addContent() - Method in class SimpleTest\SimplePageBuilder
- Unparsed, but relevant data.
- addContent() - Method in class SimpleTest\SimpleSelectionTag
- Text within the selection element is ignored.
- addContent() - Method in class SimpleTest\SimpleTag
- Appends string content to the current content.
- addContent() - Method in class SimpleTest\MultipleSelectionTag
- Text within the selection element is ignored.
- addEntryPattern() - Method in class SimpleTest\SimpleLexer
- Adds a pattern that will enter a new parsing
mode.
- addExitPattern() - Method in class SimpleTest\SimpleLexer
- Adds a pattern that will exit the current mode
and re-enter the previous one.
- addFrame() - Method in class SimpleTest\SimpleFrameset
- Adds a parsed page to the frameset.
- addHeader() - Method in class SimpleTest\SimpleBrowser
- Adds a header to every fetch.
- addHeader() - Method in class SimpleTest\WebTestCase
- Adds a header to every fetch.
- addHeader() - Method in class SimpleTest\SimpleUserAgent
- Adds a header to every fetch.
- addHeaderLine() - Method in class SimpleTest\SimpleHttpRequest
- Adds a header line to the request.
- addHeaders() - Method in class SimpleTest\SimpleAuthenticator
- Presents the appropriate headers for this location.
- addPartialMockCode() - Method in class SimpleTest\SimpleTestOptions
- Adds additional mock code.
- addPattern() - Method in class SimpleTest\SimpleLexer
- Adds a token search pattern for a particular
parsing mode.
- addPattern() - Method in class SimpleTest\ParallelRegex
- Adds a pattern with an optional label.
- addRealm() - Method in class SimpleTest\SimpleAuthenticator
- Adds a new realm centered the current URL.
- addReference() - Method in class SimpleTest\CallMap
- Stashes a reference against a method call.
- addRequestParameter() - Method in class SimpleTest\SimpleUrl
- Adds an additional parameter to the request.
- addRequestParameters() - Method in class SimpleTest\SimpleUrl
- Adds additional parameters to the request.
- addSpecialPattern() - Method in class SimpleTest\SimpleLexer
- Adds a pattern that has a special mode.
- addTag() - Method in class SimpleTest\MultipleSelectionTag
- Adds an option tag to a selection field.
- addTag() - Method in class SimpleTest\SimpleTag
- Adds an enclosed tag to the content.
- addTag() - Method in class SimpleTest\SimpleSelectionTag
- Adds an option tag to a selection field.
- addTestCase() - Method in class SimpleTest\GroupTest
- Adds a test into the suite.
- addTestClass() - Method in class SimpleTest\GroupTest
- Adds a test into the suite by class name.
- addTestFile() - Method in class SimpleTest\GroupTest
- Builds a group test from a library of test cases.
- addValue() - Method in class SimpleTest\CallMap
- Stashes a value against a method call.
- addWidget() - Method in class SimpleTest\SimpleForm
- Adds a tag contents to the form.
- addWidget() - Method in class SimpleTest\SimpleCheckboxGroup
- Adds a tag to the group.
- addWidget() - Method in class SimpleTest\SimpleRadioGroup
- Adds a tag to the group.
- ageCookies() - Method in class SimpleTest\SimpleBrowser
- Ages the cookies by the specified time.
- ageCookies() - Method in class SimpleTest\SimpleUserAgent
- Ages the cookies by the specified time.
- ageCookies() - Method in class SimpleTest\WebTestCase
- Moves cookie expiry times back into the past.
- agePrematurely() - Method in class SimpleTest\SimpleCookieJar
- Ages all cookies in the cookie jar.
- agePrematurely() - Method in class SimpleTest\SimpleCookie
- Ages the cookie by the specified number of
seconds.
- assert() - Method in class SimpleTest\TestCase
- Sends pass if the test condition resolves true,
a fail otherwise.
- assertAuthentication() - Method in class SimpleTest\WebTestCase
- Attempt to match the authentication type within
the security realm we are currently matching.
- assertCookie() - Method in class SimpleTest\WebTestCase
- Checks that a cookie is set for the current page
and optionally checks the value.
- assertCopy() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if both parameters refer
to different objects.
- assertEqual() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if the two parameters have
the same value only.
- assertEquals() - Method in class SimpleTest\PHPUnit_TestCase
- Will test straight equality if set to loose
typing, or identity if not.
- assertEquals() - Method in class SimpleTest\TestCase
- Will test straight equality if set to loose
typing, or identity if not.
- assertEqualsMultilineStrings() - Method in class SimpleTest\TestCase
- Will test straight equality if set to loose
typing, or identity if not.
- assertError() - Method in class SimpleTest\UnitTestCase
- Confirms that an error has occoured and
optionally that the error text matches exactly.
- assertErrorPattern() - Method in class SimpleTest\UnitTestCase
- Confirms that an error has occoured and
that the error text matches a Perl regular
expression.
- assertExitCode() - Method in class SimpleTest\ShellTestCase
- Tests the last status code from the shell.
- assertExpectation() - Method in class SimpleTest\SimpleTestCase
- Runs an expectation directly, for extending the
tests with new expectation classes.
- assertFalse() - Method in class SimpleTest\SimpleTestCase
- Will be true on false and vice versa.
- assertFalse() - Method in class SimpleTest\PHPUnit_TestCase
- Sends pass if the test condition resolves false,
a fail otherwise.
- assertField() - Method in class SimpleTest\WebTestCase
- Confirms that the form element is currently set
to the expected value.
- assertFieldById() - Method in class SimpleTest\WebTestCase
- Confirms that the form element is currently set
to the expected value.
- assertFileExists() - Method in class SimpleTest\ShellTestCase
- File existence check.
- assertFileNotExists() - Method in class SimpleTest\ShellTestCase
- File non-existence check.
- assertFilePattern() - Method in class SimpleTest\ShellTestCase
- Scans a file for a Perl regex.
- assertHeader() - Method in class SimpleTest\WebTestCase
- Checks each header line for the required value.
- assertHeaderPattern() - Method in class SimpleTest\WebTestCase
- Checks each header line for the required pattern.
- assertIdentical() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if the two parameters have
the same value and same type.
- assertIsA() - Method in class SimpleTest\UnitTestCase
- Type and class test.
- assertLink() - Method in class SimpleTest\WebTestCase
- Tests for the presence of a link label.
- assertLinkById() - Method in class SimpleTest\WebTestCase
- Tests for the presence of a link id attribute.
- assertMime() - Method in class SimpleTest\WebTestCase
- Checks the mime type against a list
of possible values.
- assertNoAuthentication() - Method in class SimpleTest\WebTestCase
- Checks that no authentication is necessary to view
the desired page.
- assertNoCookie() - Method in class SimpleTest\WebTestCase
- Checks that no cookie is present or that it has
been successfully cleared.
- assertNoErrors() - Method in class SimpleTest\UnitTestCase
- Confirms that no errors have occoured so
far in the test method.
- assertNoFilePattern() - Method in class SimpleTest\ShellTestCase
- If a Perl regex is found anywhere in the named
file then a failure is generated, else a pass.
- assertNoLink() - Method in class SimpleTest\WebTestCase
- Tests for the non-presence of a link label.
- assertNoLinkById() - Method in class SimpleTest\WebTestCase
- Tests for the non-presence of a link label.
- assertNoOutputPattern() - Method in class SimpleTest\ShellTestCase
- If a Perl regex is found anywhere in the current
output then a failure is generated, else a pass.
- assertNotA() - Method in class SimpleTest\UnitTestCase
- Type and class mismatch test.
- assertNotEqual() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if the two parameters have
a different value.
- assertNotIdentical() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if the two parameters have
the different value or different type.
- assertNotNull() - Method in class SimpleTest\PHPUnit_TestCase
- Passes if the value tested is not null.
- assertNotNull() - Method in class SimpleTest\UnitTestCase
- Will be true if the value is set.
- assertNotSame() - Method in class SimpleTest\PHPUnit_TestCase
- In PHP5 the identity test tests for the same
object.
- assertNoUnwantedHeader() - Method in class SimpleTest\WebTestCase
- Confirms that the header type has not been received.
- assertNoUnwantedPattern() - Method in class SimpleTest\WebTestCase
- Will trigger a pass if the perl regex pattern
is not present in raw content.
- assertNoUnwantedPattern() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if the perl regex pattern
is not present in subject.
- assertNoUnwantedText() - Method in class SimpleTest\WebTestCase
- Will trigger a pass if the text is not found in the plain
text form of the page.
- assertNull() - Method in class SimpleTest\UnitTestCase
- Will be true if the value is null.
- assertNull() - Method in class SimpleTest\PHPUnit_TestCase
- Passes if the value tested is null.
- assertOutput() - Method in class SimpleTest\ShellTestCase
- Attempt to exactly match the combined STDERR and
STDOUT output.
- assertOutputPattern() - Method in class SimpleTest\ShellTestCase
- Scans the output for a Perl regex.
- assertRealm() - Method in class SimpleTest\WebTestCase
- Attempts to match the current security realm.
- assertReference() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if both parameters refer
to the same object.
- assertRegExp() - Method in class SimpleTest\PHPUnit_TestCase
- Tests a regex match.
- assertRegexp() - Method in class SimpleTest\TestCase
- Tests a regex match.
- assertResponse() - Method in class SimpleTest\WebTestCase
- Checks the response code against a list
of possible values.
- assertSame() - Method in class SimpleTest\PHPUnit_TestCase
- In PHP5 the identity test tests for the same
object.
- assertTitle() - Method in class SimpleTest\WebTestCase
- Tests the text between the title tags.
- assertTrue() - Method in class SimpleTest\SimpleTestCase
- Called from within the test methods to register
passes and failures.
- assertTrue() - Method in class SimpleTest\PHPUnit_TestCase
- Sends pass if the test condition resolves true,
a fail otherwise.
- assertType() - Method in class SimpleTest\PHPUnit_TestCase
- Tests the type of a value.
- assertWantedPattern() - Method in class SimpleTest\WebTestCase
- Will trigger a pass if the Perl regex pattern
is found in the raw content.
- assertWantedPattern() - Method in class SimpleTest\UnitTestCase
- Will trigger a pass if the Perl regex pattern
is found in the subject.
- assertWantedText() - Method in class SimpleTest\WebTestCase
- Will trigger a pass if the text is found in the plain
text form of the page.
- asString() - Method in class SimpleTest\SimpleUrl
- Renders the URL back into a string.
- asString() - Method in class SimpleTest\SimpleFormEncoding
- Renders the query string as a URL encoded
request part.
- authenticate() - Method in class SimpleTest\WebTestCase
- Retries a request after setting the authentication
for the current realm.
- authenticate() - Method in class SimpleTest\SimpleBrowser
- Retries a request after setting the authentication
for the current realm.
B
- back() - Method in class SimpleTest\SimpleBrowser
- Equivalent to hitting the back button on the
browser.
- back() - Method in class SimpleTest\WebTestCase
- Equivalent to hitting the back button on the
browser.
- back() - Method in class SimpleTest\SimpleBrowserHistory
- Step back one place in the history.
- BadGroupTest() - Class in package SimpleTest
- This is a failing group test for when a test suite hasn't
loaded properly.
C
- CallCountExpectation() - Class in package SimpleTest
- Confirms that the number of calls on a method is as expected.
- CallMap() - Class in package SimpleTest
- Retrieves values and references by searching the
parameter lists until a match is found.
- classExists() - Method in class SimpleTest\SimpleTestCompatibility
- Autoload safe version of class_exists().
- clear() - Method in class SimpleTest\SimpleErrorQueue
- Discards the contents of the error queue.
- clearFrameFocus() - Method in class SimpleTest\SimpleFrameset
- Clears the frame focus.
- clearFrameFocus() - Method in class SimpleTest\SimplePage
- Clears the frame focus.
- clearFrameFocus() - Method in class SimpleTest\SimpleBrowser
- Clears the frame focus.
- clearFrameFocus() - Method in class SimpleTest\WebTestCase
- Clears the frame focus.
- clearRequest() - Method in class SimpleTest\SimpleUrl
- Clears down all parameters.
- clickImage() - Method in class SimpleTest\WebTestCase
- Clicks the submit image by some kind of label.
- clickImage() - Method in class SimpleTest\SimpleBrowser
- Clicks the submit image by some kind of label.
- clickImageById() - Method in class SimpleTest\WebTestCase
- Clicks the submit image by ID attribute.
- clickImageById() - Method in class SimpleTest\SimpleBrowser
- Clicks the submit image by ID attribute.
- clickImageByName() - Method in class SimpleTest\SimpleBrowser
- Clicks the submit image by the name.
- clickImageByName() - Method in class SimpleTest\WebTestCase
- Clicks the submit image by the name.
- clickLink() - Method in class SimpleTest\SimpleBrowser
- Follows a link by label.
- clickLink() - Method in class SimpleTest\WebTestCase
- Follows a link by name.
- clickLinkById() - Method in class SimpleTest\SimpleBrowser
- Follows a link by id attribute.
- clickLinkById() - Method in class SimpleTest\WebTestCase
- Follows a link by id attribute.
- clickSubmit() - Method in class SimpleTest\SimpleBrowser
- Clicks the submit button by label.
- clickSubmit() - Method in class SimpleTest\WebTestCase
- Clicks the submit button by label.
- clickSubmitById() - Method in class SimpleTest\WebTestCase
- Clicks the submit button by ID attribute.
- clickSubmitById() - Method in class SimpleTest\SimpleBrowser
- Clicks the submit button by ID attribute of the button
itself.
- clickSubmitByName() - Method in class SimpleTest\SimpleBrowser
- Clicks the submit button by name attribute.
- clickSubmitByName() - Method in class SimpleTest\WebTestCase
- Clicks the submit button by name attribute.
- clipString() - Method in class SimpleTest\SimpleDumper
- Clips a string to a maximum length.
- close() - Method in class SimpleTest\SimpleSocket
- Closes the socket preventing further reads.
- countTestCases() - Method in class SimpleTest\PHPUnit_TestCase
- For progress indication during
a test amongst other things.
- createBrowser() - Method in class SimpleTest\WebTestCase
- Creates a new default web browser object.
- createConnection() - Method in class SimpleTest\SimpleRoute
- Opens a socket to the route.
- createConnection() - Method in class SimpleTest\SimpleProxyRoute
- Opens a socket to the route.
- createInvoker() - Method in class SimpleTest\WebTestCase
- Sets the invoker to one that restarts the browser on
each request.
- createInvoker() - Method in class SimpleTest\SimpleTestCase
- Used to invoke the single tests.
- createLexer() - Method in class SimpleTest\SimpleSaxParser
- Sets up the matching lexer.
D
- decodeHtml() - Method in class SimpleTest\SimpleSaxParser
- Decodes any HTML entities.
- DEFAULT_CONNECTION_TIMEOUT() - Global in package SimpleTest
- DEFAULT_MAX_NESTED_FRAMES() - Global in package SimpleTest
- #@-
- DEFAULT_MAX_REDIRECTS() - Global in package SimpleTest
- #@-
- describeDifference() - Method in class SimpleTest\SimpleDumper
- Creates a human readable description of the
difference between two variables.
- describeValue() - Method in class SimpleTest\SimpleDumper
- Renders a variable in a shorter form than print_r().
- dump() - Method in class SimpleTest\SimpleDumper
- Sends a formatted dump of a variable to a string.
- dump() - Method in class SimpleTest\SimpleTestCase
- Sends a formatted dump of a variable to the
test suite for those emergency debugging
situations.
- dumpOutput() - Method in class SimpleTest\ShellTestCase
- Dumps the output of the last command.
E
- E_STRICT() - Global in package SimpleTest
- @ignore - PHP5 compatibility fix.
- endElement() - Method in class SimpleTest\SimpleSaxListener
- End of element event.
- endElement() - Method in class SimpleTest\SimplePageBuilder
- End of element event.
- enter() - Method in class SimpleTest\SimpleStateStack
- Adds a state to the stack and sets it
to be the current state.
- EqualExpectation() - Class in package SimpleTest
- Test for equality.
- error() - Method in class SimpleTest\SimpleTestCase
- Formats a PHP error and dispatches it to the
runner.
- error() - Method in class SimpleTest\TestCase
- Sends an error which we interpret as a fail
with a different message for compatibility.
- execute() - Method in class SimpleTest\ShellTestCase
- Executes a command and buffers the results.
- execute() - Method in class SimpleTest\SimpleShell
- Actually runs the command.
- expectArguments() - Method in class SimpleTest\SimpleMock
- Sets up an expected call with a set of
expected parameters in that call.
- expectArgumentsAt() - Method in class SimpleTest\SimpleMock
- Sets up an expected call with a set of
expected parameters in that call.
- expectAtLeastOnce() - Method in class SimpleTest\SimpleMock
- Convenience method for requiring a method
call.
- expectCallCount() - Method in class SimpleTest\SimpleMock
- Sets an expectation for the number of times
a method will be called.
- expectEndTag() - Method in class SimpleTest\SimpleSubmitTag
- Tag contains no end element.
- expectEndTag() - Method in class SimpleTest\SimpleButtonTag
- Check to see if the tag can have both start and
end tags with content in between.
- expectEndTag() - Method in class SimpleTest\SimpleCheckboxTag
- Tag contains no content.
- expectEndTag() - Method in class SimpleTest\SimpleRadioButtonTag
- Tag contains no content.
- expectEndTag() - Method in class SimpleTest\SimpleTag
- Check to see if the tag can have both start and
end tags with content in between.
- expectEndTag() - Method in class SimpleTest\SimpleImageSubmitTag
- Tag contains no end element.
- expectEndTag() - Method in class SimpleTest\SimpleTextTag
- Tag contains no content.
- expectEndTag() - Method in class SimpleTest\SimpleFrameTag
- Tag contains no content.
- expectMaximumCallCount() - Method in class SimpleTest\SimpleMock
- Sets the number of times a method may be called
before a test failure is triggered.
- expectMinimumCallCount() - Method in class SimpleTest\SimpleMock
- Sets the number of times to call a method to prevent
a failure on the tally.
- expectNever() - Method in class SimpleTest\SimpleMock
- Convenience method for barring a method
call.
- expectOnce() - Method in class SimpleTest\SimpleMock
- Convenience method for a single method
call.
- extract() - Method in class SimpleTest\SimpleErrorQueue
- Pulls the earliest error from the queue.
F
- fail() - Method in class SimpleTest\SimpleTestCase
- Sends a fail event with a message.
- fetch() - Method in class SimpleTest\SimpleHttpRequest
- Fetches the content and parses the headers.
- fetchResponse() - Method in class SimpleTest\SimpleUserAgent
- Fetches a URL as a response object.
- FieldExpectation() - Class in package SimpleTest
- Test for an HTML widget value match.
- findFirstMatch() - Method in class SimpleTest\CallMap
- Searches the call list for a matching parameter
set.
- forward() - Method in class SimpleTest\SimpleBrowser
- Equivalent to hitting the forward button on the
browser.
- forward() - Method in class SimpleTest\SimpleBrowserHistory
- Step forward one place.
- forward() - Method in class SimpleTest\WebTestCase
- Equivalent to hitting the forward button on the
browser.
G
- generate() - Method in class SimpleTest\Stub
- Clones a class' interface and creates a stub version
that can have return values set.
- generate() - Method in class SimpleTest\Mock
- Clones a class' interface and creates a mock version
that can have return values and expectations set.
- generatePartial() - Method in class SimpleTest\Mock
- Generates a version of a class with selected
methods mocked only.
- get() - Method in class SimpleTest\WebTestCase
- Fetches a page into the page buffer.
- get() - Method in class SimpleTest\SimpleBrowser
- Fetches the page content with a simple GET request.
- getAbsoluteUrls() - Method in class SimpleTest\SimpleFrameset
- Accessor for a list of all fixed links.
- getAbsoluteUrls() - Method in class SimpleTest\SimplePage
- Accessor for a list of all fixed links.
- getAbsoluteUrls() - Method in class SimpleTest\SimpleBrowser
- Accessor for a list of all fixed links in current page.
- getAction() - Method in class SimpleTest\SimpleForm
- Absolute URL of the target.
- getAllTopLevelDomains() - Method in class SimpleTest\SimpleUrl
- A pipe seperated list of all TLDs that result in two part
domain names.
- getAssertionLine() - Method in class SimpleTest\SimpleTestCase
- Uses a stack trace to find the line of an assertion.
- getAttribute() - Method in class SimpleTest\SimpleCheckboxGroup
- Accessor for an attribute.
- getAttribute() - Method in class SimpleTest\SimpleTag
- Accessor for an attribute.
- getAttribute() - Method in class SimpleTest\SimpleRadioGroup
- Accessor for an attribute.
- getAuthentication() - Method in class SimpleTest\SimpleBrowser
- Accessor for last Authentication type.
- getAuthentication() - Method in class SimpleTest\SimpleFrameset
- Accessor for last Authentication type.
- getAuthentication() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for authentication type.
- getAuthentication() - Method in class SimpleTest\SimplePage
- Accessor for last Authentication type.
- getBaseCookieValue() - Method in class SimpleTest\SimpleUserAgent
- Reads the current cookies within the base URL.
- getBasePath() - Method in class SimpleTest\SimpleUrl
- Gets the path to the page.
- getBrowser() - Method in class SimpleTest\WebTestCase
- Gets a current browser reference for setting
special expectations or for detailed
examination of page fetches.
- getCallCount() - Method in class SimpleTest\SimpleStub
- Fetches the call count of a method so far.
- getChildElements() - Method in class SimpleTest\SimpleTag
- List oflegal child elements.
- getContent() - Method in class SimpleTest\SimpleHttpResponse
- Accessor for the content after the last
header line.
- getContent() - Method in class SimpleTest\SimpleBrowser
- Accessor for raw page information.
- getContent() - Method in class SimpleTest\SimpleTag
- Accessor for the whole content so far.
- getContentAsText() - Method in class SimpleTest\SimpleBrowser
- Accessor for plain text version of the page.
- getCookie() - Method in class SimpleTest\WebTestCase
- Gets the cookie value for the current browser context.
- getCookieValue() - Method in class SimpleTest\SimpleUserAgent
- Reads the most specific cookie value from the
browser cookies.
- getCookieValue() - Method in class SimpleTest\SimpleBrowser
- Reads the most specific cookie value from the
browser cookies.
- getCurrent() - Method in class SimpleTest\SimpleStateStack
- Accessor for current state.
- getCurrentCookieValue() - Method in class SimpleTest\SimpleBrowser
- Reads the current cookies for the current URL.
- getDefault() - Method in class SimpleTest\MultipleSelectionTag
- Scans options for defaults to populate the
value array().
- getDefault() - Method in class SimpleTest\SimpleCheckboxTag
- Accessor for starting value.
- getDefault() - Method in class SimpleTest\SimpleCheckboxGroup
- Accessor for starting value that is active.
- getDefault() - Method in class SimpleTest\SimpleRadioButtonTag
- Accessor for starting value.
- getDefault() - Method in class SimpleTest\SimpleTextAreaTag
- Accessor for starting value.
- getDefault() - Method in class SimpleTest\SimpleRadioGroup
- Accessor for starting value that is active.
- getDefault() - Method in class SimpleTest\SimpleOptionTag
- Accessor for starting value.
- getDefault() - Method in class SimpleTest\SimpleWidget
- Accessor for default value parsed with the tag.
- getDefault() - Method in class SimpleTest\SimpleSelectionTag
- Scans options for defaults.
- getDefaultProxy() - Method in class SimpleTest\SimpleTestOptions
- Accessor for default proxy host.
- getDefaultProxyPassword() - Method in class SimpleTest\SimpleTestOptions
- Accessor for default proxy password.
- getDefaultProxyUsername() - Method in class SimpleTest\SimpleTestOptions
- Accessor for default proxy username.
- getEncodedRequest() - Method in class SimpleTest\SimpleUrl
- Accessor for current request parameters
in URL string form
- getError() - Method in class SimpleTest\SimpleStickyError
- Accessor for an outstanding error.
- getExceptionCount() - Method in class SimpleTest\SimpleScorer
- Accessor for the number of untrapped errors
so far.
- getExpectationLine() - Method in class SimpleTest\Mock
- Uses a stack trace to find the line of an assertion.
- getExpiry() - Method in class SimpleTest\SimpleCookie
- Accessor for expiry.
- getFailCount() - Method in class SimpleTest\SimpleScorer
- Accessor for the number of fails so far.
- getField() - Method in class SimpleTest\SimpleBrowser
- Accessor for a form element value within the page.
- getField() - Method in class SimpleTest\SimplePage
- Accessor for a form element value within a page.
- getField() - Method in class SimpleTest\SimpleFrameset
- Accessor for a form element value within a frameset.
- getFieldById() - Method in class SimpleTest\SimplePage
- Accessor for a form element value within a page.
- getFieldById() - Method in class SimpleTest\SimpleFrameset
- Accessor for a form element value within a page.
- getFieldById() - Method in class SimpleTest\SimpleBrowser
- Accessor for a form element value within the page.
- getFormattedAssertionLine() - Method in class SimpleTest\SimpleDumper
- Extracts the last assertion that was not within
Simpletest itself.
- getFormById() - Method in class SimpleTest\SimplePage
- Finds a held form by the form ID.
- getFormById() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by the form ID.
- getFormByImageId() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by image button id.
- getFormByImageId() - Method in class SimpleTest\SimplePage
- Finds a held form by image button id.
- getFormByImageLabel() - Method in class SimpleTest\SimplePage
- Finds a held form by image label.
- getFormByImageLabel() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by image label.
- getFormByImageName() - Method in class SimpleTest\SimplePage
- Finds a held form by image button id.
- getFormByImageName() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by image button id.
- getFormBySubmitId() - Method in class SimpleTest\SimplePage
- Finds a held form by button id.
- getFormBySubmitId() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by button id.
- getFormBySubmitLabel() - Method in class SimpleTest\SimplePage
- Finds a held form by button label.
- getFormBySubmitLabel() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by button label.
- getFormBySubmitName() - Method in class SimpleTest\SimplePage
- Finds a held form by button label.
- getFormBySubmitName() - Method in class SimpleTest\SimpleFrameset
- Finds a held form by button label.
- getFragment() - Method in class SimpleTest\SimpleUrl
- Accessor for fragment at end of URL after the "#".
- getFrameFocus() - Method in class SimpleTest\SimpleBrowser
- Accessor for current frame focus.
- getFrameFocus() - Method in class SimpleTest\WebTestCase
- Accessor for current frame focus.
- getFrameFocus() - Method in class SimpleTest\SimplePage
- Accessor for current frame focus.
- getFrameFocus() - Method in class SimpleTest\SimpleFrameset
- Accessor for current frame focus.
- getFrames() - Method in class SimpleTest\SimplePage
- Fetches a list of loaded frames.
- getFrames() - Method in class SimpleTest\SimpleBrowser
- Accessor for a breakdown of the frameset.
- getFrames() - Method in class SimpleTest\SimpleFrameset
- Accessor for frames information.
- getFrameset() - Method in class SimpleTest\SimplePage
- Accessor for frame name and source URL for every frame that
will need to be loaded.
- getHeaders() - Method in class SimpleTest\SimplePage
- Accessor for raw headers of page.
- getHeaders() - Method in class SimpleTest\SimpleFrameset
- Accessor for raw header information.
- getHeaders() - Method in class SimpleTest\SimpleHttpResponse
- Accessor for header block.
- getHeaders() - Method in class SimpleTest\SimpleBrowser
- Accessor for raw header information.
- getHost() - Method in class SimpleTest\SimpleCookie
- Accessor for the truncated host to which this
cookie applies.
- getHost() - Method in class SimpleTest\SimpleUrl
- Accessor for hostname and port.
- getHref() - Method in class SimpleTest\SimpleAnchorTag
- Accessor for URL as string.
- getHttpVersion() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for parsed HTTP protocol version.
- getId() - Method in class SimpleTest\SimpleForm
- ID field of form for unique identification.
- getKeys() - Method in class SimpleTest\SimpleFormEncoding
- Accessor for key list.
- getLabel() - Method in class SimpleTest\SimpleTestCase
- Accessor for the test name for subclasses.
- getLabel() - Method in class SimpleTest\RemoteTestCase
- Accessor for the test name for subclasses.
- getLabel() - Method in class SimpleTest\SimpleButtonTag
- Value of browser visible text.
- getLabel() - Method in class SimpleTest\SimpleImageSubmitTag
- Value of browser visible text.
- getLabel() - Method in class SimpleTest\GroupTest
- Accessor for the test name for subclasses.
- getLabel() - Method in class SimpleTest\SimpleSubmitTag
- Value of browser visible text.
- getLabel() - Method in class SimpleTest\BadGroupTest
- Accessor for the test name for subclasses.
- getLocation() - Method in class SimpleTest\SimpleHttpHeaders
- Returns the redirected URL or false if
no redirection.
- getMethod() - Method in class SimpleTest\SimpleHttpResponse
- Original request method.
- getMethod() - Method in class SimpleTest\SimpleForm
- Accessor for form action.
- getMethod() - Method in class SimpleTest\SimplePage
- Original request method.
- getMethod() - Method in class SimpleTest\SimpleFrameset
- Request method used to fetch this frame.
- getMethod() - Method in class SimpleTest\SimpleBrowserHistory
- Last fetching method for current history
position.
- getMimeType() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for MIME type header information.
- getMimeType() - Method in class SimpleTest\SimplePage
- Accessor for current MIME type.
- getMimeType() - Method in class SimpleTest\SimpleFrameset
- Accessor for current MIME type.
- getMimeType() - Method in class SimpleTest\SimpleBrowser
- Accessor for current MIME type.
- getMockBaseClass() - Method in class SimpleTest\SimpleTestOptions
- Accessor for the currently set mock base class.
- getName() - Method in class SimpleTest\SimpleCheckboxGroup
- Fetches the name for the widget from the first
member.
- getName() - Method in class SimpleTest\SimpleWidget
- Accessor for name submitted as the key in
GET/POST variables hash.
- getName() - Method in class SimpleTest\NestingXmlTag
- Accessor for name.
- getName() - Method in class SimpleTest\SimpleCookie
- Accessor for name.
- getName() - Method in class SimpleTest\PHPUnit_TestCase
- Accessor for name, normally just the class
name.
- getName() - Method in class SimpleTest\SimpleRadioGroup
- Fetches the name for the widget from the first
member.
- getNewCookies() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for any new cookies.
- getNewCookies() - Method in class SimpleTest\SimpleHttpResponse
- Accessor for any new cookies.
- getOutput() - Method in class SimpleTest\SimpleShell
- Accessor for the last output.
- getOutput() - Method in class SimpleTest\ShellTestCase
- Accessor for the last output.
- getOutputAsList() - Method in class SimpleTest\ShellTestCase
- Accessor for the last output.
- getOutputAsList() - Method in class SimpleTest\SimpleShell
- Accessor for the last output.
- getPage() - Method in class SimpleTest\SimpleUrl
- Accessor for page if any.
- getParameters() - Method in class SimpleTest\SimpleBrowserHistory
- Parameters of last fetch from current history
position.
- getPartialMockCode() - Method in class SimpleTest\SimpleTestOptions
- Accessor for additional partial mock code.
- getPassCount() - Method in class SimpleTest\SimpleScorer
- Accessor for the number of passes so far.
- getPassword() - Method in class SimpleTest\SimpleRealm
- Accessor for current identity.
- getPassword() - Method in class SimpleTest\SimpleUrl
- Accessor for password.
- getPath() - Method in class SimpleTest\SimpleCookie
- Accessor for path.
- getPath() - Method in class SimpleTest\SimpleUrl
- Accessor for path.
- getPort() - Method in class SimpleTest\SimpleUrl
- Accessor for port number.
- getRaw() - Method in class SimpleTest\SimpleFrameset
- Accessor for raw text of either all the pages or
the frame in focus.
- getRaw() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for raw header block.
- getRaw() - Method in class SimpleTest\SimplePage
- Accessor for raw text of page.
- getRealm() - Method in class SimpleTest\SimpleFrameset
- Accessor for last Authentication realm.
- getRealm() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for security realm.
- getRealm() - Method in class SimpleTest\SimpleBrowser
- Accessor for last Authentication realm.
- getRealm() - Method in class SimpleTest\SimplePage
- Accessor for last Authentication realm.
- getRelativeUrls() - Method in class SimpleTest\SimpleFrameset
- Accessor for a list of all relative links.
- getRelativeUrls() - Method in class SimpleTest\SimpleBrowser
- Accessor for a list of all relative links.
- getRelativeUrls() - Method in class SimpleTest\SimplePage
- Accessor for a list of all relative links.
- getRequest() - Method in class SimpleTest\SimplePage
- Original request as bytes sent down the wire.
- getRequest() - Method in class SimpleTest\SimpleBrowser
- Accessor for raw bytes sent down the wire.
- getRequest() - Method in class SimpleTest\SimpleFrameset
- Accessor for outgoing header information.
- getRequestData() - Method in class SimpleTest\SimplePage
- Original request data.
- getRequestData() - Method in class SimpleTest\SimpleFrameset
- Original request data.
- getRequestData() - Method in class SimpleTest\SimpleHttpResponse
- Original request data.
- getResponseCode() - Method in class SimpleTest\SimplePage
- Accessor for HTTP response code.
- getResponseCode() - Method in class SimpleTest\SimpleBrowser
- Accessor for last response code.
- getResponseCode() - Method in class SimpleTest\SimpleFrameset
- Accessor for last response code.
- getResponseCode() - Method in class SimpleTest\SimpleHttpHeaders
- Accessor for parsed HTTP error code.
- getScheme() - Method in class SimpleTest\SimpleUrl
- Accessor for protocol part.
- getSent() - Method in class SimpleTest\SimpleSocket
- Accessor for content so far.
- getSent() - Method in class SimpleTest\SimpleHttpResponse
- Raw request that was sent down the wire.
- getSeverityAsString() - Method in class SimpleTest\SimpleErrorQueue
- Converst an error code into it's string
representation.
- getSize() - Method in class SimpleTest\NestingGroupTag
- The size in the attributes.
- getSize() - Method in class SimpleTest\GroupTest
- Number of contained test cases.
- getSize() - Method in class SimpleTest\RemoteTestCase
- Accessor for the number of subtests.
- getSize() - Method in class SimpleTest\SimpleTestCase
- Accessor for the number of subtests.
- getSize() - Method in class SimpleTest\BadGroupTest
- Number of contained test cases.
- getStackTrace() - Method in class SimpleTest\SimpleTestCompatibility
- Gets the current stack trace topmost first.
- getStatus() - Method in class SimpleTest\SimpleScorer
- Accessor for current status.
- getStubBaseClass() - Method in class SimpleTest\SimpleTestOptions
- Accessor for the currently set stub base class.
- getSubmitValues() - Method in class SimpleTest\SimpleSubmitTag
- Gets the values submitted as a form.
- getSubmitValues() - Method in class SimpleTest\SimpleImageSubmitTag
- Gets the values submitted as a form.
- getSubmitValues() - Method in class SimpleTest\SimpleButtonTag
- Gets the values submitted as a form.
- getTagName() - Method in class SimpleTest\SimpleTag
- Accessor for tag name.
- getTarget() - Method in class SimpleTest\SimpleUrl
- Gets the frame target if present.
- getTest() - Method in class SimpleTest\SimpleMock
- Accessor for attached unit test so that when
subclassed, new expectations can be added easily.
- getTestCase() - Method in class SimpleTest\SimpleRunner
- Accessor for test case being run.
- getTestCase() - Method in class SimpleTest\SimpleInvoker
- Accessor for test case being run.
- getTestCase() - Method in class SimpleTest\SimpleInvokerDecorator
- Accessor for test case being run.
- getTestCaseCount() - Method in class SimpleTest\SimpleReporter
- Accessor for total test size in number
of test cases.
- getTestCaseProgress() - Method in class SimpleTest\SimpleReporter
- Accessor for the number of test cases
completed so far.
- getTestList() - Method in class SimpleTest\SimpleReporter
- Accessor for internal test stack.
- getText() - Method in class SimpleTest\SimpleTag
- Accessor for content reduced to visible text.
- getText() - Method in class SimpleTest\SimplePage
- Accessor for plain text of page as a text browser
would see it.
- getText() - Method in class SimpleTest\SimpleFrameset
- Accessor for plain text of either all the pages or
the frame in focus.
- getTitle() - Method in class SimpleTest\SimplePage
- Accessor for parsed title.
- getTitle() - Method in class SimpleTest\SimpleFrameset
- Accessor for parsed title.
- getTitle() - Method in class SimpleTest\SimpleBrowser
- Accessor for parsed title.
- getTld() - Method in class SimpleTest\SimpleUrl
- Accessor for top level domain.
- getTransportError() - Method in class SimpleTest\SimpleFrameset
- Accessor for last error.
- getTransportError() - Method in class SimpleTest\SimpleBrowser
- Accessor for last error.
- getTransportError() - Method in class SimpleTest\SimplePage
- Accessor for last error.
- getTransportError() - Method in class SimpleTest\WebTestCase
- Gets the last response error.
- getType() - Method in class SimpleTest\SimpleDumper
- Gets the string representation of a type.
- getUrl() - Method in class SimpleTest\WebTestCase
- Accessor for the currently selected URL.
- getUrl() - Method in class SimpleTest\SimplePage
- Original resource name.
- getUrl() - Method in class SimpleTest\SimpleHttpResponse
- Resource name.
- getUrl() - Method in class SimpleTest\SimpleFrameset
- Original resource name.
- getUrl() - Method in class SimpleTest\SimpleRoute
- Resource name.
- getUrl() - Method in class SimpleTest\SimpleBrowser
- Accessor for current URL of page or frame if
focused.
- getUrl() - Method in class SimpleTest\SimpleBrowserHistory
- Last fully qualified URL for current history
position.
- getUrlById() - Method in class SimpleTest\SimpleFrameset
- Accessor for a URL by the id attribute.
- getUrlById() - Method in class SimpleTest\SimplePage
- Accessor for a URL by the id attribute.
- getUrlsByLabel() - Method in class SimpleTest\SimpleFrameset
- Accessor for URLs by the link label.
- getUrlsByLabel() - Method in class SimpleTest\SimplePage
- Accessor for URLs by the link label.
- getUsername() - Method in class SimpleTest\SimpleRealm
- Accessor for current identity.
- getUsername() - Method in class SimpleTest\SimpleUrl
- Accessor for user name.
- getValidCookies() - Method in class SimpleTest\SimpleCookieJar
- Fetches a hash of all valid cookies filtered
by host, path and keyed by name
Any cookies with missing categories will not
be filtered out by that category.
- getValue() - Method in class SimpleTest\SimpleCheckboxGroup
- Accessor for current selected widget or false
if none.
- getValue() - Method in class SimpleTest\SimpleRadioGroup
- Accessor for current selected widget or false
if none.
- getValue() - Method in class SimpleTest\SimpleWidget
- Accessor for currently set value or default if
none.
- getValue() - Method in class SimpleTest\SimpleSelectionTag
- Accessor for current selection value.
- getValue() - Method in class SimpleTest\SimpleCookie
- Accessor for value.
- getValue() - Method in class SimpleTest\SimpleFormEncoding
- Accessor for single value.
- getValue() - Method in class SimpleTest\SimpleForm
- Extracts current value from form.
- getValue() - Method in class SimpleTest\MultipleSelectionTag
- Accessor for current selection value.
- getValueById() - Method in class SimpleTest\SimpleForm
- Extracts current value from form by the ID.
- getVersion() - Method in class SimpleTest\SimpleTestOptions
- Reads the SimpleTest version from the release file.
- getX() - Method in class SimpleTest\SimpleFormEncoding
- Accessor for horizontal image coordinate.
- getX() - Method in class SimpleTest\SimpleUrl
- Accessor for horizontal image coordinate.
- getY() - Method in class SimpleTest\SimpleUrl
- Accessor for vertical image coordinate.
- getY() - Method in class SimpleTest\SimpleFormEncoding
- Accessor for vertical image coordinate.
- GroupTest() - Class in package SimpleTest
- This is a composite test class for combining
test cases and other RunnableTest classes into
a group test.
H
- hasFrames() - Method in class SimpleTest\SimpleFrameset
- Test for the presence of a frameset.
- hasFrames() - Method in class SimpleTest\SimplePage
- Test for the presence of a frameset.
- hasImageId() - Method in class SimpleTest\SimpleForm
- Test to see if a form has a submittable image with this
ID attribute.
- hasImageLabel() - Method in class SimpleTest\SimpleForm
- Test to see if a form has a submit button with this
name attribute.
- hasImageName() - Method in class SimpleTest\SimpleForm
- Test to see if a form has a submittable image with this
field name.
- hasSubmitId() - Method in class SimpleTest\SimpleForm
- Test to see if a form has a submit button with this
ID attribute.
- hasSubmitLabel() - Method in class SimpleTest\SimpleForm
- Test to see if a form has a submit button with this
value attribute.
- hasSubmitName() - Method in class SimpleTest\SimpleForm
- Test to see if a form has a submit button with this
name attribute.
- head() - Method in class SimpleTest\SimpleBrowser
- Fetches the page content with a HEAD request.
- head() - Method in class SimpleTest\WebTestCase
- Does a HTTP HEAD fetch, fetching only the page
headers.
- HtmlReporter() - Class in package SimpleTest
- Sample minimal test displayer.
- HttpHeaderExpectation() - Class in package SimpleTest
- Test for a specific HTTP header within a header block.
- HttpHeaderPatternExpectation() - Class in package SimpleTest
- Test for a specific HTTP header within a header block.
- HttpUnwantedHeaderExpectation() - Class in package SimpleTest
- Test for a specific HTTP header within a header block that
should not be found.
I
- IdenticalExpectation() - Class in package SimpleTest
- Test for identity.
- ignore() - Method in class SimpleTest\SimpleSaxParser
- Incoming data to be ignored.
- ignore() - Method in class SimpleTest\SimpleTestOptions
- Sets the name of a test case to ignore, usually
because the class is an abstract case that should
not be run.
- ignoreFrames() - Method in class SimpleTest\SimpleBrowser
- Disables frames support.
- ignoreFrames() - Method in class SimpleTest\WebTestCase
- Disables frames support.
- inCli() - Method in class SimpleTest\SimpleReporter
- Static check for running in the comand line.
- injectTest() - Method in class SimpleTest\SimpleMock
- Resolves the dependency on the test case.
- instance() - Method in class SimpleTest\SimpleErrorQueue
- Global access to a single error queue.
- invoke() - Method in class SimpleTest\SimpleInvokerDecorator
- Invokes a test method and buffered with setUp()
and tearDown() calls.
- invoke() - Method in class SimpleTest\SimpleInvoker
- Invokes a test method and buffered with setUp()
and tearDown() calls.
- invoke() - Method in class SimpleTest\WebTestCaseInvoker
- Builds the browser and runs the test.
- invoke() - Method in class SimpleTest\SimpleErrorTrappingInvoker
- Invokes a test method and dispatches any
untrapped errors.
- isA() - Method in class SimpleTest\SimpleTestCompatibility
- Test to see if an object is a member of a
class hiearchy.
- IsAExpectation() - Class in package SimpleTest
- Tests either type or class name if it's an object.
- isChallenge() - Method in class SimpleTest\SimpleHttpHeaders
- Test to see if the response is an authentication
challenge.
- isEmpty() - Method in class SimpleTest\SimpleErrorQueue
- Tests to see if the queue is empty.
- isError() - Method in class SimpleTest\SimpleStickyError
- Test for an outstanding error.
- isExpired() - Method in class SimpleTest\SimpleCookie
- Test to see if cookie is expired against
the cookie format time or timestamp.
- isId() - Method in class SimpleTest\SimpleCheckboxGroup
- Scans the checkboxes for one with the appropriate
ID field.
- isId() - Method in class SimpleTest\SimpleRadioGroup
- Scans the checkboxes for one with the appropriate
ID field.
- isId() - Method in class SimpleTest\SimpleTag
- Test to see if id attribute matches.
- isIdentical() - Method in class SimpleTest\SimpleTestCompatibility
- Identity test.
- isIgnored() - Method in class SimpleTest\SimpleTestOptions
- Test to see if a test case is in the ignore
list.
- isLink() - Method in class SimpleTest\SimpleBrowser
- Tests to see if a link is present by label.
- isLinkById() - Method in class SimpleTest\SimpleBrowser
- Tests to see if a link is present by ID attribute.
- isMatch() - Method in class SimpleTest\SimpleIdSelector
- Comparison.
- isMatch() - Method in class SimpleTest\SimpleLabelSelector
- Comparison.
- isMatch() - Method in class SimpleTest\SimpleNameSelector
- Comparison.
- isMatch() - Method in class SimpleTest\CallMap
- Searches the call list for a matching parameter
set.
- isOpen() - Method in class SimpleTest\SimpleSocket
- Accessor for socket open state.
- isRedirect() - Method in class SimpleTest\SimpleHttpHeaders
- Test to see if the response is a valid redirect.
- isReference() - Method in class SimpleTest\SimpleTestCompatibility
- Test for two variables being aliases.
- isSecure() - Method in class SimpleTest\SimpleCookie
- Accessor for the secure flag.
- isValidHost() - Method in class SimpleTest\SimpleCookie
- Test for a cookie being valid for a host name.
- isValidPath() - Method in class SimpleTest\SimpleCookie
- Tests a path to see if the cookie applies
there.
- isWithin() - Method in class SimpleTest\SimpleRealm
- Test to see if the URL is within the directory
tree of the realm.
L
- leave() - Method in class SimpleTest\SimpleStateStack
- Leaves the current state and reverts
to the previous one.
- LEXER_ENTER() - Global in package SimpleTest
- #@+
Lexer mode stack constants
- LEXER_EXIT() - Global in package SimpleTest
- LEXER_MATCHED() - Global in package SimpleTest
- LEXER_SPECIAL() - Global in package SimpleTest
- LEXER_UNMATCHED() - Global in package SimpleTest
M
- makeAbsolute() - Method in class SimpleTest\SimpleUrl
- Replaces unknown sections to turn a relative
URL into an absolute one.
- makeDry() - Method in class SimpleTest\SimpleScorer
- Signals that the next evaluation will be a dry
run.
- mapHandler() - Method in class SimpleTest\SimpleLexer
- Adds a mapping from a mode to another handler.
- match() - Method in class SimpleTest\ParallelRegex
- Attempts to match all patterns at once against
a string.
- MaximumCallCountExpectation() - Class in package SimpleTest
- Confirms that the number of calls on a method is as expected.
- merge() - Method in class SimpleTest\SimpleFormEncoding
- Adds a set of parameters to this query.
- MethodExistsExpectation() - Class in package SimpleTest
- Tests for existance of a method in an object
- MinimumCallCountExpectation() - Class in package SimpleTest
- Confirms that the number of calls on a method is as expected.
- Mock() - Class in package SimpleTest
- Static methods only service class for code generation of
mock objects.
- MOCK_WILDCARD() - Global in package SimpleTest
- Default character simpletest will substitute for any value
- MultipleSelectionTag() - Class in package SimpleTest
- Drop down widget.
N
- name() - Method in class SimpleTest\TestCase
- Accessor for name.
- NestingCaseTag() - Class in package SimpleTest
- Accumulator for incoming case tag.
- NestingGroupTag() - Class in package SimpleTest
- Accumulator for incoming group tag.
- NestingMethodTag() - Class in package SimpleTest
- Accumulator for incoming method tag.
- NestingXmlTag() - Class in package SimpleTest
- Accumulator for incoming tag.
- normalise() - Method in class SimpleTest\SimpleSaxParser
- Turns HTML into text browser visible text.
- normalisePath() - Method in class SimpleTest\SimpleUrl
- Replaces .
- NotAExpectation() - Class in package SimpleTest
- Tests either type or class name if it's an object.
- NotEqualExpectation() - Class in package SimpleTest
- Test for inequality.
- NotIdenticalExpectation() - Class in package SimpleTest
- Test for non-identity.
O
- overlayMessage() - Method in class SimpleTest\SimpleExpectation
- Overlays the generated message onto the stored user
message.
P
- paintCaseEnd() - Method in class SimpleTest\SimpleReporter
- Paints the end of a test case.
- paintCaseEnd() - Method in class SimpleTest\SimpleScorer
- Paints the end of a test case.
- paintCaseEnd() - Method in class SimpleTest\XmlReporter
- Paints the end of a test case.
- paintCaseStart() - Method in class SimpleTest\SimpleScorer
- Paints the start of a test case.
- paintCaseStart() - Method in class SimpleTest\XmlReporter
- Paints the start of a test case.
- paintCaseStart() - Method in class SimpleTest\SimpleReporter
- Paints the start of a test case.
- paintEnd() - Method in class SimpleTest\NestingGroupTag
- Signals the appropriate end event on the
listener.
- paintEnd() - Method in class SimpleTest\NestingMethodTag
- Signals the appropriate end event on the
listener.
- paintEnd() - Method in class SimpleTest\NestingCaseTag
- Signals the appropriate end event on the
listener.
- paintError() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintError() - Method in class SimpleTest\SimpleScorer
- Deals with PHP 4 throwing an error.
- paintException() - Method in class SimpleTest\TextReporter
- Paints a PHP error or exception.
- paintException() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintException() - Method in class SimpleTest\HtmlReporter
- Paints a PHP error or exception.
- paintException() - Method in class SimpleTest\XmlReporter
- Paints a PHP error or exception.
- paintException() - Method in class SimpleTest\SimpleScorer
- Deals with PHP 5 throwing an exception
This isn't really implemented yet.
- paintFail() - Method in class SimpleTest\XmlReporter
- Increments the fail count.
- paintFail() - Method in class SimpleTest\SimpleScorer
- Increments the fail count.
- paintFail() - Method in class SimpleTest\HtmlReporter
- Paints the test failure with a breadcrumbs
trail of the nesting test suites below the
top level test.
- paintFail() - Method in class SimpleTest\TextReporter
- Paints the test failure as a stack trace.
- paintFail() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintFooter() - Method in class SimpleTest\HtmlReporter
- Paints the end of the test with a summary of
the passes and failures.
- paintFooter() - Method in class SimpleTest\TextReporter
- Paints the end of the test with a summary of
the passes and failures.
- paintFooter() - Method in class SimpleTest\SimpleReporter
- Paints the test document footer.
- paintFooter() - Method in class SimpleTest\XmlReporter
- Paints the test document footer.
- paintFormattedMessage() - Method in class SimpleTest\XmlReporter
- Paints a formatted ASCII message such as a
variable dump.
- paintFormattedMessage() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintFormattedMessage() - Method in class SimpleTest\TextReporter
- Paints formatted text such as dumped variables.
- paintFormattedMessage() - Method in class SimpleTest\SimpleScorer
- Paints a formatted ASCII message such as a
variable dump.
- paintFormattedMessage() - Method in class SimpleTest\HtmlReporter
- Paints formatted text such as dumped variables.
- paintGroupEnd() - Method in class SimpleTest\SimpleScorer
- Paints the end of a group test.
- paintGroupEnd() - Method in class SimpleTest\XmlReporter
- Paints the end of a group test.
- paintGroupEnd() - Method in class SimpleTest\SimpleReporter
- Paints the end of a group test.
- paintGroupStart() - Method in class SimpleTest\SimpleScorer
- Paints the start of a group test.
- paintGroupStart() - Method in class SimpleTest\SimpleReporter
- Paints the start of a group test.
- paintGroupStart() - Method in class SimpleTest\XmlReporter
- Paints the start of a group test.
- paintHeader() - Method in class SimpleTest\SimpleReporter
- Paints the test document header.
- paintHeader() - Method in class SimpleTest\HtmlReporter
- Paints the top of the web page setting the
title to the name of the starting test.
- paintHeader() - Method in class SimpleTest\TextReporter
- Paints the title only.
- paintHeader() - Method in class SimpleTest\XmlReporter
- Paints the test document header.
- paintMessage() - Method in class SimpleTest\SimpleScorer
- Paints a simple supplementary message.
- paintMessage() - Method in class SimpleTest\XmlReporter
- Paints a simple supplementary message.
- paintMessage() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintMethodEnd() - Method in class SimpleTest\SimpleScorer
- Paints the end of a test method.
- paintMethodEnd() - Method in class SimpleTest\XmlReporter
- Paints the end of a test method.
- paintMethodEnd() - Method in class SimpleTest\SimpleReporter
- Paints the end of a test method.
- paintMethodEnd() - Method in class SimpleTest\SimpleRunner
- Paints the end of a test method.
- paintMethodStart() - Method in class SimpleTest\SimpleScorer
- Paints the start of a test method.
- paintMethodStart() - Method in class SimpleTest\SimpleReporter
- Paints the start of a test method.
- paintMethodStart() - Method in class SimpleTest\SimpleRunner
- Paints the start of a test method.
- paintMethodStart() - Method in class SimpleTest\XmlReporter
- Paints the start of a test method.
- paintPass() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintPass() - Method in class SimpleTest\SimpleScorer
- Increments the pass count.
- paintPass() - Method in class SimpleTest\XmlReporter
- Increments the pass count.
- paintSignal() - Method in class SimpleTest\SimpleRunner
- Chains to the wrapped reporter.
- paintSignal() - Method in class SimpleTest\SimpleScorer
- By default just ignores user generated events.
- paintSignal() - Method in class SimpleTest\XmlReporter
- Serialises the event object.
- paintStart() - Method in class SimpleTest\NestingCaseTag
- Signals the appropriate start event on the
listener.
- paintStart() - Method in class SimpleTest\NestingMethodTag
- Signals the appropriate start event on the
listener.
- paintStart() - Method in class SimpleTest\NestingGroupTag
- Signals the appropriate start event on the
listener.
- ParallelRegex() - Class in package SimpleTest
- Compounded regular expression.
- ParametersExpectation() - Class in package SimpleTest
- Parameter comparison assertion.
- parse() - Method in class SimpleTest\SimplePageBuilder
- Reads the raw content and send events
into the page to be built.
- parse() - Method in class SimpleTest\SimpleTestXmlParser
- Parses a block of XML sending the results to
the listener.
- parse() - Method in class SimpleTest\SimpleSaxParser
- Runs the content through the lexer which
should call back to the acceptors.
- parse() - Method in class SimpleTest\SimpleLexer
- Splits the page text into tokens.
- pass() - Method in class SimpleTest\SimpleTestCase
- Sends a pass event with a message.
- PHPUnit_TestCase() - Class in package SimpleTest
- Adapter for PEAR PHPUnit test case to allow
legacy PEAR test cases to be used with SimpleTest.
- post() - Method in class SimpleTest\SimpleBrowser
- Fetches the page content with a POST request.
- post() - Method in class SimpleTest\WebTestCase
- Fetches a page by POST into the page buffer.
R
- read() - Method in class SimpleTest\SimpleSocket
- Reads data from the socket.
- recordEntry() - Method in class SimpleTest\SimpleBrowserHistory
- Adds a successfully fetched page to the history.
- registerTest() - Method in class SimpleTest\SimpleMock
- Stashes the test case for later recovery.
- RemoteTestCase() - Class in package SimpleTest
- Runs an XML formated test on a remote server.
- resetValue() - Method in class SimpleTest\SimpleWidget
- Resets the form element value back to the
default.
- restart() - Method in class SimpleTest\WebTestCase
- Simulates the closing and reopening of the browser.
- restart() - Method in class SimpleTest\SimpleBrowser
- Removes expired and temporary cookies as if
the browser was closed and re-opened.
- restart() - Method in class SimpleTest\SimpleUserAgent
- Removes expired and temporary cookies as if
the browser was closed and re-opened.
- restartSession() - Method in class SimpleTest\SimpleCookieJar
- Removes expired and temporary cookies as if
the browser was closed and re-opened.
- restartSession() - Method in class SimpleTest\SimpleAuthenticator
- Starts with no realms set up.
- retry() - Method in class SimpleTest\WebTestCase
- Equivalent to hitting the retry button on the
browser.
- retry() - Method in class SimpleTest\SimpleBrowser
- Equivalent to hitting the retry button on the
browser.
- run() - Method in class SimpleTest\SimpleTestCase
- Uses reflection to run every method within itself
starting with the string "test" unless a method
is specified.
- run() - Method in class SimpleTest\BadGroupTest
- Sends a single error to the reporter.
- run() - Method in class SimpleTest\GroupTest
- Invokes run() on all of the held test cases, instantiating
them if necessary.
- run() - Method in class SimpleTest\RemoteTestCase
- Runs the top level test for this class.
- run() - Method in class SimpleTest\SimpleRunner
- Runs the test methods in the test case.
S
- sendMessage() - Method in class SimpleTest\SimpleTestCase
- Dispatches a text message straight to the
test suite.
- sendNoCacheHeaders() - Method in class SimpleTest\HtmlReporter
- Send the headers necessary to ensure the page is
reloaded on every request.
- setBrowser() - Method in class SimpleTest\WebTestCase
- Gets a current browser reference for setting
special expectations or for detailed
examination of page fetches.
- setConnectionTimeout() - Method in class SimpleTest\SimpleUserAgent
- Sets the socket timeout for opening a connection.
- setConnectionTimeout() - Method in class SimpleTest\WebTestCase
- Sets the socket timeout for opening a connection and
receiving at least one byte of information.
- setConnectionTimeout() - Method in class SimpleTest\SimpleBrowser
- Sets the socket timeout for opening a connection.
- setCookie() - Method in class SimpleTest\WebTestCase
- Sets a cookie in the current browser.
- setCookie() - Method in class SimpleTest\SimpleCookieJar
- Adds a cookie to the jar.
- setCookie() - Method in class SimpleTest\SimpleUserAgent
- Sets an additional cookie.
- setCookie() - Method in class SimpleTest\SimpleHttpRequest
- Adds a cookie to the request.
- setCookie() - Method in class SimpleTest\SimpleBrowser
- Sets an additional cookie.
- setCoordinates() - Method in class SimpleTest\SimpleUrl
- Sets image coordinates.
- setCoordinates() - Method in class SimpleTest\SimpleFormEncoding
- Sets image coordinates.
- setDefaultTarget() - Method in class SimpleTest\SimpleForm
- Sets the frame target within a frameset.
- setField() - Method in class SimpleTest\SimpleBrowser
- Sets all form fields with that name.
- setField() - Method in class SimpleTest\SimpleFrameset
- Sets a field on each form in which the field is
available.
- setField() - Method in class SimpleTest\WebTestCase
- Sets all form fields with that name.
- setField() - Method in class SimpleTest\SimpleForm
- Sets a widget value within the form.
- setField() - Method in class SimpleTest\SimplePage
- Sets a field on each form in which the field is
available.
- setFieldById() - Method in class SimpleTest\SimpleBrowser
- Sets all form fields with that id attribute.
- setFieldById() - Method in class SimpleTest\WebTestCase
- Sets all form fields with that name.
- setFieldById() - Method in class SimpleTest\SimpleForm
- Sets a widget value within the form by using the ID.
- setFieldById() - Method in class SimpleTest\SimpleFrameset
- Sets a field on the form in which the unique field is
available.
- setFieldById() - Method in class SimpleTest\SimplePage
- Sets a field on the form in which the unique field is
available.
- setFrame() - Method in class SimpleTest\SimpleFrameset
- Replaces existing frame with another.
- setFrameFocus() - Method in class SimpleTest\SimplePage
- Sets the focus by name.
- setFrameFocus() - Method in class SimpleTest\SimpleFrameset
- Sets the focus by name.
- setFrameFocus() - Method in class SimpleTest\SimpleBrowser
- Sets the focus by name.
- setFrameFocus() - Method in class SimpleTest\WebTestCase
- Sets the focus by name.
- setFrameFocusByIndex() - Method in class SimpleTest\SimpleBrowser
- Sets the focus by index.
- setFrameFocusByIndex() - Method in class SimpleTest\SimpleFrameset
- Sets the focus by index.
- setFrameFocusByIndex() - Method in class SimpleTest\SimplePage
- Sets the focus by index.
- setFrameFocusByIndex() - Method in class SimpleTest\WebTestCase
- Sets the focus by index.
- setHost() - Method in class SimpleTest\SimpleCookie
- Sets the host.
- setIdentity() - Method in class SimpleTest\SimpleUserAgent
- Sets the identity for the current realm.
- setIdentity() - Method in class SimpleTest\SimpleRealm
- Sets the identity to try within this realm.
- setIdentityForRealm() - Method in class SimpleTest\SimpleAuthenticator
- Sets the current identity to be presented
against that realm.
- setLooselyTyped() - Method in class SimpleTest\PHPUnit_TestCase
- Sets equality operation to act as a simple equal
comparison only, allowing a broader range of
matches.
- setMaximumNestedFrames() - Method in class SimpleTest\SimpleBrowser
- Sets the maximum number of nesting of framed pages
within a framed page to prevent loops.
- setMaximumRedirects() - Method in class SimpleTest\SimpleBrowser
- Sets the maximum number of redirects before
a page will be loaded anyway.
- setMaximumRedirects() - Method in class SimpleTest\WebTestCase
- Sets the maximum number of redirects before
the web page is loaded regardless.
- setMaximumRedirects() - Method in class SimpleTest\SimpleUserAgent
- Sets the maximum number of redirects before
a page will be loaded anyway.
- setMockBaseClass() - Method in class SimpleTest\SimpleTestOptions
- The base class name is settable here.
- setName() - Method in class SimpleTest\NestingXmlTag
- Sets the test case/method name.
- setName() - Method in class SimpleTest\PHPUnit_TestCase
- Does nothing.
- setReturnReference() - Method in class SimpleTest\SimpleStub
- Sets a return for a parameter list that will
be passed by reference for all calls.
- setReturnReferenceAt() - Method in class SimpleTest\SimpleStub
- Sets a return for a parameter list that will
be passed by value only when the required call count
is reached.
- setReturnValue() - Method in class SimpleTest\SimpleStub
- Sets a return for a parameter list that will
be passed by value for all calls to this method.
- setReturnValueAt() - Method in class SimpleTest\SimpleStub
- Sets a return for a parameter list that will
be passed by value only when the required call count
is reached.
- setStubBaseClass() - Method in class SimpleTest\SimpleTestOptions
- The base class name is settable here.
- setTarget() - Method in class SimpleTest\SimpleUrl
- Attaches a frame target.
- setTimeout() - Method in class SimpleTest\SimpleTestCompatibility
- Sets a socket timeout for each chunk.
- setUp() - Method in class SimpleTest\SimpleTestCase
- Sets up unit test wide variables at the start
of each test method.
- setValue() - Method in class SimpleTest\SimpleWidget
- Sets the current form element value.
- setValue() - Method in class SimpleTest\SimpleSelectionTag
- Can only set allowed values.
- setValue() - Method in class SimpleTest\SimpleButtonTag
- Disables the setting of the button value.
- setValue() - Method in class SimpleTest\SimpleCheckboxTag
- The only allowed value in the one in the
"value" attribute.
- setValue() - Method in class SimpleTest\SimpleRadioButtonTag
- The only allowed value in the one in the
"value" attribute.
- setValue() - Method in class SimpleTest\SimpleOptionTag
- Does nothing.
- setValue() - Method in class SimpleTest\MultipleSelectionTag
- Can only set allowed values.
- setValue() - Method in class SimpleTest\SimpleTextAreaTag
- Applies word wrapping if needed.
- setValue() - Method in class SimpleTest\SimpleSubmitTag
- Disables the setting of the button value.
- setValue() - Method in class SimpleTest\SimpleRadioGroup
- Each tag is tried in turn until one is
successfully set.
- setValue() - Method in class SimpleTest\SimpleTextTag
- Sets the current form element value.
- setValue() - Method in class SimpleTest\SimpleImageSubmitTag
- Disables the setting of the button value.
- setValue() - Method in class SimpleTest\SimpleCheckboxGroup
- Accessor for current set values.
- ShellTestCase() - Class in package SimpleTest
- Test case for testing of command line scripts and
utilities.
- shouldInvoke() - Method in class SimpleTest\SimpleScorer
- The reporter has a veto on what should be run.
- showHeaders() - Method in class SimpleTest\WebTestCase
- Dumps the current HTTP headers for debugging.
- showRequest() - Method in class SimpleTest\WebTestCase
- Dumps the current request for debugging.
- showSource() - Method in class SimpleTest\WebTestCase
- Dumps the current HTML source for debugging.
- signal() - Method in class SimpleTest\SimpleTestCase
- Sends a user defined event to the test runner.
- SIMPLE_TEST() - Global in package SimpleTest
- #@+
Includes SimpleTest files and defined the root constant
for dependent libraries.
- SimpleAnchorTag() - Class in package SimpleTest
- Link.
- SimpleAuthenticator() - Class in package SimpleTest
- Manages security realms.
- SimpleBrowser() - Class in package SimpleTest
- Simulated web browser.
- SimpleBrowserHistory() - Class in package SimpleTest
- Browser history list.
- SimpleButtonTag() - Class in package SimpleTest
- Submit button as button tag.
- SimpleCheckboxGroup() - Class in package SimpleTest
- A group of tags with the same name within a form.
- SimpleCheckboxTag() - Class in package SimpleTest
- Checkbox widget.
- SimpleCookie() - Class in package SimpleTest
- Cookie data holder.
- SimpleCookieJar() - Class in package SimpleTest
- Repository for cookies.
- SimpleDumper() - Class in package SimpleTest
- Displays variables as text and does diffs.
- SimpleErrorQueue() - Class in package SimpleTest
- Singleton error queue used to record trapped
errors.
- SimpleErrorTrappingInvoker() - Class in package SimpleTest
- Extension that traps errors into an error queue.
- SimpleExpectation() - Class in package SimpleTest
- Assertion that can display failure information.
- SimpleForm() - Class in package SimpleTest
- Form tag class to hold widget values.
- SimpleFormEncoding() - Class in package SimpleTest
- Bundle of GET/POST parameters.
- SimpleFormTag() - Class in package SimpleTest
- Tag to aid parsing the form.
- SimpleFrameset() - Class in package SimpleTest
- A composite page.
- SimpleFrameTag() - Class in package SimpleTest
- Tag to aid parsing the frames in a page.
- SimpleHttpHeaders() - Class in package SimpleTest
- Collection of header lines in the response.
- SimpleHttpRequest() - Class in package SimpleTest
- HTTP request for a web page.
- SimpleHttpResponse() - Class in package SimpleTest
- Basic HTTP response.
- SimpleIdSelector() - Class in package SimpleTest
- Used to extract form elements for testing against.
- SimpleImageSubmitTag() - Class in package SimpleTest
- Image button as input tag.
- SimpleInvoker() - Class in package SimpleTest
- This is called by the class runner to run a
single test method.
- SimpleInvokerDecorator() - Class in package SimpleTest
- Do nothing decorator.
- SimpleLabelSelector() - Class in package SimpleTest
- Used to extract form elements for testing against.
- SimpleLexer() - Class in package SimpleTest
- Accepts text and breaks it into tokens.
- SimpleMock() - Class in package SimpleTest
- An empty collection of methods that can have their
return values set and expectations made of the
calls upon them.
- SimpleNameSelector() - Class in package SimpleTest
- Used to extract form elements for testing against.
- SimpleOptionTag() - Class in package SimpleTest
- Option for selection field.
- SimplePage() - Class in package SimpleTest
- A wrapper for a web page.
- SimplePageBuilder() - Class in package SimpleTest
- SAX event handler.
- SimpleProxyRoute() - Class in package SimpleTest
- Creates HTTP headers for the end point of
a HTTP request via a proxy server.
- SimpleRadioButtonTag() - Class in package SimpleTest
- Radio button.
- SimpleRadioGroup() - Class in package SimpleTest
- A group of tags with the same name within a form.
- SimpleRealm() - Class in package SimpleTest
- Represents a single security realm's identity.
- SimpleReporter() - Class in package SimpleTest
- Recipient of generated test messages that can display
page footers and headers.
- SimpleRoute() - Class in package SimpleTest
- Creates HTTP headers for the end point of
a HTTP request.
- SimpleRunner() - Class in package SimpleTest
- The standard runner.
- SimpleSaxListener() - Class in package SimpleTest
- SAX event handler.
- SimpleSaxParser() - Class in package SimpleTest
- Converts HTML tokens into selected SAX events.
- SimpleScorer() - Class in package SimpleTest
- Can recieve test events and display them.
- SimpleSecureSocket() - Class in package SimpleTest
- Wrapper for TCP/IP socket over TLS.
- SimpleSelectionTag() - Class in package SimpleTest
- Drop down widget.
- SimpleShell() - Class in package SimpleTest
- Wrapper for exec() functionality.
- SimpleSocket() - Class in package SimpleTest
- Wrapper for TCP/IP socket.
- SimpleStateStack() - Class in package SimpleTest
- States for a stack machine.
- SimpleStickyError() - Class in package SimpleTest
- Stashes an error for later.
- SimpleStub() - Class in package SimpleTest
- An empty collection of methods that can have their
return values set.
- SimpleSubmitTag() - Class in package SimpleTest
- Submit button as input tag.
- SimpleTag() - Class in package SimpleTest
- HTML or XML tag.
- SimpleTestCase() - Class in package SimpleTest
- Basic test case.
- SimpleTestCompatibility() - Class in package SimpleTest
- Static methods for compatibility between different
PHP versions.
- simpleTestErrorHandler() - Function in package SimpleTest
- Error handler that simply stashes any errors into the global
error queue.
- SimpleTestOptions() - Class in package SimpleTest
- Static global directives and options.
- SimpleTestXmlParser() - Class in package SimpleTest
- Parser for importing the output of the XmlReporter.
- SimpleTextAreaTag() - Class in package SimpleTest
- Content tag for text area.
- SimpleTextTag() - Class in package SimpleTest
- Text, password and hidden field.
- SimpleTitleTag() - Class in package SimpleTest
- Page title.
- SimpleUrl() - Class in package SimpleTest
- URL parser to replace parse_url() PHP function which
got broken in PHP 4.3.0.
- SimpleUserAgent() - Class in package SimpleTest
- Fetches web pages whilst keeping track of
cookies and authentication.
- SimpleWidget() - Class in package SimpleTest
- Form element.
- startElement() - Method in class SimpleTest\SimplePageBuilder
- Start of element event.
- startElement() - Method in class SimpleTest\SimpleSaxListener
- Start of element event.
- stretch() - Method in class SimpleTest\SimpleRealm
- Adds another location to the realm.
- Stub() - Class in package SimpleTest
- Static methods only service class for code generation of
server stubs.
- submit() - Method in class SimpleTest\SimpleForm
- Simply submits the form without the submit button
value.
- submitButtonById() - Method in class SimpleTest\SimpleForm
- Gets the submit values for a button identified by the ID.
- submitButtonByLabel() - Method in class SimpleTest\SimpleForm
- Gets the submit values for a named button.
- submitButtonByName() - Method in class SimpleTest\SimpleForm
- Gets the submit values for a named button.
- submitFormById() - Method in class SimpleTest\SimpleBrowser
- Submits a form by the ID.
- submitFormById() - Method in class SimpleTest\WebTestCase
- Submits a form by the ID.
- submitImageById() - Method in class SimpleTest\SimpleForm
- Gets the submit values for an image identified by the ID.
- submitImageByLabel() - Method in class SimpleTest\SimpleForm
- Gets the submit values for an image identified by the alt
tag or nearest equivalent.
- submitImageByName() - Method in class SimpleTest\SimpleForm
- Gets the submit values for an image identified by the ID.
- swallowErrors() - Method in class SimpleTest\SimpleTestCase
- Cancels any outstanding errors.
T
- tally() - Method in class SimpleTest\SimpleMock
- Totals up the call counts and triggers a test
assertion if a test is present for expected
call counts.
- tearDown() - Method in class SimpleTest\SimpleTestCase
- Clears the data set in the setUp() method call.
- test() - Method in class SimpleTest\HttpUnwantedHeaderExpectation
- Tests that the unwanted header is not found.
- test() - Method in class SimpleTest\HttpHeaderExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\ParametersExpectation
- Tests the assertion.
- test() - Method in class SimpleTest\FieldExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\IdenticalExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\MaximumCallCountExpectation
- Tests the assertion.
- test() - Method in class SimpleTest\NotIdenticalExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\MinimumCallCountExpectation
- Tests the assertion.
- test() - Method in class SimpleTest\MethodExistsExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\NotEqualExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\NotAExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\IsAExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\EqualExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\WildcardExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\SimpleExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\CallCountExpectation
- Tests the assertion.
- test() - Method in class SimpleTest\WantedTextExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\WantedPatternExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\UnwantedPatternExpectation
- Tests the expectation.
- test() - Method in class SimpleTest\UnwantedTextExpectation
- Tests the expectation.
- TestCase() - Class in package SimpleTest
- Adapter for sourceforge PHPUnit test case to allow
legacy test cases to be used with SimpleTest.
- testMessage() - Method in class SimpleTest\EqualExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\NotIdenticalExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\IsAExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\NotAExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\WantedTextExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\MinimumCallCountExpectation
- Reports the comparison.
- testMessage() - Method in class SimpleTest\MethodExistsExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\UnwantedPatternExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\MaximumCallCountExpectation
- Reports the comparison.
- testMessage() - Method in class SimpleTest\IdenticalExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\NotEqualExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\HttpHeaderExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\HttpUnwantedHeaderExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\WildcardExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\SimpleExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\CallCountExpectation
- Reports the comparison.
- testMessage() - Method in class SimpleTest\WantedPatternExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\FieldExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\ParametersExpectation
- Returns a human readable test message.
- testMessage() - Method in class SimpleTest\UnwantedTextExpectation
- Returns a human readable test message.
- TextReporter() - Class in package SimpleTest
- Sample minimal test displayer.
- toParsedXml() - Method in class SimpleTest\XmlReporter
- Converts character string to parsed XML
entities string.
- TYPE_MATTERS() - Global in package SimpleTest
- does type matter
U
- UnitTestCase() - Class in package SimpleTest
- Standard unit test class for day to day testing
of PHP code XP style.
- unsetBrowser() - Method in class SimpleTest\WebTestCase
- Clears the current browser reference to help the
PHP garbage collector.
- UnwantedPatternExpectation() - Class in package SimpleTest
- Fail if a pattern is detected within the
comparison.
- UnwantedTextExpectation() - Class in package SimpleTest
- Fail if a substring is detected within the
comparison text.
- useFrames() - Method in class SimpleTest\SimpleBrowser
- Enables frames support.
- useProxy() - Method in class SimpleTest\WebTestCase
- Sets proxy to use on all requests for when
testing from behind a firewall.
- useProxy() - Method in class SimpleTest\SimpleBrowser
- Sets proxy to use on all requests for when
testing from behind a firewall.
- useProxy() - Method in class SimpleTest\SimpleUserAgent
- Sets proxy to use on all requests for when
testing from behind a firewall.
- useProxy() - Method in class SimpleTest\SimpleTestOptions
- Sets proxy to use on all requests for when
testing from behind a firewall.
W
- WantedPatternExpectation() - Class in package SimpleTest
- Test for a pattern using Perl regex rules.
- WantedTextExpectation() - Class in package SimpleTest
- Test for a text substring.
- WebTestCase() - Class in package SimpleTest
- Test case for testing of web pages.
- WebTestCaseInvoker() - Class in package SimpleTest
- Extension that builds a web browser at the start of each
test.
- WildcardExpectation() - Class in package SimpleTest
- A wildcard expectation always matches.
- write() - Method in class SimpleTest\SimpleSocket
- Writes some data to the socket and saves alocal copy.
X
- XmlReporter() - Class in package SimpleTest
- Creates the XML needed for remote communication
by SimpleTest.