[SimpleTest] element index

Package indexes

All elements
a b c d e f g h i l m n o p q r s t u w x _
_
top
Method _getDefaults
Constant default values.
Method _getRegistry
Accessor for global registry of options.
Variable $_loosely_typed
PHPUnit_TestCase::$_loosely_typed in pear_test_case.php
Variable $_call_counts
SimpleStub::$_call_counts in mock_objects.php
Variable $_count
Variable $_count
CallCountExpectation::$_count in mock_objects.php
Variable $_count
Variable $_expected
Variable $_expected_args
SimpleMock::$_expected_args in mock_objects.php
Variable $_expected_args_at
SimpleMock::$_expected_args_at in mock_objects.php
Variable $_expected_counts
SimpleMock::$_expected_counts in mock_objects.php
Variable $_is_strict
SimpleStub::$_is_strict in mock_objects.php
Variable $_map
CallMap::$_map in mock_objects.php
Variable $_max_counts
SimpleMock::$_max_counts in mock_objects.php
Variable $_method
CallCountExpectation::$_method in mock_objects.php
Variable $_method
Variable $_method
Variable $_returns
SimpleStub::$_returns in mock_objects.php
Variable $_return_sequence
SimpleStub::$_return_sequence in mock_objects.php
Variable $_test
SimpleMock::$_test in mock_objects.php
Variable $_wildcard
SimpleStub::$_wildcard in mock_objects.php
Method _addCall
SimpleStub::_addCall() in mock_objects.php
Adds one to the call count of a method.
Method _addMethodList
Mock::_addMethodList() in mock_objects.php
Creates a list of mocked methods for error checking.
Method _assertTrue
SimpleMock::_assertTrue() in mock_objects.php
Triggers an assertion on the held test case.
Method _bailOutIfNotMocked
Mock::_bailOutIfNotMocked() in mock_objects.php
Creates code to abandon the expectation if not mocked.
Method _chainMockExpectations
Mock::_chainMockExpectations() in mock_objects.php
Creates source code for chaining to an aggregated mock object.
Method _chainMockReturns
Mock::_chainMockReturns() in mock_objects.php
Creates source code for chaining to the composited mock object.
Method _checkArgumentsIsArray
Die if bad arguments array is passed
Method _checkExpectations
Tests the arguments against expectations.
Method _coerceToExpectation
Creates an identical expectation if the object/value is not already some type of expectation.
Method _createClassCode
Stub::_createClassCode() in mock_objects.php
The new server stub class code in string form.
Method _createClassCode
Mock::_createClassCode() in mock_objects.php
The new mock class code as a string.
Method _createHandlerCode
Stub::_createHandlerCode() in mock_objects.php
Creates code within a class to generate replaced methods. All methods call the _invoke() handler with the method name and the arguments in an array.
Method _describeDifference
Message to display if expectation differs from the parameters actually received.
Method _dieOnNoMethod
SimpleStub::_dieOnNoMethod() in mock_objects.php
Triggers a PHP error if the method is not part of this object.
Method _extendClassCode
Mock::_extendClassCode() in mock_objects.php
The extension class code as a string. The class composites a mock object and chains mocked methods to it.
Method _findFirstSlot
CallMap::_findFirstSlot() in mock_objects.php
Searches the map for a matching item.
Method _getReturn
SimpleStub::_getReturn() in mock_objects.php
Finds the return value matching the incoming arguments. If there is no matching value found then an error is triggered.
Method _invoke
SimpleMock::_invoke() in mock_objects.php
Returns the expected value for the method name and checks expectations. Will generate any test assertions as a result of expectations if there is a test present.
Method _invoke
SimpleStub::_invoke() in mock_objects.php
Returns the expected value for the method name.
Method _overrideMethods
Mock::_overrideMethods() in mock_objects.php
Creates source code to override a list of methods with mock versions.
Method _renderArguments
Renders the argument list as a string for messages.
Method _replaceWildcards
Replaces wildcard matches with wildcard expectations in the argument list.
Method _testParameter
Tests an individual parameter.
Variable $_attributes
Variable $_attributes
Variable $_content
Variable $_current_shell
ShellTestCase::$_current_shell in shell_tester.php
Variable $_dry_url
Variable $_dumper
SimpleExpectation::$_dumper in expectation.php
Variable $_exceptions
Variable $_expat
Variable $_fails
SimpleScorer::$_fails in scorer.php
Variable $_frameset_interface
Variable $_handler
TestOfHtmlLexer::$_handler in parser_test.php
Variable $_indent
Variable $_in_content_tag
Variable $_is_dry_run
Variable $_label
GroupTest::$_label in simple_test.php
Variable $_label
SimpleTestCase::$_label in simple_test.php
Variable $_last_command
ShellTestCase::$_last_command in shell_tester.php
Variable $_last_status
ShellTestCase::$_last_status in shell_tester.php
Variable $_lexer
TestOfSaxGeneration::$_lexer in parser_test.php
Variable $_lexer
TestOfHtmlLexer::$_lexer in parser_test.php
Variable $_listener
Variable $_listener
Variable $_message
SimpleExpectation::$_message in expectation.php
Variable $_method
Variable $_mock_shell
TestOfShellTestCase::$_mock_shell in shell_tester_test.php
Variable $_name
Variable $_namespace
Variable $_old
TestOfErrors::$_old in errors_test.php
Variable $_output
SimpleShell::$_output in shell_tester.php
Variable $_page_interface
Variable $_passes
Variable $_pattern
Variable $_progress
Variable $_queue
Variable $_runner
SimpleTestCase::$_runner in simple_test.php
Variable $_scorer
SimpleRunner::$_scorer in simple_test.php
Variable $_size
Variable $_size
Variable $_tag_stack
Variable $_test
TestOfMockExpectations::$_test in simple_mock_test.php
Variable $_test_case
SimpleRunner::$_test_case in simple_test.php
Variable $_test_cases
GroupTest::$_test_cases in simple_test.php
Variable $_test_stack
Variable $_type
IsAExpectation::$_type in expectation.php
Variable $_type
NotAExpectation::$_type in expectation.php
Variable $_url
RemoteTestCase::$_url in remote.php
Variable $_value
EqualExpectation::$_value in expectation.php
Method _addContent
Content between start and end elements.
Method _canonicalType
Coerces type name into a gettype() match.
Method _createBrowser
Creates a new web browser object for fetching the XML report.
Method _createCookieSite
Method _createParser
Creates the XML parser.
Method _createParser
Sets up expat as the XML parser.
Method _createPartialFetcher
Method _createRunner
Can modify the incoming reporter so as to run the tests differently. This version simply passes it straight through.
Method _createShell
ShellTestCase::_createShell() in shell_tester.php
Factory for the shell to run the command on.
Method _createSimulatedBadHost
Method _createStandardResponse
Method _decribePatternMatch
Describes a pattern match including the string found and it's position.
Method _default
XML and Doctype handler. Discards all such content.
Method _describeArrayDifference
Creates a human readable description of the difference between two arrays.
Method _describeBooleanDifference
Creates a human readable description of the difference between a boolean and another variable.
Method _describeFloatDifference
Creates a human readable description of the difference between two floating point numbers.
Method _describeGenericDifference
Creates a human readable description of the difference between two variables. The minimal version.
Method _describeIntegerDifference
Creates a human readable description of the difference between an integer and another variable.
Method _describeNullDifference
Creates a human readable description of the difference between a null and another variable.
Method _describeObjectDifference
Creates a human readable description of the difference between two objects.
Method _describeResourceDifference
Creates a human readable description of the difference between a resource and another variable.
Method _describeStringDifference
Creates a human readable description of the difference between a string and another variable.
Method _endElement
End of element event.
Method _getAttributes
Accessor for attributes.
Method _getCss
AllOutputReporter::_getCss() in visual_test.php
Method _getCss
HtmlReporter::_getCss() in reporter.php
Paints the CSS. Add additional styles here.
Method _getCurrentNestingTag
Accessor for current test structure tag.
Method _getDumper
Accessor for the dumper.
Method _getFramesetMethods
Method _getIndent
Calculates the pretty printing indent level from the current level of nesting.
Method _getPageMethods
Method _getPattern
Accessor for the pattern.
Method _getShell
ShellTestCase::_getShell() in shell_tester.php
Accessor for current shell. Used for testing the the tester itself.
Method _getShell
TestOfShellTestCase::_getShell() in shell_tester_test.php
Method _getTestCase
SimpleRunner::_getTestCase() in simple_test.php
Accessor for test case being run.
Method _getValue
Accessor for comparison value.
Method _isConstructor
Tests to see if the method is the constructor and so should be ignored.
Method _isLeaf
Test if tag is a leaf node with only text content.
Method _isTest
SimpleRunner::_isTest() in simple_test.php
Tests to see if the method is a test that should be run. Currently any method that starts with 'test' is a candidate.
Method _isTestCase
GroupTest::_isTestCase() in simple_test.php
Test to see if a class is derived from the TestCase class.
Method _isTypeMatch
Tests to see if types match.
Method _popNestingTag
Ends a nesting tag.
Method _pushNestingTag
Opens a new test nesting level.
Method _startElement
Handler for start of event element.
Method _stringDiffersAt
Find the first character position that differs in two strings by binary chop.
Variable $_action
Variable $_additional_headers
Variable $_attributes
Variable $_attributes
Variable $_authentication
Variable $_authenticator
Variable $_browser
WebTestCase::$_browser in web_tester.php
Variable $_buttons
Variable $_case
SimpleLexer::$_case in parser.php
Variable $_case
ParallelRegex::$_case in parser.php
Variable $_choice
Variable $_complete_forms
Variable $_connection_timeout
Variable $_content
Variable $_content
Variable $_content
Variable $_cookies
SimpleCookieJar::$_cookies in user_agent.php
Variable $_cookies
Variable $_cookies
Variable $_cookie_jar
Variable $_current_attribute
Variable $_default_target
Variable $_error
StickyError::$_error in socket.php
Variable $_expected_header
Variable $_expected_header
Variable $_expected_value
Variable $_expected_value
Variable $_expiry
Variable $_focus
Variable $_fragment
Variable $_frames
Variable $_frames
Variable $_frameset
Variable $_frameset
Variable $_frameset_nesting_level
Variable $_handle
Variable $_headers
Variable $_headers
Variable $_headers
Variable $_history
Variable $_host
Variable $_host
Variable $_http_version
Variable $_id
SimpleForm::$_id in form.php
Variable $_ignore_frames
Variable $_images
Variable $_is_open
Variable $_is_secure
Variable $_is_set
Variable $_labels
Variable $_lexer
TestSimpleSaxParser::$_lexer in parser_test.php
Variable $_lexer
Variable $_links
Variable $_listener
Variable $_location
Variable $_max_redirects
Variable $_method
Variable $_method
Variable $_method
Variable $_method
Variable $_mime_type
Variable $_mode
SimpleLexer::$_mode in parser.php
Variable $_mode_handlers
Variable $_name
Variable $_name
Variable $_names
Variable $_open_forms
Variable $_options
Variable $_options
Variable $_page
Variable $_page
SimpleBrowser::$_page in browser.php
Variable $_parser
SimpleLexer::$_parser in parser.php
Variable $_password
Variable $_password
SimpleRealm::$_password in authentication.php
Variable $_password
Variable $_path
Variable $_path
Variable $_patterns
Variable $_port
Variable $_position
Variable $_proxy
Variable $_proxy
SimpleUserAgent::$_proxy in user_agent.php
Variable $_proxy_password
Variable $_proxy_username
Variable $_raw
SimplePage::$_raw in page.php
Variable $_raw_headers
Variable $_realm
Variable $_realms
SimpleAuthenticator::$_realms in authentication.php
Variable $_regex
Variable $_regexes
Variable $_request
Variable $_request
Variable $_request_data
Variable $_request_data
Variable $_response_code
Variable $_root
SimpleRealm::$_root in authentication.php
Variable $_route
Variable $_scheme
Variable $_sent
SimpleSocket::$_sent in socket.php
Variable $_sent
SimplePage::$_sent in page.php
Variable $_sent
Variable $_sequence
Variable $_stack
Variable $_tag
Variable $_tags
Variable $_target
Variable $_title
Variable $_transport_error
Variable $_type
SimpleRealm::$_type in authentication.php
Variable $_url
SimplePage::$_url in page.php
Variable $_url
Variable $_url
SimpleRoute::$_url in http.php
Variable $_username
SimpleRealm::$_username in authentication.php
Variable $_username
Variable $_username
Variable $_user_agent
Variable $_value
FieldExpectation::$_value in web_tester.php
Variable $_value
Variable $_value
Variable $_values
Variable $_widgets
Variable $_widgets
Variable $_widgets
Variable $_x
SimpleUrl::$_x in url.php
Variable $_y
SimpleUrl::$_y in url.php
Method _addAdditionalHeaders
Adds additional manual headers.
Method _addAttributeTokens
Matches attributes that are either single quoted, double quoted or unquoted.
Method _addCheckbox
Adds a checkbox, making it a group on a repeated name.
Method _addContentTagToOpenTags
Parsed relevant data. The parsed tag is added to every open tag.
Method _addCookiesToJar
Extracts new cookies into the cookie jar.
Method _addInTagTokens
Pattern matches to parse the inside of a tag including the attributes and their quoting.
Method _addLink
Adds a link to the page.
Method _addRadioButton
Adds a radio button, building a group if necessary.
Method _addSkipping
The lexer has to skip certain sections such as server code, client code and styles.
Method _addTag
Pattern matches to start and end a tag.
Method _atBeginning
Test for being at the beginning.
Method _atEnd
Test for being at the last entry.
Method _chompCoordinates
Extracts the X, Y coordinate pair from an image map.
Method _chompHost
Extracts the host part of an incoming URL.
Method _chompLogin
Extracts the username and password from the incoming URL. The // prefix will be reattached to the URL after the doublet is extracted.
Method _chompPath
Extracts the path information from the incoming URL. Strips this path from the URL.
Method _chompRequest
Strips off the request data.
Method _chompScheme
Extracts the scheme part of an incoming URL.
Method _clearError
Resets the error state to no error.
Method _clearNestedFramesFocus
Clears the frame focus for any nested frames.
Method _coerceValues
Converts the output to an appropriate format. This means that no values is false, a single value is just that value and only two or more are contained in an array.
Method _createAction
Combined action attribute with current location to get an absolute form target.
Method _createHistory
Creates a new empty history list.
Method _createHttpRequest
Builds the appropriate HTTP request object.
Method _createInputTag
Factory for input tags.
Method _createPage
Creates an empty page.
Method _createParser
Creates the parser used with the builder.
Method _createRequest
Creates a full page request.
Method _createResponse
Wraps the socket in a response parser.
Method _createRoute
Sets up either a direct route or via a proxy.
Method _createSelectionTag
Factory for selection fields.
Method _createSocket
Factory for socket.
Method _createTag
Factory for the tag objects. Creates the appropriate tag object for the incoming tag name.
Method _createUserAgent
Creates the underlying user agent.
Method _decodeHtml
Decodes any HTML entities.
Method _decodeSpecial
Strips the magic underscore marking single token modes.
Method _dispatchRequest
Sends the headers.
Method _dispatchRequest
Sends the headers.
Method _dispatchTokens
Sends the matched token and any leading unmatched text to the parser changing the lexer to a new mode if one is listed.
Method _dropFuture
Ditches all future entries beyond the current point.
Method _extractResponse
Extracts all of the response information.
Method _fetch
Fetches a page.
Method _fetch
SimpleUserAgent::_fetch() in user_agent.php
Actually make the web request.
Method _fetchWhileRedirected
Fetches the page until no longer redirected or until the redirect limit runs out.
Method _findForm
General form finder. Will search all the frames or just the one in focus.
Method _findFormInFrame
Finds a form in a page using a form finding method. Will also tag the form with the frame name it belongs in.
Method _findHeader
Searches the incoming result. Will extract the matching line as text.
Method _findRealmFromUrl
Finds the name of the realm by comparing URLs.
Method _fixPath
Adds a trailing and leading slash to the path if missing.
Method _getCommonPath
SimpleRealm::_getCommonPath() in authentication.php
Finds the common starting path.
Method _getCompoundedRegex
Compounds the patterns into a single regular expression separated with the "or" operator. Caches the regex.
Method _getExpectation
Accessor for subclases.
Method _getHostLine
Creates the host part of the request.
Method _getHostLine
Creates the host part of the request.
Method _getIdentity
Extracts the username and password for use in rendering a URL.
Method _getParsedTags
List of parsed tags. Others are ignored.
Method _getPerlMatchingFlags
Accessor for perl regex mode flags to use.
Method _getPublicNameFromIndex
Turns an internal array index into the frames list into a public name, or if none, then a one offset index.
Method _getRequestLine
Creates the first line which is the actual request.
Method _getRequestLine
Creates the first line which is the actual request.
Method _getUrlFromLink
Converts a link into a target URL.
Method _invokeParser
Calls the parser method named after the current mode. Empty content will be ignored. The lexer has a parser handler for each mode in the lexer.
Method _isEmpty
Test for no entries yet.
Method _isFormElement
Tests to see if a tag is a possible form element.
Method _isLastPacket
Test to see if the packet from the socket is the last one.
Method _isLoadingFrames
Test to see if in the middle of reading a frameset.
Method _isMatch
SimpleCookieJar::_isMatch() in user_agent.php
Tests cookie for matching against search criteria.
Method _isModeEnd
Tests to see if the new mode is actually to leave the current mode and pop an item from the matching mode stack.
Method _isNormalMatch
Matches strings regardles of varying whitespace.
Method _isRelativePath
Simple test to see if a path part is relative.
Method _isSingle
Tests for valid field comparisons.
Method _isSpecialMode
Test to see if the mode is one where this mode is entered for this token only and automatically leaves immediately afterwoods.
Method _isTooManyRedirects
Test to see if the redirect limit is passed.
Method _keysToLowerCase
Make the keys lower case for case insensitive look-ups.
Method _linkIsAbsolute
Test to see if link is an absolute one.
Method _load
SimpleBrowser::_load() in browser.php
Fetches a page or a single frame if that is the current focus.
Method _loadFrame
Fetches a frame into the existing frameset replacing the original.
Method _loadPage
Fetches a page and makes it the current page/frame.
Method _makeAbsolute
Expands expandomatic URLs into fully qualified URLs.
Method _makeArray
Converts false or string into array. The opposite of the coercian method.
Method _marshallCookies
Serialises the cookie hash ready for transmission.
Method _noResponse
Sets up a missng response.
Method _normalise
Space at the ends will be stripped and space in between is reduced to one space.
Method _normaliseHeader
Removes whitespace at ends and case variations.
Method _openSocket
Actually opens the low level socket.
Method _openSocket
Actually opens the low level socket.
Method _openTag
Opens a tag for receiving content. Multiple tags will be receiving input at the same time.
Method _parse
Parses the raw content into a page. Will load further frame pages unless frames are disabled.
Method _parse
Splits up the headers and the rest of the content.
Method _parseCookie
Parse the Set-cookie content.
Method _parseHeaderLine
Called on each header line to accumulate the held data within the class.
Method _parseRequest
Breaks the request down into an object.
Method _readAll
Reads the whole of the socket output into a single string.
Method _reduce
Tries to match a chunk of text and if successful removes the recognised chunk and any leading unparsed data. Empty strings will not be matched.
Method _setAttribute
Sets an attribute.
Method _setError
Sets the internal error.
Method _setTitle
Sets the title tag contents.
Method _setWidget
Sets the widget into the form, grouping radio buttons if any.
Method _tagUrlsWithFrame
Attaches the intended frame index to a list of URLs.
Method _testHeaderLine
Compares a single header line against the expectation.
Method _testHeaderValue
Tests the value part of the header.
Method _testHeaderValue
Tests the value part of the header.
Method _testMultiple
List comparison for multivalue field.
Method _testSingle
String comparison for simple field.
Method _truncateHost
Extracts just the domain part that determines a cookie's host validity.
Method _valueIsPossible
Tests to see if a value is allowed.
Method _valuesArePossible
Tests to see if a possible value set is legal.
Method _wrapIsEnabled
Test to see if text should be wrapped.
a
top
Method addPartialMockCode
Adds additional mock code.
Method assert
TestCase::assert() in phpunit_test_case.php
Sends pass if the test condition resolves true, a fail otherwise.
Method assertEquals
TestCase::assertEquals() in phpunit_test_case.php
Will test straight equality if set to loose typing, or identity if not.
Method assertEquals
PHPUnit_TestCase::assertEquals() in pear_test_case.php
Will test straight equality if set to loose typing, or identity if not.
Method assertEqualsMultilineStrings
Will test straight equality if set to loose typing, or identity if not.
Method assertFalse
PHPUnit_TestCase::assertFalse() in pear_test_case.php
Sends pass if the test condition resolves false, a fail otherwise.
Method assertNotNull
PHPUnit_TestCase::assertNotNull() in pear_test_case.php
Passes if the value tested is not null.
Method assertNotSame
PHPUnit_TestCase::assertNotSame() in pear_test_case.php
In PHP5 the identity test tests for the same object. THis is a reference test in PHP4.
Method assertNull
PHPUnit_TestCase::assertNull() in pear_test_case.php
Passes if the value tested is null.
Method assertRegExp
PHPUnit_TestCase::assertRegExp() in pear_test_case.php
Tests a regex match. Needs refactoring.
Method assertRegexp
TestCase::assertRegexp() in phpunit_test_case.php
Tests a regex match.
Method assertSame
PHPUnit_TestCase::assertSame() in pear_test_case.php
In PHP5 the identity test tests for the same object. THis is a reference test in PHP4.
Method assertTrue
PHPUnit_TestCase::assertTrue() in pear_test_case.php
Sends pass if the test condition resolves true, a fail otherwise.
Method assertType
PHPUnit_TestCase::assertType() in pear_test_case.php
Tests the type of a value.
Method addReference
CallMap::addReference() in mock_objects.php
Stashes a reference against a method call.
Method addValue
CallMap::addValue() in mock_objects.php
Stashes a value against a method call.
Method add
Adds an error to the front of the queue.
Method addTestCase
GroupTest::addTestCase() in simple_test.php
Adds a test into the suite. Can be either a group test or some other unit test.
Method addTestClass
GroupTest::addTestClass() in simple_test.php
Adds a test into the suite by class name. The class will be instantiated as needed.
Method addTestFile
GroupTest::addTestFile() in simple_test.php
Builds a group test from a library of test cases.
Method after
SimpleTestCase::after() in simple_test.php
Runs test case specific code after the user tearDown().
Class AllOutputReporter
AllOutputReporter in visual_test.php
Sample minimal test displayer. Generates only failure messages and a pass count.
Method AllOutputReporter
Method AllTests
AllTests::AllTests() in all_tests.php
Class AllTests
AllTests in all_tests.php
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
Method assertCopy
UnitTestCase::assertCopy() in unit_tester.php
Will trigger a pass if both parameters refer to different objects. Fail otherwise.
Method assertEqual
UnitTestCase::assertEqual() in unit_tester.php
Will trigger a pass if the two parameters have the same value only. Otherwise a fail.
Method assertError
UnitTestCase::assertError() in unit_tester.php
Confirms that an error has occoured and optionally that the error text matches exactly.
Method assertErrorPattern
Confirms that an error has occoured and that the error text matches a Perl regular expression.
Method assertExitCode
Tests the last status code from the shell.
Method assertExpectation
Runs an expectation directly, for extending the tests with new expectation classes.
Method 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.
Method assertFileExists
File existence check.
Method assertFileNotExists
File non-existence check.
Method assertFilePattern
Scans a file for a Perl regex. If found anywhere it passes, else it fails.
Method assertIdentical
Will trigger a pass if the two parameters have the same value and same type. Otherwise a fail.
Method assertIsA
UnitTestCase::assertIsA() in unit_tester.php
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.
Method assertNoErrors
Confirms that no errors have occoured so far in the test method.
Method assertNoFilePattern
If a Perl regex is found anywhere in the named file then a failure is generated, else a pass.
Method assertNoOutputPattern
If a Perl regex is found anywhere in the current output then a failure is generated, else a pass.
Method assertNotA
UnitTestCase::assertNotA() in unit_tester.php
Type and class mismatch test. Will pass if class name or underling type does not match the one specified.
Method assertNotEqual
Will trigger a pass if the two parameters have a different value. Otherwise a fail.
Method assertNotIdentical
Will trigger a pass if the two parameters have the different value or different type.
Method assertNotNull
Will be true if the value is set.
Method assertNoUnwantedPattern
Will trigger a pass if the perl regex pattern is not present in subject. Fail if found.
Method assertNull
UnitTestCase::assertNull() in unit_tester.php
Will be true if the value is null.
Method assertOutput
ShellTestCase::assertOutput() in shell_tester.php
Attempt to exactly match the combined STDERR and STDOUT output.
Method assertOutputPattern
Scans the output for a Perl regex. If found anywhere it passes, else it fails.
Method assertPreserved
Method assertReference
Will trigger a pass if both parameters refer to the same object. Fail otherwise.
Method assertTrue
SimpleTestCase::assertTrue() in simple_test.php
Called from within the test methods to register passes and failures.
Method assertUrl
TestOfUrl::assertUrl() in url_test.php
Method assertWantedPattern
Will trigger a pass if the Perl regex pattern is found in the subject. Fail otherwise.
Method acceptAttributeToken
Part of the tag data.
Method acceptEndToken
Accepts a token from the end tag mode.
Method acceptEntityToken
A character entity.
Method acceptFormEnd
Closes the most recently opened form.
Method acceptFormStart
Opens a form. New widgets go here.
Method acceptFrame
Takes a single frame tag and stashes it in the current frame set.
Method acceptFramesetEnd
Closes the most recently opened frameset.
Method acceptFramesetStart
Opens a frameset. A frameset may contain nested frameset tags.
Method acceptStartToken
Accepts a token from the tag mode. If the
Method acceptTag
Adds a tag to the page.
Method acceptTextToken
Character data between tags regarded as important.
Method add
Adds a parameter to the query.
Method addBasicHeaders
Presents the appropriate headers for this location for basic authentication.
Method addContent
Appends string content to the current content.
Method addContent
Text within the selection element is ignored.
Method addContent
Unparsed, but relevant data. The data is added to every open tag.
Method addContent
Unparsed, but relevant data.
Method addContent
Text within the selection element is ignored.
Method addEntryPattern
Adds a pattern that will enter a new parsing mode. Useful for entering parenthesis, strings, tags, etc.
Method addExitPattern
Adds a pattern that will exit the current mode and re-enter the previous one.
Method addFrame
Adds a parsed page to the frameset.
Method addHeader
Adds a header to every fetch.
Method addHeader
WebTestCase::addHeader() in web_tester.php
Adds a header to every fetch.
Method addHeader
Adds a header to every fetch.
Method addHeaderLine
Adds a header line to the request.
Method addHeaders
SimpleAuthenticator::addHeaders() in authentication.php
Presents the appropriate headers for this location.
Method addHeaders
Adds the current cookies to a request.
Method addPattern
Adds a pattern with an optional label.
Method addPattern
Adds a token search pattern for a particular parsing mode. The pattern does not change the current mode.
Method addRealm
SimpleAuthenticator::addRealm() in authentication.php
Adds a new realm centered the current URL.
Method addRequestParameter
Adds an additional parameter to the request.
Method addRequestParameters
Adds additional parameters to the request.
Method 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.
Method addTag
Adds an enclosed tag to the content.
Method addTag
Adds an option tag to a selection field.
Method addTag
Adds an option tag to a selection field.
Method addWidget
Adds a tag to the group.
Method addWidget
Adds a tag contents to the form.
Method addWidget
Adds a tag to the group.
Method ageCookies
Ages the cookies by the specified time.
Method ageCookies
Ages the cookies by the specified time.
Method ageCookies
WebTestCase::ageCookies() in web_tester.php
Moves cookie expiry times back into the past.
Method agePrematurely
Ages all cookies in the cookie jar.
Method agePrematurely
Ages the cookie by the specified number of seconds.
Method assertAuthentication
Attempt to match the authentication type within the security realm we are currently matching.
Method assertCookie
WebTestCase::assertCookie() in web_tester.php
Checks that a cookie is set for the current page and optionally checks the value.
Method assertField
WebTestCase::assertField() in web_tester.php
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.
Method 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.
Method assertHeader
WebTestCase::assertHeader() in web_tester.php
Checks each header line for the required value. If no value is given then only an existence check is made.
Method assertHeaderPattern
Checks each header line for the required pattern.
Method assertLink
WebTestCase::assertLink() in web_tester.php
Tests for the presence of a link label. Match is case insensitive with normalised space.
Method assertLinkById
Tests for the presence of a link id attribute.
Method assertMime
WebTestCase::assertMime() in web_tester.php
Checks the mime type against a list of possible values.
Method assertNoAuthentication
Checks that no authentication is necessary to view the desired page.
Method assertNoCookie
Checks that no cookie is present or that it has been successfully cleared.
Method assertNoLink
WebTestCase::assertNoLink() in web_tester.php
Tests for the non-presence of a link label. Match is case insensitive with normalised space.
Method assertNoUnwantedHeader
Confirms that the header type has not been received.
Method assertNoUnwantedPattern
Will trigger a pass if the perl regex pattern is not present in raw content.
Method assertRealm
WebTestCase::assertRealm() in web_tester.php
Attempts to match the current security realm.
Method assertResponse
Checks the response code against a list of possible values.
Method assertTitle
WebTestCase::assertTitle() in web_tester.php
Tests the text between the title tags.
Method assertWantedPattern
Will trigger a pass if the Perl regex pattern is found in the raw content.
Method asString
Renders the query string as a URL encoded request part.
Method asString
Renders the URL back into a string.
Method authenticate
Retries a request after setting the authentication for the current realm.
Method authenticate
WebTestCase::authenticate() in web_tester.php
Retries a request after setting the authentication for the current realm.
Page authentication.php
authentication.php in authentication.php
b
top
Method before
SimpleTestCase::before() in simple_test.php
Runs test case specific code before the user setUp().
Method back
WebTestCase::back() in web_tester.php
Equivalent to hitting the back button on the browser.
Method back
Step back one place in the history. Stops at the first page.
Method back
SimpleBrowser::back() in browser.php
Equivalent to hitting the back button on the browser. The browser history is unchanged on failure.
Method before
WebTestCase::before() in web_tester.php
Sets up a browser for the start of each test method.
Page browser.php
browser.php in browser.php
c
top
Method countTestCases
For progress indication during a test amongst other things.
Class CallCountExpectation
CallCountExpectation in mock_objects.php
Confirms that the number of calls on a method is as expected.
Method CallCountExpectation
Stashes the method and expected count for later reporting.
Method CallMap
CallMap::CallMap() in mock_objects.php
Creates an empty call map.
Class CallMap
CallMap in mock_objects.php
Retrieves values and references by searching the parameter lists until a match is found.
Method clear
Discards the contents of the error queue.
Method clipString
Clips a string to a maximum length.
Method createBrowser
Method createBrowser
Method createRedirect
Method createSingleRealm
TestOfAuthenticator::createSingleRealm() in authentication_test.php
Method createUserAgent
Method clearFrameFocus
Clears the frame focus. All frames will be searched for content.
Method clearFrameFocus
Clears the frame focus. All frames will be searched for content.
Method clearFrameFocus
Clears the frame focus.
Method clearFrameFocus
Clears the frame focus. Does nothing for a leaf page.
Method clearRequest
Clears down all parameters.
Method clickImage
Clicks the submit image by some kind of label. Usually
Method clickImage
WebTestCase::clickImage() in web_tester.php
Clicks the submit image by some kind of label. Usually
Method 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.
Method 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.
Method clickImageByName
Clicks the submit image by the name. Usually
Method clickImageByName
Clicks the submit image by the name. Usually
Method clickLink
WebTestCase::clickLink() in web_tester.php
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.
Method 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.
Method clickLinkById
Follows a link by id attribute.
Method clickLinkById
Follows a link by id attribute.
Method clickSubmit
WebTestCase::clickSubmit() in web_tester.php
Clicks the submit button by label. The owning form will be submitted by this.
Method clickSubmit
Clicks the submit button by label. The owning form will be submitted by this.
Method clickSubmitById
Clicks the submit button by ID attribute of the button itself. The owning form will be submitted by this.
Method clickSubmitById
Clicks the submit button by ID attribute. The owning form will be submitted by this.
Method clickSubmitByName
Clicks the submit button by name attribute. The owning form will be submitted by this.
Method clickSubmitByName
Clicks the submit button by name attribute. The owning form will be submitted by this.
Method close
SimpleSocket::close() in socket.php
Closes the socket preventing further reads.
Method createBrowser
Creates a new default web browser object.
Method createConnection
Opens a socket to the route.
Method createConnection
Opens a socket to the route.
Method createLexer
Sets up the matching lexer. Starts in 'text' mode.
Method createLexer
d
top
Method describeDifference
Creates a human readable description of the difference between two variables. Uses a dynamic call.
Method describeValue
Renders a variable in a shorter form than print_r().
Method dump
SimpleTestCase::dump() in simple_test.php
Sends a formatted dump of a variable to the test suite for those emergency debugging situations.
Method dump
SimpleDumper::dump() in dumper.php
Sends a formatted dump of a variable to a string.
Method dumpOutput
ShellTestCase::dumpOutput() in shell_tester.php
Dumps the output of the last command.
Page dumper.php
dumper.php in dumper.php
Constant DEFAULT_CONNECTION_TIMEOUT
DEFAULT_CONNECTION_TIMEOUT in user_agent.php
Constant DEFAULT_MAX_REDIRECTS
DEFAULT_MAX_REDIRECTS in user_agent.php
e
top
Method error
TestCase::error() in phpunit_test_case.php
Sends an error which we interpret as a fail with a different message for compatibility.
Method expectArguments
SimpleMock::expectArguments() in mock_objects.php
Sets up an expected call with a set of expected parameters in that call. All calls will be compared to these expectations regardless of when the call is made.
Method expectArgumentsAt
Sets up an expected call with a set of expected parameters in that call. The expected call count will be adjusted if it is set too low to reach this call.
Method expectAtLeastOnce
Convenience method for requiring a method call.
Method expectCallCount
SimpleMock::expectCallCount() in mock_objects.php
Sets an expectation for the number of times a method will be called. The tally method is used to check this.
Method expectMaximumCallCount
Sets the number of times a method may be called before a test failure is triggered.
Method expectMinimumCallCount
Sets the number of times to call a method to prevent a failure on the tally.
Method expectNever
SimpleMock::expectNever() in mock_objects.php
Convenience method for barring a method call.
Method expectOnce
SimpleMock::expectOnce() in mock_objects.php
Convenience method for a single method call.
Method EqualExpectation
Sets the value to compare against.
Class EqualExpectation
EqualExpectation in expectation.php
Test for equality.
Method error
SimpleTestCase::error() in simple_test.php
Formats a PHP error and dispatches it to the runner.
Method execute
SimpleShell::execute() in shell_tester.php
Actually runs the command. Does not trap the error stream output as this need PHP 4.3+.
Method execute
ShellTestCase::execute() in shell_tester.php
Executes a command and buffers the results.
Method extract
Pulls the earliest error from the queue.
Page errors.php
errors.php in errors.php
Page expectation.php
expectation.php in expectation.php
Method encodeRequest
Encodes parameters as HTTP request parameters.
Method endElement
End of element event.
Method endElement
End of element event.
Method enter
Adds a state to the stack and sets it to be the current state.
Method expectEndTag
Check to see if the tag can have both start and end tags with content in between.
Method expectEndTag
Tag contains no end element.
Method expectEndTag
Tag contains no content.
Method expectEndTag
Tag contains no content.
Method expectEndTag
Check to see if the tag can have both start and end tags with content in between.
Method expectEndTag
Tag contains no content.
Method expectEndTag
Tag contains no end element.
Method expectEndTag
Tag contains no content.
f
top
Method findFirstMatch
CallMap::findFirstMatch() in mock_objects.php
Searches the call list for a matching parameter set. Returned by reference.
Method fail
SimpleTestCase::fail() in simple_test.php
Sends a fail event with a message.
Method fetch
Fetches the content and parses the headers.
Method fetchResponse
Fetches a URL as a response object. Will keep trying if redirected.
Method FieldExpectation
Sets the field value to compare against.
Class FieldExpectation
FieldExpectation in web_tester.php
Test for an HTML widget value match.
Method forward
WebTestCase::forward() in web_tester.php
Equivalent to hitting the forward button on the browser.
Method forward
Equivalent to hitting the forward button on the browser. The browser history is unchanged on failure.
Method forward
Step forward one place. If already at the latest entry then nothing will happen.
Page form.php
form.php in form.php
Page frames.php
frames.php in frames.php
g
top
Method getDefaultProxy
Accessor for default proxy host.
Method getDefaultProxyPassword
Accessor for default proxy password.
Method getDefaultProxyUsername
Accessor for default proxy username.
Method getMockBaseClass
Accessor for the currently set mock base class.
Method getPartialMockCode
Accessor for additional partial mock code.
Method getStackTrace
Gets the current stack trace topmost first.
Method getStubBaseClass
Accessor for the currently set stub base class.
Method getVersion
Reads the SimpleTest version from the release file.
Method getName
PHPUnit_TestCase::getName() in pear_test_case.php
Accessor for name, normally just the class name.
Method generate
Stub::generate() in mock_objects.php
Clones a class' interface and creates a stub version that can have return values set.
Method generate
Mock::generate() in mock_objects.php
Clones a class' interface and creates a mock version that can have return values and expectations set.
Method generatePartial
Mock::generatePartial() in mock_objects.php
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.
Method getCallCount
SimpleStub::getCallCount() in mock_objects.php
Fetches the call count of a method so far.
Method getExpectationLine
Mock::getExpectationLine() in mock_objects.php
Uses a stack trace to find the line of an assertion.
Method getTest
SimpleMock::getTest() in mock_objects.php
Accessor for attached unit test so that when subclassed, new expectations can be added easily.
Method getAssertionLine
Uses a stack trace to find the line of an assertion.
Method getExceptionCount
Accessor for the number of untrapped errors so far.
Method getFailCount
Accessor for the number of fails so far.
Method getFormattedAssertionLine
Extracts the last assertion that was not within Simpletest itself. The name must start with "assert".
Method getLabel
GroupTest::getLabel() in simple_test.php
Accessor for the test name for subclasses.
Method getLabel
Accessor for the test name for subclasses.
Method getLabel
SimpleTestCase::getLabel() in simple_test.php
Accessor for the test name for subclasses.
Method getName
Accessor for name.
Method getOutput
SimpleShell::getOutput() in shell_tester.php
Accessor for the last output.
Method getOutput
ShellTestCase::getOutput() in shell_tester.php
Accessor for the last output.
Method getOutputAsList
Accessor for the last output.
Method getOutputAsList
SimpleShell::getOutputAsList() in shell_tester.php
Accessor for the last output.
Method getPassCount
Accessor for the number of passes so far.
Method getSeverityAsString
Converst an error code into it's string representation.
Method getSize
GroupTest::getSize() in simple_test.php
Number of contained test cases.
Method getSize
The size in the attributes.
Method getSize
Accessor for the number of subtests.
Method getSize
SimpleTestCase::getSize() in simple_test.php
Accessor for the number of subtests.
Method getStatus
Accessor for current status. Will be false if there have been any failures or exceptions.
Method getTestCaseCount
Accessor for total test size in number of test cases. Null until the first test is started.
Method getTestCaseProgress
Accessor for the number of test cases completed so far.
Method getTestList
Accessor for internal test stack. For subclasses that need to see the whole test history for display purposes.
Method getType
Gets the string representation of a type.
Method getType
IsAExpectation::getType() in expectation.php
Accessor for type to check against.
Class GroupTest
GroupTest in simple_test.php
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
Method GroupTest
GroupTest::GroupTest() in simple_test.php
Sets the name of the test suite.
Method get
WebTestCase::get() in web_tester.php
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.
Method get
SimpleBrowser::get() in browser.php
Fetches the page content with a simple GET request.
Method getAbsoluteUrls
Accessor for a list of all fixed links.
Method getAbsoluteUrls
Accessor for a list of all fixed links in current page.
Method getAbsoluteUrls
Accessor for a list of all fixed links.
Method getAction
Absolute URL of the target.
Method getAll
Gets all parameters as structured hash. Repeated values are list values.
Method getAttribute
Accessor for an attribute.
Method getAuthentication
Accessor for last Authentication type. Only valid straight after a challenge (401).
Method getAuthentication
Accessor for last Authentication type. Only valid straight after a challenge (401).
Method getAuthentication
Accessor for last Authentication type. Only valid straight after a challenge (401).
Method getAuthentication
Accessor for authentication type.
Method getBaseCookieValue
Reads the current cookies within the base URL.
Method getBasePath
Gets the path to the page.
Method getBrowser
WebTestCase::getBrowser() in web_tester.php
Gets a current browser reference for setting special expectations or for detailed examination of page fetches.
Method getChildElements
List oflegal child elements.
Method getContent
Accessor for the whole content so far.
Method getContent
Accessor for the content after the last header line.
Method getContent
Accessor for raw page information.
Method getCookieValue
Reads the most specific cookie value from the browser cookies.
Method getCookieValue
Reads the most specific cookie value from the browser cookies.
Method getCurrent
Accessor for current state.
Method getCurrentCookieValue
Reads the current cookies for the current URL.
Method getDefault
Scans options for defaults to populate the value array().
Method getDefault
Accessor for starting value that is active.
Method getDefault
Accessor for starting value.
Method getDefault
Accessor for starting value that is active.
Method getDefault
Accessor for default value parsed with the tag.
Method getDefault
Accessor for starting value. Will be set to the option label if no value exists.
Method getDefault
Accessor for starting value. The default value is "on".
Method getDefault
Accessor for starting value.
Method getDefault
Scans options for defaults. If none, then the first option is selected.
Method getEncodedRequest
Accessor for current request parameters
Method getError
Accessor for an outstanding error.
Method getExpiry
Accessor for expiry.
Method getField
Accessor for a form element value within a page.
Method getField
Accessor for a form element value within the page.
Method getField
Accessor for a form element value within a frameset.
Method getFieldById
Accessor for a form element value within a page.
Method getFieldById
Accessor for a form element value within a page.
Method getFieldById
Accessor for a form element value within the page.
Method getFormById
Finds a held form by the form ID. A way of
Method getFormById
Finds a held form by the form ID. A way of identifying a specific form when we have control of the HTML code.
Method getFormByImageId
Finds a held form by image button id. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
Method getFormByImageId
Finds a held form by image button id. Will only search correctly built forms.
Method getFormByImageLabel
Finds a held form by image label. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
Method getFormByImageLabel
Finds a held form by image label. Will only search correctly built forms.
Method getFormByImageName
Finds a held form by image button id. Will only search correctly built forms.
Method getFormByImageName
Finds a held form by image button id. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
Method getFormBySubmitId
Finds a held form by button id. Will only search correctly built forms.
Method getFormBySubmitId
Finds a held form by button id. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
Method getFormBySubmitLabel
Finds a held form by button label. Will only search correctly built forms.
Method getFormBySubmitLabel
Finds a held form by button label. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
Method getFormBySubmitName
Finds a held form by button label. Will only search correctly built forms.
Method getFormBySubmitName
Finds a held form by button label. Will only search correctly built forms. The first form found either within the focused frame, or across frames, will be the one returned.
Method getFragment
Accessor for fragment at end of URL after the "#".
Method getFrameFocus
Accessor for current frame focus. Will be false as no frames.
Method getFrameFocus
Accessor for current frame focus. Will be false if no frame has focus.
Method getFrameFocus
Accessor for current frame focus. Will be false if no frame has focus.
Method getFrameFocus
Accessor for current frame focus. Will be false if no frame has focus. Will have the nested frame focus if any.
Method getFrames
Fetches a list of loaded frames.
Method getFrames
Accessor for a breakdown of the frameset.
Method getFrames
Accessor for frames information.
Method getFrameset
Accessor for frame name and source URL for every frame that will need to be loaded. Immediate children only.
Method getHeaders
Accessor for raw header information.
Method getHeaders
Accessor for header block. The response is the combination of this and the content.
Method getHeaders
Accessor for raw header information.
Method getHeaders
Accessor for raw headers of page.
Method getHost
Accessor for hostname and port.
Method getHost
Accessor for the truncated host to which this cookie applies.
Method getHref
Accessor for URL as string.
Method getHttpVersion
Accessor for parsed HTTP protocol version.
Method getId
ID field of form for unique identification.
Method getKeys
Accessor for key list.
Method getLabel
Value of browser visible text.
Method getLabel
Value of browser visible text.
Method getLabel
Value of browser visible text.
Method getLocation
Returns the redirected URL or false if no redirection.
Method getMethod
Accessor for form action.
Method getMethod
Last fetching method for current history position.
Method getMethod
Original request method.
Method getMethod
Original request method.
Method getMethod
Request method used to fetch this frame.
Method getMimeType
Accessor for current MIME type.
Method getMimeType
Accessor for current MIME type.
Method getMimeType
Accessor for MIME type header information.
Method getMimeType
Accessor for current MIME type.
Method getName
Accessor for name.
Method getName
Accessor for name submitted as the key in GET/POST variables hash.
Method getNewCookies
Accessor for any new cookies.
Method getNewCookies
Accessor for any new cookies.
Method getPage
Accessor for page if any. This may be a directory name if ambiguious.
Method getParameters
Parameters of last fetch from current history position.
Method getPassword
SimpleRealm::getPassword() in authentication.php
Accessor for current identity.
Method getPassword
Accessor for password.
Method getPath
Accessor for path.
Method getPath
Accessor for path.
Method getPort
Accessor for port number.
Method getRaw
Accessor for raw text of either all the pages or the frame in focus.
Method getRaw
Accessor for raw text of page.
Method getRaw
Accessor for raw header block.
Method getRealm
Accessor for last Authentication realm. Only valid straight after a challenge (401).
Method getRealm
Accessor for last Authentication realm. Only valid straight after a challenge (401).
Method getRealm
Accessor for last Authentication realm. Only valid straight after a challenge (401).
Method getRealm
Accessor for security realm.
Method getRelativeUrls
Accessor for a list of all relative links.
Method getRelativeUrls
Accessor for a list of all relative links.
Method getRelativeUrls
Accessor for a list of all relative links.
Method getRequest
Accessor for current request parameters as an object.
Method getRequest
Accessor for raw bytes sent down the wire.
Method getRequest
Original request as bytes sent down the wire.
Method getRequest
Accessor for outgoing header information.
Method getRequestData
Original request data.
Method getRequestData
Original request data.
Method getRequestData
Original request data.
Method getResponseCode
Accessor for last response code.
Method getResponseCode
Accessor for parsed HTTP error code.
Method getResponseCode
Accessor for HTTP response code.
Method getResponseCode
Accessor for last response code.
Method getScheme
Accessor for protocol part.
Method getSent
Accessor for content so far.
Method getSent
Raw request that was sent down the wire.
Method getSubmitValues
Gets the values submitted as a form.
Method getSubmitValues
Gets the values submitted as a form.
Method getSubmitValues
Gets the values submitted as a form. Gone for the Mozilla defaults values.
Method getTagName
Accessor for tag name.
Method getTarget
Gets the frame target if present. Although not strictly part of the URL specification it acts as similarily to the browser.
Method getTitle
Accessor for parsed title.
Method getTitle
Accessor for parsed title.
Method getTitle
Accessor for parsed title.
Method getTld
Accessor for top level domain.
Method getTransportError
Gets the last response error.
Method getTransportError
Accessor for last error.
Method getTransportError
Accessor for last error.
Method getTransportError
Accessor for last error.
Method getUrl
Accessor for current URL of page or frame if focused.
Method getUrl
Original resource name.
Method getUrl
Original resource name.
Method getUrl
Resource name.
Method getUrl
Last fully qualified URL for current history position.
Method getUrl
Resource name.
Method getUrl
WebTestCase::getUrl() in web_tester.php
Accessor for the currently selected URL.
Method 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.
Method getUrlById
Accessor for a URL by the id attribute.
Method getUrlsByLabel
Accessor for URLs by the link label. Label will match regardess of whitespace issues and case.
Method getUrlsByLabel
Accessor for URLs by the link label. Label will match regardess of whitespace issues and case.
Method getUsername
Accessor for user name.
Method getUsername
SimpleRealm::getUsername() in authentication.php
Accessor for current identity.
Method getValidCookies
Fetches a hash of all valid cookies filtered
Method getValue
Accessor for currently set value or default if none.
Method getValue
Accessor for current selected widget or false if none.
Method getValue
Extracts current value from form.
Method getValue
Accessor for current selected widget or false if none.
Method getValue
Accessor for current selection value.
Method getValue
Accessor for current selection value.
Method getValue
Accessor for value. A deleted cookie will have an empty string for this.
Method getValue
Accessor for single value.
Method getValueById
Extracts current value from form by the ID.
Method getValues
Reads the current form values as a hash of submitted parameters. Repeated parameters appear as a list.
Method getX
Accessor for horizontal image coordinate.
Method getY
Accessor for vertical image coordinate.
h
top
Method HtmlReporter
Does nothing yet. The first output will be sent on the first test start. For use by a web browser.
Class HtmlReporter
HtmlReporter in reporter.php
Sample minimal test displayer. Generates only failure messages and a pass count.
Method hasFrames
Test for the presence of a frameset.
Method hasFrames
Test for the presence of a frameset.
Method hasImageId
Test to see if a form has a submittable image with this ID attribute.
Method hasImageLabel
Test to see if a form has a submit button with this name attribute.
Method hasImageName
Test to see if a form has a submittable image with this field name.
Method hasSubmitId
Test to see if a form has a submit button with this ID attribute.
Method hasSubmitLabel
Test to see if a form has a submit button with this value attribute.
Method hasSubmitName
Test to see if a form has a submit button with this name attribute.
Method head
SimpleBrowser::head() in browser.php
Fetches the page content with a HEAD request.
Method head
WebTestCase::head() in web_tester.php
Does a HTTP HEAD fetch, fetching only the page headers. The current base URL is unchanged by this.
Method HttpHeaderExpectation
Sets the field and value to compare against.
Class HttpHeaderExpectation
HttpHeaderExpectation in web_tester.php
Test for a specific HTTP header within a header block.
Method HttpHeaderPatternExpectation
Sets the field and value to compare against.
Class HttpHeaderPatternExpectation
Test for a specific HTTP header within a header block.
Method HttpUnwantedHeaderExpectation
Sets the field and value to compare against.
Class HttpUnwantedHeaderExpectation
Test for a specific HTTP header within a header block that should not be found.
Page http.php
http.php in http.php
i
top
Method ignore
Sets the name of a test case to ignore, usually because the class is an abstract case that should not be run.
Method isA
Test to see if an object is a member of a class hiearchy.
Method isIdentical
Identity test. Drops back to equality for PHP5 objects as the === operator counts as the stronger reference constraint.
Method isIgnored
Test to see if a test case is in the ignore list.
Method isMatch
CallMap::isMatch() in mock_objects.php
Searches the call list for a matching parameter set. True if successful.
Class IdenticalExpectation
IdenticalExpectation in expectation.php
Test for identity.
Method IdenticalExpectation
Sets the value to compare against.
Method inCli
Static check for running in the comand line.
Method instance
Global access to a single error queue.
Method invoke
Invokes a single test method on the test case.
Method invoke
Invokes a test method and dispatches any untrapped errors. Called back from the visiting runner.
Method invoke
SimpleRunner::invoke() in simple_test.php
Invokes a test method and buffered with setUp() and tearDown() calls.
Class IsAExpectation
IsAExpectation in expectation.php
Tests either type or class name if it's an object.
Method IsAExpectation
Sets the type to compare with.
Method isEmpty
Tests to see if the queue is empty.
Method ignore
Incoming data to be ignored.
Method ignoreFrames
WebTestCase::ignoreFrames() in web_tester.php
Disables frames support. Frames will not be fetched and the frameset page will be used instead.
Method ignoreFrames
Disables frames support. Frames will not be fetched and the frameset page will be used instead.
Method isChallenge
Test to see if the response is an authentication challenge.
Method isError
Test for an outstanding error.
Method isExpired
Test to see if cookie is expired against the cookie format time or timestamp.
Method isLink
Tests to see if a link is present by label.
Method isLinkById
Tests to see if a link is present by ID attribute.
Method isOpen
Accessor for socket open state.
Method isRedirect
Test to see if the response is a valid redirect.
Method isSecure
Accessor for the secure flag.
Method isValidHost
Test for a cookie being valid for a host name.
Method isValidPath
Tests a path to see if the cookie applies there. The test path must be longer or equal to the cookie path.
Method isWithin
SimpleRealm::isWithin() in authentication.php
Test to see if the URL is within the directory tree of the realm.
l
top
Constant LEXER_ENTER
LEXER_ENTER in parser.php
Lexer mode stack constants
Constant LEXER_EXIT
LEXER_EXIT in parser.php
Lexer mode stack constants
Constant LEXER_MATCHED
LEXER_MATCHED in parser.php
Lexer mode stack constants
Constant LEXER_SPECIAL
LEXER_SPECIAL in parser.php
Lexer mode stack constants
Constant LEXER_UNMATCHED
LEXER_UNMATCHED in parser.php
Lexer mode stack constants
Method LiveHttpTestCase
Class LiveHttpTestCase
LiveHttpTestCase in live_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method loadPage
Method leave
Leaves the current state and reverts to the previous one.
Method LiveSitesTestCase
Class LiveSitesTestCase
LiveSitesTestCase in real_sites_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
m
top
Page mock_objects.php
mock_objects.php in mock_objects.php
Class MaximumCallCountExpectation
MaximumCallCountExpectation in mock_objects.php
Confirms that the number of calls on a method is as expected.
Method MaximumCallCountExpectation
Stashes the method and expected count for later reporting.
Class MinimumCallCountExpectation
MinimumCallCountExpectation in mock_objects.php
Confirms that the number of calls on a method is as expected.
Method MinimumCallCountExpectation
Stashes the method and expected count for later reporting.
Method Mock
Mock::Mock() in mock_objects.php
Factory for mock object classes.
Class Mock
Mock in mock_objects.php
Static methods only service class for code generation of mock objects.
Constant MOCK_WILDCARD
MOCK_WILDCARD in mock_objects.php
Default character simpletest will substitute for any value
Method makeDry
Signals that the next evaluation will be a dry run. That is, the structure events will be recorded, but no tests will be run.
Method MethodExistsExpectation
Sets the value to compare against.
Class MethodExistsExpectation
MethodExistsExpectation in expectation.php
Tests for existance of a method in an object
Method makeAbsolute
Replaces unknown sections to turn a relative URL into an absolute one. The base URL can be either a string or a SimpleUrl object.
Method mapHandler
Adds a mapping from a mode to another handler.
Method match
Attempts to match all patterns at once against a string.
Method merge
Adds a set of parameters to this query.
Class MultipleSelectionTag
Drop down widget.
Method MultipleSelectionTag
Starts with attributes only.
n
top
Method name
TestCase::name() in phpunit_test_case.php
Accessor for name.
Method NestingCaseTag
Sets the basic test information except the name.
Class NestingCaseTag
NestingCaseTag in xml.php
Accumulator for incoming case tag. Holds the incoming test structure information for later dispatch to the reporter.
Class NestingGroupTag
NestingGroupTag in xml.php
Accumulator for incoming group tag. Holds the incoming test structure information for later dispatch to the reporter.
Method NestingGroupTag
Sets the basic test information except the name.
Method NestingMethodTag
Sets the basic test information except the name.
Class NestingMethodTag
NestingMethodTag in xml.php
Accumulator for incoming method tag. Holds the incoming test structure information for later dispatch to the reporter.
Class NestingXmlTag
NestingXmlTag in xml.php
Accumulator for incoming tag. Holds the incoming test structure information for later dispatch to the reporter.
Method NestingXmlTag
Sets the basic test information except the name.
Method NotAExpectation
Sets the type to compare with.
Class NotAExpectation
NotAExpectation in expectation.php
Tests either type or class name if it's an object.
Class NotEqualExpectation
NotEqualExpectation in expectation.php
Test for inequality.
Method NotEqualExpectation
Sets the value to compare against.
Method NotIdenticalExpectation
Sets the value to compare against.
Class NotIdenticalExpectation
NotIdenticalExpectation in expectation.php
Test for non-identity.
Method normalisePath
Replaces . and .. sections of the path.
o
top
Page options.php
options.php in options.php
Method overlayMessage
Overlays the generated message onto the stored user message.
p
top
Page pear_test_case.php
pear_test_case.php in pear_test_case.php
Page phpunit_test_case.php
phpunit_test_case.php in phpunit_test_case.php
Class PHPUnit_TestCase
PHPUnit_TestCase in pear_test_case.php
Adapter for PEAR PHPUnit test case to allow legacy PEAR test cases to be used with SimpleTest.
Method PHPUnit_TestCase
Constructor. Sets the test name.
Page parser.php
parser.php in parser.php
Method ParametersExpectation
Sets the expected parameter list.
Class ParametersExpectation
ParametersExpectation in mock_objects.php
Parameter comparison assertion.
Method paintCaseEnd
Paints the end of a test case.
Method paintCaseEnd
Paints the end of a test case. Will paint the page footer if the stack of tests has unwound.
Method paintCaseEnd
Paints the end of a test case.
Method paintCaseStart
Paints the start of a test case.
Method paintCaseStart
Paints the start of a test case.
Method 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.
Method paintEnd
Signals the appropriate end event on the listener.
Method paintEnd
Signals the appropriate end event on the listener.
Method paintEnd
Signals the appropriate end event on the listener.
Method paintError
Deals with PHP 4 throwing an error.
Method paintError
SimpleRunner::paintError() in simple_test.php
Chains to the wrapped reporter.
Method paintException
Paints a PHP error or exception.
Method paintException
Deals with PHP 5 throwing an exception This isn't really implemented yet.
Method paintException
Paints a PHP error or exception.
Method paintException
Paints a PHP error or exception.
Method paintException
Chains to the wrapped reporter.
Method paintFail
Increments the fail count.
Method paintFail
SimpleRunner::paintFail() in simple_test.php
Chains to the wrapped reporter.
Method paintFail
Paints the test failure as a stack trace.
Method paintFail
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
Method paintFail
Increments the fail count.
Method paintFooter
Paints the end of the test with a summary of the passes and failures.
Method paintFooter
Paints the end of the test with a summary of the passes and failures.
Method paintFooter
Paints the test document footer.
Method paintFooter
Paints the test document footer.
Method paintFormattedMessage
Paints formatted text such as dumped variables.
Method paintFormattedMessage
Paints a formatted ASCII message such as a variable dump.
Method paintFormattedMessage
Paints a formatted ASCII message such as a variable dump.
Method paintFormattedMessage
Paints formatted text such as dumped variables.
Method paintFormattedMessage
Chains to the wrapped reporter.
Method paintGroupEnd
Paints the end of a group test.
Method paintGroupEnd
Paints the end of a group test.
Method paintGroupEnd
Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
Method 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.
Method paintGroupStart
Paints the start of a group test.
Method paintGroupStart
Paints the start of a group test.
Method paintHeader
Paints the test document header.
Method paintHeader
Paints the title only.
Method paintHeader
Paints the test document header.
Method paintHeader
Paints the top of the web page setting the title to the name of the starting test.
Method paintMessage
Paints a simple supplementary message.
Method paintMessage
SimpleRunner::paintMessage() in simple_test.php
Chains to the wrapped reporter.
Method paintMessage
Paints a simple supplementary message.
Method paintMethodEnd
Paints the end of a test method.
Method paintMethodEnd
Paints the end of a test method.
Method paintMethodEnd
Paints the end of a test method.
Method paintMethodEnd
Paints the end of a test method. Will paint the page footer if the stack of tests has unwound.
Method paintMethodStart
Paints the start of a test method.
Method paintMethodStart
Paints the start of a test method.
Method paintMethodStart
Paints the start of a test method.
Method paintMethodStart
Paints the start of a test method.
Method paintPass
Increments the pass count.
Method paintPass
Method paintPass
Increments the pass count.
Method paintPass
SimpleRunner::paintPass() in simple_test.php
Chains to the wrapped reporter.
Method paintSignal
Method paintSignal
SimpleRunner::paintSignal() in simple_test.php
Chains to the wrapped reporter.
Method paintSignal
By default just ignores user generated events.
Method paintSignal
Serialises the event object.
Method paintStart
Signals the appropriate start event on the listener.
Method paintStart
Signals the appropriate start event on the listener.
Method paintStart
Signals the appropriate start event on the listener.
Method parse
Method parse
Parses a block of XML sending the results to the listener.
Method pass
SimpleTestCase::pass() in simple_test.php
Sends a pass event with a message.
Page page.php
page.php in page.php
Method ParallelRegex
Constructor. Starts with no patterns.
Class ParallelRegex
ParallelRegex in parser.php
Compounded regular expression. Any of the contained patterns could match and when one does it's label is returned.
Method parse
Runs the content through the lexer which should call back to the acceptors.
Method parse
SimpleLexer::parse() in parser.php
Splits the page text into tokens. Will fail
Method parse
Reads the raw content and send events into the page to be built.
Method post
WebTestCase::post() in web_tester.php
Fetches a page by POST into the page buffer.
Method post
SimpleBrowser::post() in browser.php
Fetches the page content with a POST request.
q
top
Method QueryStringTestCase
Class QueryStringTestCase
QueryStringTestCase in url_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
r
top
Page remote.php
remote.php in remote.php
Page reporter.php
reporter.php in reporter.php
Method RemoteTestCase
Sets the location of the remote test.
Class RemoteTestCase
RemoteTestCase in remote.php
Runs an XML formated test on a remote server.
Method run
SimpleRunner::run() in simple_test.php
Runs the test methods in the test case.
Method run
RemoteTestCase::run() in remote.php
Runs the top level test for this class. Currently reads the data as a single chunk. I'll fix this once I have added iteration to the browser.
Method run
GroupTest::run() in simple_test.php
Invokes run() on all of the held test cases, instantiating them if necessary.
Method run
SimpleTestCase::run() in simple_test.php
Uses reflection to run every method within itself starting with the string "test".
Method read
SimpleSocket::read() in socket.php
Reads data from the socket.
Method recordEntry
Adds a successfully fetched page to the history.
Method resetValue
Resets the form element value back to the default.
Method restartSession
Simulates the closing and reopening of the browser.
Method restartSession
Removes expired and temporary cookies as if the browser was closed and re-opened.
Method restartSession
Removes expired and temporary cookies as if the browser was closed and re-opened.
Method restartSession
Removes expired and temporary cookies as if the browser was closed and re-opened.
Method retry
WebTestCase::retry() in web_tester.php
Equivalent to hitting the retry button on the browser. Will attempt to repeat the page fetch.
Method retry
SimpleBrowser::retry() in browser.php
Equivalent to hitting the retry button on the browser. Will attempt to repeat the page fetch. If there is no history to repeat it will give false.
s
top
Method setMockBaseClass
The base class name is settable here. This is the class that a new mock will inherited from.
Method setStubBaseClass
The base class name is settable here. This is the class that a new stub will inherited from.
Method setTimeout
Sets a socket timeout for each chunk.
Class SimpleTestCompatibility
Static methods for compatibility between different PHP versions.
Class SimpleTestOptions
SimpleTestOptions in options.php
Static global directives and options.
Method setLooselyTyped
Sets equality operation to act as a simple equal comparison only, allowing a broader range of matches.
Method setName
PHPUnit_TestCase::setName() in pear_test_case.php
Does nothing. For compatibility only.
Page socket.php
socket.php in socket.php
Method setReturnReference
Sets a return for a parameter list that will be passed by reference for all calls.
Method setReturnReferenceAt
Sets a return for a parameter list that will be passed by value only when the required call count is reached.
Method setReturnValue
SimpleStub::setReturnValue() in mock_objects.php
Sets a return for a parameter list that will be passed by value for all calls to this method.
Method setReturnValueAt
SimpleStub::setReturnValueAt() in mock_objects.php
Sets a return for a parameter list that will be passed by value only when the required call count is reached.
Class SimpleMock
SimpleMock in mock_objects.php
An empty collection of methods that can have their
Method SimpleMock
SimpleMock::SimpleMock() in mock_objects.php
Creates an empty return list and expectation list.
Class SimpleStub
SimpleStub in mock_objects.php
An empty collection of methods that can have their return values set. Used for prototyping.
Method SimpleStub
SimpleStub::SimpleStub() in mock_objects.php
Sets up the wildcard and everything else empty.
Method SpecialSimpleMock
Class SpecialSimpleMock
SpecialSimpleMock in simple_mock_test.php
An empty collection of methods that can have their
Class SpecialSimpleStub
SpecialSimpleStub in simple_mock_test.php
An empty collection of methods that can have their return values set. Used for prototyping.
Method SpecialSimpleStub
Method Stub
Stub::Stub() in mock_objects.php
Factory for server stub classes.
Class Stub
Stub in mock_objects.php
Static methods only service class for code generation of server stubs.
Page scorer.php
scorer.php in scorer.php
Page shell_tester.php
shell_tester.php in shell_tester.php
Page simple_test.php
simple_test.php in simple_test.php
Method sendMessage
Dispatches a text message straight to the test suite. Useful for status bar displays.
Method 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.
Method sendValidEnd
Method sendValidStart
Method setName
Sets the test case/method name.
Method setUp
TestOfMockExpectations::setUp() in simple_mock_test.php
Method setUp
TestOfSaxGeneration::setUp() in parser_test.php
Method setUp
TestOfErrorTrap::setUp() in errors_test.php
Method setUp
SimpleTestCase::setUp() in simple_test.php
Sets up unit test wide variables at the start of each test method. To be overridden in actual user test cases.
Method setUp
TestOfHtmlLexer::setUp() in parser_test.php
Method setUp
TestOfErrorQueue::setUp() in errors_test.php
Method setUp
TestOfErrors::setUp() in errors_test.php
Class ShellTestCase
ShellTestCase in shell_tester.php
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
Method ShellTestCase
ShellTestCase::ShellTestCase() in shell_tester.php
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Method signal
SimpleTestCase::signal() in simple_test.php
Sends a user defined event to the test runner.
Method SimpleDumper
Do nothing constructor.
Class SimpleDumper
SimpleDumper in dumper.php
Displays variables as text and does diffs.
Method SimpleErrorQueue
Starts with an empty queue.
Class SimpleErrorQueue
SimpleErrorQueue in errors.php
Singleton error queue used to record trapped errors.
Method SimpleErrorTrappingRunner
Takes in the test case and reporter to mediate between.
Class SimpleErrorTrappingRunner
SimpleErrorTrappingRunner in simple_test.php
Extension that traps errors into an error queue.
Class SimpleExpectation
SimpleExpectation in expectation.php
Assertion that can display failure information.
Method SimpleExpectation
Creates a dumper for displaying values and sets the test message.
Class SimpleReporter
SimpleReporter in scorer.php
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.
Method SimpleReporter
Starts the display with no results in.
Method SimpleRunner
SimpleRunner::SimpleRunner() in simple_test.php
Takes in the test case and reporter to mediate between.
Class SimpleRunner
SimpleRunner in simple_test.php
The standard runner. Will run every method starting with test as well as the setUp() and tearDown() before and after each test method. Basically the Mediator pattern.
Class SimpleScorer
SimpleScorer in scorer.php
Can recieve test events and display them. Display is achieved by making display methods available and visiting the incoming event.
Method SimpleScorer
Starts the test run with no results.
Class SimpleShell
SimpleShell in shell_tester.php
Wrapper for exec() functionality.
Method SimpleShell
SimpleShell::SimpleShell() in shell_tester.php
Executes the shell comand and stashes the output.
Class SimpleTestCase
SimpleTestCase in simple_test.php
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.
Method SimpleTestCase
Sets up the test with no display.
Function 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.
Method SimpleTestXmlParser
Loads a listener with the SimpleReporter interface.
Class SimpleTestXmlParser
Parser for importing the output of the XmlReporter.
Constant SIMPLE_TEST
SIMPLE_TEST in simple_test.php
Includes SimpleTest files and defined the root constant for dependent libraries.
Method swallowErrors
Cancels any outstanding errors.
Method setConnectionTimeout
Sets the socket timeout for opening a connection.
Method setConnectionTimeout
Sets the socket timeout for opening a connection.
Method setConnectionTimeout
Sets the socket timeout for opening a connection and receiving at least one byte of information.
Method setCookie
WebTestCase::setCookie() in web_tester.php
Sets a cookie in the current browser.
Method setCookie
Adds a cookie to the request.
Method setCookie
Sets an additional cookie. If a cookie has the same name and path it is replaced.
Method setCookie
Sets an additional cookie. If a cookie has the same name and path it is replaced.
Method setCookie
Adds a cookie to the jar. This will overwrite cookies with matching host, paths and keys.
Method setCoordinates
Sets image coordinates. Set to flase to clear them.
Method setDefaultTarget
Sets the frame target within a frameset.
Method setField
Sets a widget value within the form.
Method setField
Sets all form fields with that name.
Method setField
Sets a field on each form in which the field is available.
Method setField
Sets a field on each form in which the field is available.
Method setField
WebTestCase::setField() in web_tester.php
Sets all form fields with that name.
Method setFieldById
Sets a field on the form in which the unique field is available.
Method setFieldById
WebTestCase::setFieldById() in web_tester.php
Sets all form fields with that name.
Method setFieldById
Sets all form fields with that name.
Method setFieldById
Sets a widget value within the form by using the ID.
Method setFieldById
Sets a field on the form in which the unique field is available.
Method setFrame
Replaces existing frame with another. If the frame is nested, then the call is passed down one level.
Method setFrameFocus
Sets the focus by name.
Method setFrameFocus
Sets the focus by name. Always fails for a leaf page.
Method setFrameFocus
Sets the focus by name.
Method setFrameFocus
Sets the focus by name. If already focused and the target frame also has frames, then the nested frame will be focused.
Method setFrameFocusByIndex
Sets the focus by index. The integer index starts from 1.
Method setFrameFocusByIndex
Sets the focus by index. The integer index starts from 1.
Method setFrameFocusByIndex
Sets the focus by index. The integer index starts from 1.
Method setFrameFocusByIndex
Sets the focus by index. The integer index starts from 1.
Method setHost
Sets the host. The cookie rules determine
Method setIdentity
SimpleRealm::setIdentity() in authentication.php
Sets the identity to try within this realm.
Method setIdentity
Sets the identity for the current realm.
Method setIdentityForRealm
Sets the current identity to be presented against that realm.
Method setMaximumRedirects
Sets the maximum number of redirects before a page will be loaded anyway.
Method setMaximumRedirects
Sets the maximum number of redirects before the web page is loaded regardless.
Method setMaximumRedirects
Sets the maximum number of redirects before a page will be loaded anyway.
Method setTarget
Attaches a frame target.
Method setUp
TestOfLiveAuthentication::setUp() in acceptance_test.php
Method setUp
TestOfLiveHeaders::setUp() in acceptance_test.php
Method setUp
Method setUp
Method setUp
Method setUp
TestOfLiveForm::setUp() in acceptance_test.php
Method setUp
TestOfLiveRedirects::setUp() in acceptance_test.php
Method setUp
TestOfLiveFetching::setUp() in acceptance_test.php
Method setUp
TestOfLoadingFrames::setUp() in acceptance_test.php
Method setUp
TestOfLiveCookies::setUp() in acceptance_test.php
Method setValue
Applies word wrapping if needed.
Method setValue
Sets the current form element value.
Method setValue
Sets the current form element value. Cannot change the value of a hidden field.
Method setValue
Can only set allowed values.
Method setValue
The only allowed value in the one in the "value" attribute.
Method setValue
Disables the setting of the button value.
Method setValue
Does nothing.
Method setValue
Accessor for current set values.
Method setValue
Each tag is tried in turn until one is successfully set. The others will be unchecked if successful.
Method setValue
Disables the setting of the button value.
Method setValue
Disables the setting of the button value.
Method setValue
The only allowed value in the one in the "value" attribute. The default for this attribute is "on".
Method setValue
Can only set allowed values.
Method showHeaders
WebTestCase::showHeaders() in web_tester.php
Dumps the current HTTP headers for debugging.
Method showRequest
WebTestCase::showRequest() in web_tester.php
Dumps the current request for debugging.
Method showSource
WebTestCase::showSource() in web_tester.php
Dumps the current HTML source for debugging.
Class SimpleAnchorTag
SimpleAnchorTag in tag.php
Link.
Method SimpleAnchorTag
Starts with a named tag with attributes only.
Class SimpleAuthenticator
SimpleAuthenticator in authentication.php
Manages security realms.
Method SimpleAuthenticator
Starts with no realms set up.
Class SimpleBrowser
SimpleBrowser in browser.php
Simulated web browser. This is an aggregate of the user agent, the HTML parsing, request history and the last header set.
Method 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.
Method SimpleBrowserHistory
Starts empty.
Class SimpleBrowserHistory
SimpleBrowserHistory in browser.php
Browser history list.
Method SimpleButtonTag
Starts with a named tag with attributes only.
Class SimpleButtonTag
SimpleButtonTag in tag.php
Submit button as button tag.
Class SimpleCheckboxGroup
A group of tags with the same name within a form.
Method SimpleCheckboxGroup
Starts empty.
Method SimpleCheckboxTag
Starts with attributes only.
Class SimpleCheckboxTag
Checkbox widget.
Method SimpleCookie
Constructor. Sets the stored values.
Class SimpleCookie
SimpleCookie in http.php
Cookie data holder. Cookie rules are full of pretty arbitary stuff. I have used...
Class SimpleCookieJar
SimpleCookieJar in user_agent.php
Repository for cookies. This stuff is a tiny bit browser dependent.
Method SimpleCookieJar
Constructor. Jar starts empty.
Class SimpleForm
SimpleForm in form.php
Form tag class to hold widget values.
Method SimpleForm
Starts with no held controls/widgets.
Class SimpleFormTag
SimpleFormTag in tag.php
Tag to aid parsing the form.
Method SimpleFormTag
Starts with a named tag with attributes only.
Class SimpleFrameset
SimpleFrameset in frames.php
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.
Method SimpleFrameset
Stashes the frameset page. Will make use of the browser to fetch the sub frames recursively.
Method SimpleFrameTag
Starts with a named tag with attributes only.
Class SimpleFrameTag
SimpleFrameTag in tag.php
Tag to aid parsing the frames in a page.
Class SimpleHttpHeaders
SimpleHttpHeaders in http.php
Collection of header lines in the response.
Method SimpleHttpHeaders
Parses the incoming header block.
Method SimpleHttpPostRequest
Cretaes an HTML form request.
Class SimpleHttpPostRequest
Request with data to send. Usually PUT or POST.
Method SimpleHttpRequest
Saves the URL ready for fetching.
Class SimpleHttpRequest
SimpleHttpRequest in http.php
HTTP request for a web page. Factory for HttpResponse object.
Class SimpleHttpResponse
SimpleHttpResponse in http.php
Basic HTTP response.
Method SimpleHttpResponse
Constructor. Reads and parses the incoming content and headers.
Method SimpleImageSubmitTag
Starts with a named tag with attributes only.
Class SimpleImageSubmitTag
Image button as input tag.
Method SimpleLexer
Sets up the lexer in case insensitive matching by default.
Class SimpleLexer
SimpleLexer in parser.php
Accepts text and breaks it into tokens.
Class SimpleOptionTag
SimpleOptionTag in tag.php
Option for selection field.
Method SimpleOptionTag
Stashes the attributes.
Class SimplePage
SimplePage in page.php
A wrapper for a web page.
Method SimplePage
Parses a page ready to access it's contents.
Method SimplePageBuilder
Sets the builder up empty.
Class SimplePageBuilder
SimplePageBuilder in page.php
SAX event handler. Maintains a list of open tags and dispatches them as they close.
Method SimpleProxyRoute
Stashes the proxy address.
Class SimpleProxyRoute
SimpleProxyRoute in http.php
Creates HTTP headers for the end point of a HTTP request via a proxy server.
Method SimpleQueryString
Starts empty.
Class SimpleQueryString
Bundle of GET/POST parameters. Can include repeated parameters.
Class SimpleRadioButtonTag
Radio button.
Method SimpleRadioButtonTag
Stashes the attributes.
Method SimpleRadioGroup
Starts empty.
Class SimpleRadioGroup
SimpleRadioGroup in tag.php
A group of tags with the same name within a form.
Class SimpleRealm
SimpleRealm in authentication.php
Represents a single security realm's identity.
Method SimpleRealm
SimpleRealm::SimpleRealm() in authentication.php
Starts with the initial entry directory.
Method SimpleRoute
Sets the target URL.
Class SimpleRoute
SimpleRoute in http.php
Creates HTTP headers for the end point of a HTTP request.
Method SimpleSaxListener
Sets the document to write to.
Class SimpleSaxListener
SimpleSaxListener in parser.php
SAX event handler.
Method SimpleSaxParser
Sets the listener.
Class SimpleSaxParser
SimpleSaxParser in parser.php
Converts HTML tokens into selected SAX events.
Method SimpleSecureSocket
Opens a secure socket for reading and writing.
Class SimpleSecureSocket
SimpleSecureSocket in socket.php
Wrapper for TCP/IP socket over TLS.
Class SimpleSelectionTag
Drop down widget.
Method SimpleSelectionTag
Starts with attributes only.
Class SimpleSocket
SimpleSocket in socket.php
Wrapper for TCP/IP socket.
Method SimpleSocket
Opens a socket for reading and writing.
Class SimpleStateStack
SimpleStateStack in parser.php
States for a stack machine.
Method SimpleStateStack
Constructor. Starts in named state.
Class SimpleSubmitTag
SimpleSubmitTag in tag.php
Submit button as input tag.
Method SimpleSubmitTag
Starts with a named tag with attributes only.
Method SimpleTag
Starts with a named tag with attributes only.
Class SimpleTag
SimpleTag in tag.php
HTML or XML tag.
Class SimpleTextAreaTag
Content tag for text area.
Method SimpleTextAreaTag
Starts with a named tag with attributes only.
Method SimpleTextTag
Starts with a named tag with attributes only.
Class SimpleTextTag
SimpleTextTag in tag.php
Text, password and hidden field.
Method SimpleTitleTag
Starts with a named tag with attributes only.
Class SimpleTitleTag
SimpleTitleTag in tag.php
Page title.
Method SimpleUrl
Constructor. Parses URL into sections.
Class SimpleUrl
SimpleUrl in url.php
URL parser to replace parse_url() PHP function which got broken in PHP 4.3.0. Adds some browser specific functionality such as expandomatic expansion.
Class SimpleUserAgent
SimpleUserAgent in user_agent.php
Fetches web pages whilst keeping track of cookies and authentication.
Method SimpleUserAgent
Starts with no cookies, realms or proxies.
Class SimpleWidget
SimpleWidget in tag.php
Form element.
Method SimpleWidget
Starts with a named tag with attributes only.
Method startElement
Start of element event.
Method startElement
Start of element event. Opens a new tag.
Class StickyError
StickyError in socket.php
Stashes an error for later. Useful for constructors until PHP gets exceptions.
Method StickyError
Sets the error to empty.
Method stretch
SimpleRealm::stretch() in authentication.php
Adds another location to the realm.
Method submit
Simply submits the form without the submit button value. Used when there is only one button or it is unimportant.
Method submitButtonById
Gets the submit values for a button identified by the ID.
Method submitButtonByLabel
Gets the submit values for a named button.
Method submitButtonByName
Gets the submit values for a named button.
Method submitFormById
Submits a form by the ID.
Method submitFormById
Submits a form by the ID.
Method submitImageById
Gets the submit values for an image identified by the ID.
Method submitImageByLabel
Gets the submit values for an image identified by the alt tag or nearest equivalent.
Method submitImageByName
Gets the submit values for an image identified by the ID.
t
top
Method testBoolean
Method testBoolean
Class TestCase
TestCase in phpunit_test_case.php
Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest.
Method TestCase
TestCase::TestCase() in phpunit_test_case.php
Constructor. Sets the test name.
Method testEquals
Method testEquals
Method testMultilineEquals
Method testName
TestOfPearAdapter::testName() in adapter_test.php
Method testName
Method testNulls
TestOfPearAdapter::testNulls() in adapter_test.php
Class TestOfPearAdapter
TestOfPearAdapter in adapter_test.php
Adapter for PEAR PHPUnit test case to allow legacy PEAR test cases to be used with SimpleTest.
Method TestOfPearAdapter
Class TestOfPhpUnitAdapter
TestOfPhpUnitAdapter in adapter_test.php
Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest.
Method TestOfPhpUnitAdapter
Method testPass
TestOfPearAdapter::testPass() in adapter_test.php
Method testRegExp
Method testRegExp
Method testSame
TestOfPearAdapter::testSame() in adapter_test.php
Method testType
TestOfPearAdapter::testType() in adapter_test.php
Method tally
SimpleMock::tally() in mock_objects.php
Totals up the call counts and triggers a test assertion if a test is present for expected call counts.
Method test
CallCountExpectation::test() in mock_objects.php
Tests the assertion. True if correct.
Method test
ParametersExpectation::test() in mock_objects.php
Tests the assertion. True if correct.
Method test
Tests the assertion. True if correct.
Method test
WildcardExpectation::test() in mock_objects.php
Tests the expectation. Always true.
Method test
Tests the assertion. True if correct.
Method testMessage
Returns a human readable test message.
Method testMessage
Reports the comparison.
Method testMessage
Reports the comparison.
Method testMessage
Reports the comparison.
Method testMessage
Returns a human readable test message.
Method tearDown
SimpleTestCase::tearDown() in simple_test.php
Clears the data set in the setUp() method call.
Method tearDown
TestOfErrorQueue::tearDown() in errors_test.php
Method tearDown
TestOfMockExpectations::tearDown() in simple_mock_test.php
Method tearDown
TestOfErrorTrap::tearDown() in errors_test.php
Method tearDown
TestOfHtmlLexer::tearDown() in parser_test.php
Method tearDown
TestOfErrors::tearDown() in errors_test.php
Method tearDown
Method test
NotEqualExpectation::test() in expectation.php
Tests the expectation. True if it differs from the held value.
Method test
Tests the expectation. True if it differs from the held value.
Method test
SimpleExpectation::test() in expectation.php
Tests the expectation. True if correct.
Method test
Tests the expectation. False if the Perl regex matches the comparison value.
Method test
IsAExpectation::test() in expectation.php
Tests the expectation. True if the type or class matches the string value.
Method test
EqualExpectation::test() in expectation.php
Tests the expectation. True if it matches the held value.
Method test
IdenticalExpectation::test() in expectation.php
Tests the expectation. True if it exactly matches the held value.
Method test
Tests the expectation. True if the Perl regex matches the comparison value.
Method test
NotAExpectation::test() in expectation.php
Tests the expectation. False if the type or class matches the string value.
Method test
Tests the expectation. True if the method exists in the test object.
Method testAbsoluteLinkFollowing
Method testAbsolutePathPageSplitting
Method testAbsoluteUrlsComeFromBothFrames
Method testAccessorsWhenNoPage
Method testAddAbsoluteLink
Method testAddCookie
Method testAddingLists
Method testAdditionalHeaderAddedToRequest
Method testAdditionalPartialMockCode
Method testAddParameters
Method testAddRelativeLink
Method testAddStrictRelativeLink
Method testAgeingAndClearing
Method testAging
TestOfCookie::testAging() in http_test.php
Method testAllWildcard
TestOfCallMap::testAllWildcard() in simple_mock_test.php
Method testAllWildcardReturn
Method testAmbiguousHosts
Method testAnchorHref
Method testAnyMatch
Method testArray
TestOfEquality::testArray() in expectation_test.php
Method testArrayMatching
Method testAsString
Method testAuthenticateHeaderAdded
Method testAuthenticationAccessors
Method testBadArgParameter
Method testBadCommand
Method testBadHosts
Method testBadRequest
Method testBadSocket
Method testBadSocketDuringResponse
Method testBasicParsing
Method testBelowRootIsOutside
TestOfRealm::testBelowRootIsOutside() in authentication_test.php
Method testBigList
Method testBlitz
TestOfUrl::testBlitz() in url_test.php
Method testBool
TestOfIsA::testBool() in expectation_test.php
Method testBoolean
TestOfEquality::testBoolean() in expectation_test.php
Method testBoolean
TestOfIsA::testBoolean() in expectation_test.php
Method testBooleanMatching
Method testButton
Method testButton
Method testButtons
Method testButtonTag
Method testCallCount
TestOfMockReturns::testCallCount() in simple_mock_test.php
Method testCallCount
Method testCallCounts
Method testCanFocusByName
Method testCanFocusOnSingleFrame
Method testCanNavigateToNestedFrame
Method testCanNavigateToNestedFrameByIndex
Method testCannotMoveInEmptyHistory
Method testCaseInsensitive
Method testCaseInsensitivePatternMatching
Method testCaseSensitive
Method testChecked
TestOfForm::testChecked() in form_test.php
Method testCheckedRadioButtons
Method testClearCookieBySettingExpiry
Method testClearingCordinates
Method testClearingError
Method testClearingParameters
Method testClearSessionCookies
Method testClickIndexedLink
Method testClickingMissingLinkFails
Method testClickingMissingLinkIdFails
Method testClickLinkRequestsPage
Method testClinkLinkById
Method testClipping
Method testCloning
TestOfStubGeneration::testCloning() in simple_mock_test.php
Method testCloning
TestOfMockGeneration::testCloning() in simple_mock_test.php
Method testCloningWithChosenClassName
Method testCloningWithChosenClassName
Method testCloningWithDifferentBaseClass
Method testCloningWithDifferentBaseClass
Method testCloningWithExtraMethod
Method testCloningWithExtraMethod
Method testComplexLink
Method testComplicatedReturnSequence
Method testContent
Method testContentComesFromFrameInFocus
Method testCookieAccessors
Method testCookieClearByDate
Method testCookieClearing
Method testCookieDefaults
Method testCookieReading
Method testCookieWriting
Method testCurrentTargetAccessors
Method testDateExpiry
Method testDecodingParameters
Method testDefault
Method testDefaultFrameTargetOnForm
Method testDefaultGetRequest
Method testDefaultGetRequest
Method testDefaultPostRequest
Method testDefaultPostRequest
Method testDefaultReturn
Method testDefaultSubmitFormByLabel
Method testDefaultUrl
Method testDefaultWhenAllReported
Method testDescribeArray
Method testDescribeBoolean
Method testDescribeFloat
Method testDescribeInteger
Method testDescribeNull
Method testDescribeObject
Method testDescribeString
Method testDifferentHostIsOutsideRealm
Method testDifferentPageNameStillInside
Method testDisabledRedirects
Method testDouble
TestOfIsA::testDouble() in expectation_test.php
Method testDoubleRedirect
Method testDump
Method testDumping
Method testDumpOfList
Method testEcho
TestOfShell::testEcho() in shell_test.php
Method testEcho
Method testEmpty
Method testEmpty
TestOfCallMap::testEmpty() in simple_mock_test.php
Method testEmpty
Method testEmpty
Method testEmptyAction
Method testEmptyCase
Method testEmptyFrameset
Method testEmptyFramesetHasNoContent
Method testEmptyGroup
Method testEmptyGroup
Method testEmptyHistoryHasFalseContents
Method testEmptyLink
Method testEmptyLinkWithId
Method testEmptyMatch
Method testEmptyMatching
Method testEmptyMatchingWithCustomExpectationMessage
Method testEmptyMatchingWithCustomMessage
Method testEmptyMethod
Method testEmptyPage
Method testEmptyPage
TestOfLexer::testEmptyPage() in parser_test.php
Method testEmptyParameters
Method testEncodedLinkAddress
Method testEncodingParameters
Method testErrorDisplay
Method testErrorPatterns
Method testErrorSuppressedWhenReported
Method testErrorText
Method testErrorTrap
Method testErrorWhenReported
Method testExactReference
TestOfCallMap::testExactReference() in simple_mock_test.php
Method testExactValue
TestOfCallMap::testExactValue() in simple_mock_test.php
Method testException
Method testExhaustion
Method testExitCode
TestOfShellTestCase::testExitCode() in shell_tester_test.php
Method testExpectation
Method testExpectations
Method testExpectedArguments
Method testExpectedCallCount
Method testExpectingOnlyTheHeaderName
Method testExpiryFilterByAgeing
Method testExpiryFilterByDate
Method testFail
Method testFailedArguments
Method testFailedNever
Method testFailedSequence
Method testFailToSetHiddenValue
Method testFailToSetIllegalOption
Method testFailToSetIllegalOptionsInMultiple
Method testFailToSetUnlistedValue
Method testFalse
Method testFieldIsFirstInFramelist
Method testFileExistence
Method testFilePatterns
Method testFindFormByButtonTag
Method testFindFormById
Method testFindFormByImage
Method testFindFormByLabel
Method testFindingFormsByAllFinders
Method testFindLinkWithNormalisation
Method testFloat
TestOfEquality::testFloat() in expectation_test.php
Method testFloat
TestOfIsA::testFloat() in expectation_test.php
Method testFloatMatching
Method testForm
Method testFormattedMessage
Method testFormAttributes
Method testFormHandling
Method testFrameFocusByName
Method testFrameFocusWithMixedNamesAndIndexes
Method testFrameReplacementByIndex
Method testFrameReplacementByName
Method testFramesCollectedWithNestedFramesetTags
Method testFramesetAbsence
Method testFramesetTag
Method testFramesetWithMultipleFrames
Method testFramesetWithNoFrames
Method testFramesetWithSingleFrame
Method testFramesetWithSingleUnnamedFrame
Method testFramesetWithSomeNamedFrames
Method testFramesInPage
Method testFramesParsedWithoutError
Method testFrameWithNoSource
Method testFramsetHasPageInterface
Method testFullHostname
Method testGet
Method testGet
TestOfLiveBrowser::testGet() in acceptance_test.php
Method testGetWithAuthentication
Method testGetWithParameters
Method testGetWithParameters
Method testGetWithPort
Method testGetWithPort
Method testGoingBackwards
Method testGoingBackwardsAndForwards
Method testGoingBackwardsOffBeginning
Method testGoingForwardsOffEnd
Method testGroupSize
Method testHasEmptyFrameset
Method testHash
TestOfEquality::testHash() in expectation_test.php
Method testHashEquality
Method testHashIdentity
Method testHasMethod
Method testHead
Method testHeadersAccessor
Method testHeadersReadFromFrameIfInFocus
Method TestHeadersReadFromFramesetByDefault
Method testHeaderValueAsWell
Method testHostFilter
Method testHostTruncation
Method testHostValidity
Method testIdentityOfObjects
Method testIdentityOnly
Method testIdLinkFollowing
Method testIgnore
Method testIgnoreList
Method testImageSubmit
Method testImageSubmitButton
Method testImageSubmitTitlePreferredOverAltForLabel
Method testIncompleteHeader
Method testInput
Method testInputTag
Method testInsideWithLongerUrl
TestOfRealm::testInsideWithLongerUrl() in authentication_test.php
Method testInt
TestOfIsA::testInt() in expectation_test.php
Method testInteger
TestOfIsA::testInteger() in expectation_test.php
Method testInteger
TestOfEquality::testInteger() in expectation_test.php
Method testIntegerEquality
Method testIntegerMatching
Method testInterface
Method testIsA
TestOfCompatibility::testIsA() in options_test.php
Method testIsolatedPattern
Method testLabelledLink
Method testLabelledUrlsComeFromBothFrames
Method testLexerFailure
Method testLexerSuccess
Method testLink
Method testLinkAddress
Method testLinkAffirmationByIdWhenPresent
Method testLinkAffirmationWhenPresent
Method testLinkEnd
Method testLinkExtraction
Method testLinkIds
Method testLinksPage
Method testLinkStart
Method testLinkStartWithEncodedUrl
Method testLinkStartWithId
Method testLinkWithId
Method testLongList
Method testLongStrings
Method testMakingAbsolute
Method testMakingAbsoluteAppendedPath
Method testMakingAbsoluteBadlyFormedAppendedPath
Method testMakingAbsoluteHasNoEffectWhenAlreadyAbsolute
Method testMakingAnEmptyUrlAbsolute
Method testMakingARootUrlAbsolute
Method testMakingAShortQueryUrlAbsolute
Method testMakingCoordinateUrlAbsolute
Method testMakingHostOnlyAbsoluteDoesNotCarryAnyOtherInformation
Method testMatchAll
Method testMatchesInteger
Method testMatchMultiple
Method testMaxCalls
Method testMergeInHash
Method testMergeInObject
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMethodInterference
Method testMethodReplacement
Method testMimeAccessor
Method testMinCalls
Method testMinimumCallCounts
Method testMissingAction
Method testMissingParameter
Method testMixedTypes
Method testMockBase
TestOfOptions::testMockBase() in options_test.php
Method testMockWildcards
Method testModeChange
Method testModeMapping
Method testMultilineSearch
Method testMultilineSearchWithPadding
Method testMultilineUnwantedSearch
Method testMultipleCookieWithDifferentPaths
Method testMultipleCookieWriting
Method testMultipleDefaultWithNoSelections
Method testMultipleDefaultWithSelections
Method testMultipleFieldsWithSameKey
Method testMultipleLinks
Method testMultipleMethods
Method testMultipleMethodSequences
Method testMultipleParameter
Method testMultiplePattern
Method testMultiplePrefilled
Method testMultipleValuesCanBeInAnyOrder
Method testNamedFrames
Method testNamedFramesInPage
Method testNastyOptionValuesThatLookLikeFalse
Method testNastyTitle
Method testNestedFrameset
Method testNestedGroup
Method testNestedHash
TestOfEquality::testNestedHash() in expectation_test.php
Method testNesting
Method testNewEntryDropsFutureEntries
Method testNewEntryReplacesNextOne
Method testNewUrlInSameDirectoryDoesNotChangeRealm
Method testNewUrlMakesRealmTheCommonPath
Method testNoErrorWhenNotReported
Method testNoLinks
Method testNoNoticeWhenNotReported
Method testNonStringFailsExpectation
Method testNoPatterns
Method testNoRealms
TestOfAuthenticator::testNoRealms() in authentication_test.php
Method testNoSubject
Method testNoticeSuppressedWhenReported
Method testNoticeWhenReported
Method testNoUnitTesterSetThrowsError
Method testNoWarningWhenNotReported
Method testNull
Method testNullEquality
Method testNullIdentity
Method testNullMatching
Method testNullParameter
Method testObjectEquality
Method testObjectIndentity
Method testObjectMatching
Method TestOfAbsoluteUrls
Class TestOfAbsoluteUrls
TestOfAbsoluteUrls in url_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfAdditionalHeaders
Class TestOfAdditionalHeaders
TestOfAdditionalHeaders in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfAuthenticator
TestOfAuthenticator in authentication_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfAuthenticator
Class TestOfAuthorisation
TestOfAuthorisation in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfAuthorisation
Class TestOfBadHosts
TestOfBadHosts in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfBadHosts
TestOfBadHosts::TestOfBadHosts() in user_agent_test.php
Class TestOfBrowserCookies
TestOfBrowserCookies in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfBrowserCookies
Method TestOfBrowserFrames
Class TestOfBrowserFrames
TestOfBrowserFrames in browser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfBrowserNavigation
TestOfBrowserNavigation in browser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfBrowserNavigation
Class TestOfCallMap
TestOfCallMap in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfCallMap
TestOfCallMap::TestOfCallMap() in simple_mock_test.php
Method TestOfCompatibility
Class TestOfCompatibility
TestOfCompatibility in options_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfCookie
Class TestOfCookie
TestOfCookie in http_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfDirectRoute
TestOfDirectRoute in http_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfDirectRoute
Class TestOfEquality
TestOfEquality in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfEquality
TestOfEquality::TestOfEquality() in expectation_test.php
Method TestOfErrorPage
Class TestOfErrorPage
TestOfErrorPage in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfErrorQueue
Class TestOfErrorQueue
TestOfErrorQueue in errors_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfErrors
TestOfErrors in errors_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfErrors
TestOfErrors::TestOfErrors() in errors_test.php
Class TestOfErrorTrap
TestOfErrorTrap in errors_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfErrorTrap
Class TestOfFetchingUrlParameters
TestOfFetchingUrlParameters in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfFetchingUrlParameters
Method TestOfFieldExpectation
Class TestOfFieldExpectation
TestOfFieldExpectation in web_tester_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfForm
TestOfForm::TestOfForm() in form_test.php
Class TestOfForm
TestOfForm in form_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfForms
TestOfForms in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfForms
Class TestOfFrameNavigation
TestOfFrameNavigation in frames_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfFrameNavigation
Class TestOfFrameset
TestOfFrameset in frames_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfFrameset
Method TestOfFramesetPageInterface
Class TestOfFramesetPageInterface
TestOfFramesetPageInterface in frames_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfFrameUrl
TestOfFrameUrl in url_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfFrameUrl
Class TestOfHeaderExpectations
TestOfHeaderExpectations in web_tester_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfHeaderExpectations
Class TestOfHistory
TestOfHistory in browser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfHistory
TestOfHistory::TestOfHistory() in browser_test.php
Method TestOfHtmlLexer
Class TestOfHtmlLexer
TestOfHtmlLexer in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfHtmlPage
TestOfHtmlPage in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfHtmlPage
Method TestOfHttpHeaders
Class TestOfHttpHeaders
TestOfHttpHeaders in http_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfHttpRedirects
Class TestOfHttpRedirects
TestOfHttpRedirects in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfHttpRequest
TestOfHttpRequest in http_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfHttpRequest
Method TestOfHttpResponse
Class TestOfHttpResponse
TestOfHttpResponse in http_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfIdentity
TestOfIdentity::TestOfIdentity() in expectation_test.php
Class TestOfIdentity
TestOfIdentity in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfInequality
TestOfInequality::TestOfInequality() in expectation_test.php
Class TestOfInequality
TestOfInequality in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfIsA
TestOfIsA in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfIsA
TestOfIsA::TestOfIsA() in expectation_test.php
Class TestOfLexer
TestOfLexer in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfLexer
TestOfLexer::TestOfLexer() in parser_test.php
Method TestOfLexerHandlers
Class TestOfLexerHandlers
TestOfLexerHandlers in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfLexerModes
Class TestOfLexerModes
TestOfLexerModes in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfLiveBrowser
TestOfLiveBrowser in acceptance_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfLiveBrowser
Method TestOfMethodExistence
Class TestOfMethodExistence
TestOfMethodExistence in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfMockExpectations
TestOfMockExpectations in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfMockExpectations
Method TestOfMockGeneration
Class TestOfMockGeneration
TestOfMockGeneration in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfMockObjectsOutput
Class TestOfMockObjectsOutput
TestOfMockObjectsOutput in visual_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfMockReturns
Class TestOfMockReturns
TestOfMockReturns in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfMockTally
TestOfMockTally::TestOfMockTally() in simple_mock_test.php
Class TestOfMockTally
TestOfMockTally in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfNestingTags
TestOfNestingTags in xml_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfNestingTags
Method TestOfNonIdentity
Class TestOfNonIdentity
TestOfNonIdentity in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfNotA
TestOfNotA in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfNotA
TestOfNotA::TestOfNotA() in expectation_test.php
Method TestOfOptions
TestOfOptions::TestOfOptions() in options_test.php
Class TestOfOptions
TestOfOptions in options_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPageBuilder
Class TestOfPageBuilder
TestOfPageBuilder in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPageHeaders
Class TestOfPageHeaders
TestOfPageHeaders in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPageParsing
Class TestOfPageParsing
TestOfPageParsing in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPageScraping
Class TestOfPageScraping
TestOfPageScraping in page_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfParallelRegex
Class TestOfParallelRegex
TestOfParallelRegex in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfParametersExpectation
TestOfParametersExpectation in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfParametersExpectation
Method TestOfParsedPageAccess
Class TestOfParsedPageAccess
TestOfParsedPageAccess in browser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfPartialMocks
TestOfPartialMocks in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPartialMocks
Class TestOfPastBugs
TestOfPastBugs in visual_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPastBugs
Class TestOfPatterns
TestOfPatterns in expectation_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfPatterns
TestOfPatterns::TestOfPatterns() in expectation_test.php
Method TestOfProxyRoute
Class TestOfProxyRoute
TestOfProxyRoute in http_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfRadioGroup
Class TestOfRadioGroup
TestOfRadioGroup in tag_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfRealm
TestOfRealm::TestOfRealm() in authentication_test.php
Class TestOfRealm
TestOfRealm in authentication_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method testOfResults
Class TestOfSaxGeneration
TestOfSaxGeneration in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfSaxGeneration
Method TestOfSelection
Class TestOfSelection
TestOfSelection in tag_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfServerStubReturns
TestOfServerStubReturns in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfServerStubReturns
Class TestOfShell
TestOfShell in shell_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfShell
TestOfShell::TestOfShell() in shell_test.php
Method TestOfShellTestCase
Class TestOfShellTestCase
TestOfShellTestCase in shell_tester_test.php
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
Method TestOfShellTesterAndShell
Class TestOfShellTesterAndShell
TestOfShellTesterAndShell in shell_test.php
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
Class TestOfSimpleCookieJar
TestOfSimpleCookieJar in user_agent_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfSimpleCookieJar
Class TestOfStateStack
TestOfStateStack in parser_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfStateStack
Method TestOfStickyError
Class TestOfStickyError
TestOfStickyError in socket_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfStubGeneration
TestOfStubGeneration in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfStubGeneration
Method TestOfTag
TestOfTag::TestOfTag() in tag_test.php
Class TestOfTag
TestOfTag in tag_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfTagGroup
TestOfTagGroup in tag_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfTagGroup
Method TestOfTextArea
Class TestOfTextArea
TestOfTextArea in tag_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfTextFormatting
Class TestOfTextFormatting
TestOfTextFormatting in dumper_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfUnitTestCaseOutput
Class TestOfUnitTestCaseOutput
TestOfUnitTestCaseOutput in visual_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfUrl
TestOfUrl::TestOfUrl() in url_test.php
Class TestOfUrl
TestOfUrl in url_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfVisualShell
TestOfVisualShell in visual_test.php
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
Method TestOfVisualShell
Class TestOfWidget
TestOfWidget in tag_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfWidget
Class TestOfWildcardExpectation
TestOfWildcardExpectation in simple_mock_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfWildcardExpectation
Method TestOfXmlResultsParsing
Class TestOfXmlResultsParsing
TestOfXmlResultsParsing in xml_test.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Class TestOfXmlStructureParsing
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method TestOfXmlStructureParsing
Method testOldNetscapeDefinitionIsOutside
Method testOnlyGettingFieldFromFocusedFrame
Method testOnlySettingFieldFromFocusedFrame
Method testOrder
Method testOrdering
TestOfCallMap::testOrdering() in simple_mock_test.php
Method testOtherExpectations
Method testOutput
TestOfShellTestCase::testOutput() in shell_tester_test.php
Method testOutputPatterns
Method testOutsideRealm
TestOfAuthenticator::testOutsideRealm() in authentication_test.php
Method testOverOnce
Method testOverwrite
Method testOverwriteCookieThatAlreadyExists
Method testPageSplitting
Method testParameteredReturn
Method testParameteredReturn
Method testParse
Method testParse
Method testParseBareParameter
Method testParseBasicHeaders
Method testParseChallenge
Method testParseCordinates
Method testParseEmptyParameter
Method testParseMultipleParameters
Method testParseOfCookies
Method testParseOfCookies
Method testParseOfResponseHeaders
Method testParseParameterPair
Method testParsingParameterCordinateMixture
Method testParsingParameterMixture
Method testParsingParameterWithBadCordinates
Method testPass
Method testPathFilter
Method testPathFilterDeeply
Method testPathNormalisation
Method testPathValidity
Method testPatternLabels
Method testPatternMatching
Method testPatternMatchReturn
Method testPatterns
Method testPopulatedSubmit
Method testPost
Method testPost
TestOfLiveBrowser::testPost() in acceptance_test.php
Method testPrefilled
Method testPrefilledWithObject
Method testRawAccessor
Method testRawContentIsFromAllFrames
Method testRawContentIsFromOnlyFrame
Method testReadFrameTaggedUrlsFromFrameInFocus
Method testReadingBadConnection
Method testReadingGoodConnection
Method testReadingIncomingAndSetCookies
Method testReadingMultipleButtonGroup
Method testReadingMultipleCheckboxGroup
Method testReadingMultipleCheckedItems
Method testReadingMultipleUncheckedItems
Method testReadingSingleButtonGroup
Method testReadingTextArea
Method testReadingTextField
Method testReadUrlsFromFrameInFocus
Method testReal
TestOfIsA::testReal() in expectation_test.php
Method testRecordOfSentCharacters
Method testRedirect
Method testRedirect
Method testRedirectChangesPostToGet
Method testRedirectWithPort
Method testReference
Method testReferenceReturned
Method testReferenceReturned
Method testReferences
TestOfPartialMocks::testReferences() in simple_mock_test.php
Method testRelativeLinkFollowing
Method testRelativeUrls
Method testRelativeUrlsComeFromBothFrames
Method testRepeatedParameter
Method testRequestEncoding
Method testResponseAccessor
Method testReturnReferenceSequence
Method testReturnReferenceSequence
Method testReturnSequence
Method testRootAction
Method testSecondEntryAccessors
Method testSendingExistingCookie
Method testSequenceFallback
Method testSessionExpiring
Method testSettingAllFrameFieldsWhenNoFrameFocus
Method testSettingCordinates
Method testSettingError
Method testSettingExpectationOnMissingMethodThrowsError
Method testSettingExpectationOnNonMethodThrowsError
Method testSettingMappedOption
Method testSettingMultiple
Method testSettingMultipleValues
Method testSettingNewValueClearsTheOldOne
Method testSettingNoValue
Method testSettingOption
Method testSettingReturns
Method testSettingSelectionField
Method testSettingSingleValue
Method testSettingTextArea
Method testSettingTextField
Method testSettingTextValue
Method testSignal
Method testSignal
Method testSimpleInteger
Method testSimpleLinkStart
Method testSimplePageHasNoFrames
Method testSimpleSubmit
Method testSimpleTitleStart
Method testSingle
Method testSingleCheckedRadioButton
Method testSingleDefault
Method testSingleFrame
Method testSingleFrameInNestedFrameset
Method testSingleItemCanBeArrayOrString
Method testSingleMappedDefault
Method testSingleMatch
Method testSingleParameter
Method testSinglePattern
Method testSingleRedirect
Method testSingleSelectFieldSubmitted
Method testSingleton
Method testSingleUncheckedRadioButton
Method testSingular
Method testSkipComments
Method testSkipCss
Method testSkipJavaScript
Method testSocketClosure
Method testSpecificSequence
Method testStartState
Method testStartsWithDefault
Method testStartsWithoutFrameFocus
Method testStartValues
Method testStateMoves
Method testString
TestOfNotA::testString() in expectation_test.php
Method testString
TestOfIsA::testString() in expectation_test.php
Method testStringEquality
Method testStringIdentity
Method testStringMatch
TestOfEquality::testStringMatch() in expectation_test.php
Method testStringMatching
Method testStringMatchingIsCaseSensitive
Method testStringMismatch
Method testStringPosition
TestOfEquality::testStringPosition() in expectation_test.php
Method testStubBase
TestOfOptions::testStubBase() in options_test.php
Method testSubmit
Method testSubmitButton
Method testSubmitDefaults
Method testSubmitEmpty
Method testSubmitFormByFormId
Method testSubmitFormById
Method testSubmitFormByImageId
Method testSubmitFormByImageLabel
Method testSubmitFormByImageName
Method testSubmitFormByLabel
Method testSubmitFormByName
Method testSuccessAfterRedirect
Method testTagWithNoEnd
Method testTargetAttachment
Method testTextDefault
Method testTextEmptyDefault
Method testTextWidget
Method testTextWidgetById
Method testTimestampExpiry
Method testTitle
Method testTitle
Method testTitleContent
Method testTitleReadFromFramesetPage
Method testTitleSetting
Method testTitleTag
Method testTitleTakenFromFramesetPage
Method testTransportError
Method testTrappedErrorPLacedInQueue
Method testTrue
Method testType
TestOfNonIdentity::testType() in expectation_test.php
Method testType
Method testType
TestOfIdentity::testType() in expectation_test.php
Method testTypeEquality
Method testTypeIdentity
Method testUnchecked
Method testUncheckedRadioButtons
Method testUnderAtLeastOnce
Method testUnderOnce
Method testUninteresting
Method testUninterestingPage
Method testUnsetFieldCanBeTestedFor
Method testUntestedHost
TestOfBadHosts::testUntestedHost() in user_agent_test.php
Method testUnwanted
TestOfPatterns::testUnwanted() in expectation_test.php
Method testUnwantedHeader
Method testUnwindTooFar
Method testUrlAccessor
Method testUrlByIdComesFromFirstFrameToRespond
Method testUrlEncoding
Method testUsernameAndPasswordAreUrlDecoded
Method testValidXml
Method testWanted
TestOfPatterns::testWanted() in expectation_test.php
Method testWarningSuppressedWhenReported
Method testWarningWhenReported
Method testWildcard
TestOfCallMap::testWildcard() in simple_mock_test.php
Method testWildcardArguments
Method testWildcardExpectations
Method testWildcardReturn
Method testWildcardReturn
Method testWithinRealm
TestOfAuthenticator::testWithinRealm() in authentication_test.php
Method testWithinSameUrl
TestOfRealm::testWithinSameUrl() in authentication_test.php
Method testWrapping
Method testWritingAdditionalHeaders
Method testZeroArguments
Method testZeroCallCount
TestOfMockTally::testZeroCallCount() in simple_mock_test.php
Method TextReporter
Does nothing yet. The first output will be sent on the first test start.
Class TextReporter
TextReporter in reporter.php
Sample minimal test displayer. Generates only
Method toParsedXml
Converts character string to parsed XML entities string.
Constant TYPE_MATTERS
TYPE_MATTERS in dumper.php
does type matter
Page tag.php
tag.php in tag.php
Method test
Tests the expectation. True if it matches a string value or an array value in any order.
Method test
Tests that the unwanted header is not found.
Method test
FieldExpectation::test() in web_tester.php
Tests the expectation. True if it matches a string value or an array value in any order.
Method testAbsoluteLinkFollowing
Method testAbsoluteUrlBehavesAbsolutely
Method testAuthenticatingNestedPage
Method testButtonSubmissionByLabel
Method testCanAuthenticateFrame
Method testCanAuthenticateRedirectedFrame
Method testCanNavigateToSpecificContent
Method testCanReadFrameFromAlreadyAuthenticatedRealm
Method testChallengeFromProtectedPage
Method testClickingNormalLinkReplacesJustThatFrame
Method testConfirmingHeaderExistence
Method testCookiePath
Method testCookieReading
Method testCookieSetting
Method testDefaultFormValues
Method testDefaultFormValueSubmission
Method testEncodedAuthenticationFetchesPage
Method testFormSubmissionByLabel
Method testFormSubmissionByName
Method testFormSubmissionWithIds
Method testGet
TestOfLiveFetching::testGet() in acceptance_test.php
Method testGetRetryResubmitsData
Method testGetRetryResubmitsExtraData
Method testGetRetryResubmitsRepeatedData
Method testGetWithData
Method testImageSubmissionById
Method testImageSubmissionByLabel
Method testImageSubmissionByName
Method testJumpBackADirectoryLevel
Method testJumpBackADirectoryLevelReplacesJustThatFrame
Method testJumpToNamedPage
Method testJumpToNamedPageReplacesJustThatFrame
Method testJumpToUnnamedPage
Method testJumpToUnnamedPageReplacesJustThatFrame
Method testJumpToUnnamedPageWithBareParameter
Method testJumpToUnnamedPageWithBareParameterReplacesJustThatFrame
Method testJumpToUnnamedPageWithEmptyLink
Method testJumpToUnnamedPageWithEmptyLinkReplacesJustThatFrame
Method testJumpToUnnamedPageWithEmptyQuery
Method testJumpToUnnamedPageWithEmptyQueryReplacesJustThatFrame
Method testLastCraft
LiveSitesTestCase::testLastCraft() in real_sites_test.php
Method testLinkIdFollowing
Method testLinkInOnePageCanLoadAnother
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessyFramesetResponsesByName
Method testNoFramesContentWhenFramesDisabled
Method testNoRedirects
Method testOfBackButton
Method testOfClockOverDrift
Method testOfClockUnderDrift
Method TestOfFrameAuthentication
Class TestOfFrameAuthentication
TestOfFrameAuthentication in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLiveAuthentication
Class TestOfLiveAuthentication
TestOfLiveAuthentication in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Class TestOfLiveCookies
TestOfLiveCookies in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLiveCookies
Class TestOfLiveFetching
TestOfLiveFetching in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLiveFetching
Method TestOfLiveForm
TestOfLiveForm::TestOfLiveForm() in acceptance_test.php
Class TestOfLiveForm
TestOfLiveForm in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Class TestOfLiveFrontControllerEmulation
TestOfLiveFrontControllerEmulation in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLiveFrontControllerEmulation
Method TestOfLiveHeaders
Class TestOfLiveHeaders
TestOfLiveHeaders in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Class TestOfLiveHistoryNavigation
TestOfLiveHistoryNavigation in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLiveHistoryNavigation
Class TestOfLiveMultiValueWidgets
TestOfLiveMultiValueWidgets in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLiveMultiValueWidgets
Method TestOfLiveRedirects
Class TestOfLiveRedirects
TestOfLiveRedirects in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfLoadingFrames
Class TestOfLoadingFrames
TestOfLoadingFrames in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Class TestOfNestedFrames
TestOfNestedFrames in acceptance_test.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method TestOfNestedFrames
Method testPatternMatchCanReadTheOnlyFrame
Method testPhpLondon
LiveSitesTestCase::testPhpLondon() in real_sites_test.php
Method testPost
TestOfLiveFetching::testPost() in acceptance_test.php
Method testPostRetryResubmitsData
Method testPostWithData
Method testRealmExtendsToWholeDirectory
Method testRedirectKeepsAuthentication
Method testRedirectKeepsExtraRequestDataOfItsOwn
Method testRedirectLosesGetData
Method testRedirectLosesPostData
Method testRedirects
Method testRedirectWithBaseUrlChange
Method testRedirectWithDoubleBaseUrlChange
Method testRelativeGet
Method testRelativeLinkFollowing
Method testRelativePost
Method testReloadingFramesetPage
Method testReloadingFramesetPage
Method testReloadingFrameWhenUnfocusedReloadsWholeFrameset
Method testReloadingSingleFrameWithCookieCounter
Method testRetry
Method testRetryingNestedPageOnlyRetriesThatSet
Method testSelfSubmit
TestOfLiveForm::testSelfSubmit() in acceptance_test.php
Class TestSimpleSaxParser
TestSimpleSaxParser in parser_test.php
Converts HTML tokens into selected SAX events.
Method TestSimpleSaxParser
Method testSimpleSubmit
TestOfLiveForm::testSimpleSubmit() in acceptance_test.php
Method testSlowGet
TestOfLiveFetching::testSlowGet() in acceptance_test.php
Method testSourceforge
Method testSubmitBackADirectoryLevel
Method testSubmitBackADirectoryLevelReplacesJustThatFrame
Method testSubmittingMultipleValues
Method testSubmitToEmptyAction
Method testSubmitToEmptyActionReplacesJustThatFrame
Method testSubmitToNamedPage
Method testSubmitToNamedPageReplacesJustThatFrame
Method testSubmitToNoAction
Method testSubmitToNoActionReplacesJustThatFrame
Method testSubmitToSameDirectory
Method testSubmitToSameDirectoryReplacesJustThatFrame
Method testTemporaryCookieExpiry
Method testTimedCookieExpiry
Method testTimedOutGet
Method testTopLinkExitsFrameset
Method testUnauthenticatedFrameSendsChallenge
u
top
Method useProxy
Sets proxy to use on all requests for when testing from behind a firewall. Set host to false to disable. This will take effect if there are no other proxy settings.
Page unit_tester.php
unit_tester.php in unit_tester.php
Method UnitTestCase
UnitTestCase::UnitTestCase() in unit_tester.php
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Class UnitTestCase
UnitTestCase in unit_tester.php
Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.
Method UnitTests
UnitTests::UnitTests() in unit_tests.php
Class UnitTests
UnitTests in unit_tests.php
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
Method UnwantedPatternExpectation
Sets the reject pattern
Class UnwantedPatternExpectation
UnwantedPatternExpectation in expectation.php
Fail if a pattern is detected within the comparison.
Page url.php
url.php in url.php
Page user_agent.php
user_agent.php in user_agent.php
Method useFrames
Enables frames support. Frames will be fetched from now on.
Method useProxy
WebTestCase::useProxy() in web_tester.php
Sets proxy to use on all requests for when testing from behind a firewall. Set URL to false to disable.
Method useProxy
Sets proxy to use on all requests for when testing from behind a firewall. Set URL to false to disable.
Method useProxy
SimpleUserAgent::useProxy() in user_agent.php
Sets proxy to use on all requests for when testing from behind a firewall. Set URL to false to disable.
w
top
Method WildcardExpectation
Chains constructor only.
Class WildcardExpectation
WildcardExpectation in mock_objects.php
A wildcard expectation always matches.
Method WantedPatternExpectation
Sets the value to compare against.
Class WantedPatternExpectation
WantedPatternExpectation in expectation.php
Test for a pattern using Perl regex rules.
Page web_tester.php
web_tester.php in web_tester.php
Method WebTestCase
WebTestCase::WebTestCase() in web_tester.php
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Class WebTestCase
WebTestCase in web_tester.php
Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.
Method write
SimpleSocket::write() in socket.php
Writes some data to the socket and saves alocal copy.
x
top
Page xml.php
xml.php in xml.php
Method XmlReporter
Does nothing yet.
Class XmlReporter
XmlReporter in xml.php
Creates the XML needed for remote communication by SimpleTest.
a b c d e f g h i l m n o p q r s t u w x _