[SimpleTest] element index

All elements
$ a b c d e f g h i j k l m n o p r s t u v w x _
$
top
Constant $constant
$constant in php_parser.php
Lexer mode stack constants
_
top
Method __construct
CssSelector::__construct() in css_selector.php
Method __construct
Reporter to be run inside of Eclipse interface.
Method __construct
Variable $_commandMap
SeleneseTestCase::$_commandMap in selenese_tester.php
Variable $_description
TreemapNode::$_description in treemap_recorder.php
Variable $_failColor
ColorTextReporter::$_failColor in colortext_reporter.php
Variable $_graph
TreemapRecorder::$_graph in treemap_recorder.php
Variable $_list
TreemapStack::$_list in treemap_recorder.php
Variable $_name
TreemapNode::$_name in treemap_recorder.php
Variable $_parent
TreemapNode::$_parent in treemap_recorder.php
Variable $_passColor
ColorTextReporter::$_passColor in colortext_reporter.php
Variable $_size
TreemapNode::$_size in treemap_recorder.php
Variable $_stack
TreemapRecorder::$_stack in treemap_recorder.php
Variable $_status
TreemapNode::$_status in treemap_recorder.php
Variable $_test_case_pattern
Variable $_title
TreemapRecorder::$_title in treemap_recorder.php
Method _getCss
TreemapReporter::_getCss() in treemap_reporter.php
basic CSS for floating nested divs
Method _getCss
Method _resetColor
ColorTextReporter::_resetColor() in colortext_reporter.php
Resets the color back to normal.
Method _setColor
ColorTextReporter::_setColor() in colortext_reporter.php
Sets the terminal to an ANSI-standard $color
Method __call
Method __call
Method __construct
TreemapReporter::__construct() in treemap_reporter.php
Method __construct
SeleneseTestCase::__construct() in selenese_tester.php
constructor
Method __construct
Sets the dom tree and the css selector to compare against
Method __construct
CoverageReporter::__construct() in coverage_reporter.php
Method __construct
CoverageDataHandler::__construct() in coverage_data_handler.php
Method __construct
ColorTextReporter::__construct() in colortext_reporter.php
Handle initialization
Method __construct
JUnitXMLReporter::__construct() in junit_xml_reporter.php
Method __construct
PHPUnit_TestCase::__construct() in pear_test_case.php
Constructor. Sets the test name.
Method __construct
Method __construct
Method __construct
Records the test result as public members.
Method __construct
Method __construct
Stashes an error to throw later.
Method __construct
Sets up an empty response schedule.
Method __construct
SimpleReturn::__construct() in mock_objects.php
Stashes it for later.
Method __construct
Creates an empty call map.
Method __construct
SimpleThrower::__construct() in mock_objects.php
Stashes it for later.
Method __construct
SimpleByValue::__construct() in mock_objects.php
Stashes it for later.
Method __construct
Stashes it for later.
Method __construct
Stashes the method and expected count for later reporting.
Method __construct
Stashes the method and expected count for later reporting.
Method __construct
Mock::__construct() in mock_objects.php
Factory for mock object classes.
Method __construct
MockGenerator::__construct() in mock_objects.php
Builds initial reflection object.
Method __construct
Sets the expected parameter list.
Method __construct
Stashes the method and expected count for later reporting.
Method _getCss
WebUnitReporter::_getCss() in webunit_reporter.php
Paints the CSS. Add additional styles here.
Method __construct
Does nothing yet. The first output will be sent on the first test start. For use by a web browser.
Method __construct
Selects the test case or group to be run, and optionally a specific test.
Method __construct
Does nothing yet. The first output will be sent on the first test start.
Method __construct
Starts the display with no results in.
Method __construct
Sets the location of the remote test.
Method __construct
Stores the invoker to wrap.
Method __construct
Creates a dumper for displaying values and sets the test message.
Method __construct
Sets the value to compare against and the fuzziness of the match. Used for comparing floating point values.
Method __construct
Stashes the test case for later.
Method __construct
Mediates between the reporter and the test case.
Method __construct
SimpleReflection::__construct() in reflection_php5.php
Stashes the class/interface.
Method __construct
Starts the test run with no results.
Method __construct
WebUnitReporter::__construct() in webunit_reporter.php
Does nothing yet. The first output will be sent on the first test start. For use by a web browser.
Method __construct
Sets the reject pattern
Method __construct
Sets the value to compare against.
Method __construct
Sets up indentation and namespace.
Method __construct
UnitTestCase::__construct() in unit_tester.php
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Method __construct
Sets up the test with no display.
Method __construct
ShellTestCase::__construct() in shell_tester.php
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Method __construct
SimpleShell::__construct() in shell_tester.php
Executes the shell comand and stashes the output.
Method __construct
Stashes the list of target prefixes.
Method __construct
Sets the reference value to compare against.
Method __construct
Sets the value to compare against.
Method __construct
Starts with an empty queue.
Method __construct
Stores the invoker to wrap.
Method __construct
Sets up the conditions to test against.
Method __construct
Clears down the queue ready for action.
Method __construct
Sets the location of the remote test.
Method __construct
Parses raw command line arguments into object properties.
Method __construct
SimpleHelp::__construct() in arguments.php
Sets up the top level explanation for the program.
Method __construct
Method __construct
DefaultReporter::__construct() in default_reporter.php
Assembles the appropriate reporter for the environment.
Method __construct
Stores the invoker to be wrapped.
Method __construct
Sets the value to compare against.
Method __construct
Sets the type to compare with.
Method __construct
Sets the value to compare against.
Method __construct
Sets the value to compare against.
Method __construct
Sets the value to compare against and the fuzziness of the match. Used for comparing floating point values.
Method __construct
Parses the command line arguments. The usual formats
Method __construct
Sets the reject pattern
Method __construct
Sets the value to compare against.
Method __construct
Sets the value to compare against.
Method __construct
Sets the type to compare with.
Method __construct
Sets the value to compare against.
Method __get
SimpleArguments::__get() in arguments.php
The arguments are available as individual member variables on the object.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Stashes the attributes.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Opens a socket for reading and writing.
Method __construct
Opens a secure socket for reading and writing.
Method __construct
Sets the error to empty.
Method __construct
Starts with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Stashes the attributes.
Method __construct
Starts with attributes only.
Method __construct
Starts with no cookies, realms or proxies.
Method __construct
Constructor. Parses URL into sections.
Method __construct
Sets the field value to compare against.
Method __construct
Sets the field and value to compare against.
Method __construct
WebTestCase::__construct() in web_tester.php
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Method __construct
Sets the field and value to compare against.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Starts with a named tag with attributes only.
Method __construct
Opens a socket for reading and writing.
Method __construct
Stashes the name for later comparison.
Method __construct
Starts empty.
Method __construct
Starts empty.
Method __construct
Starts empty.
Method __construct
Starts empty.
Method __construct
Starts with no held controls/widgets.
Method __construct
Starts empty.
Method __construct
Method __construct
Starts empty.
Method __construct
Constructor. Jar starts empty.
Method __construct
Constructor. Sets the stored values.
Method __construct
Stashes the data for rendering later.
Method __construct
Starts empty.
Method __construct
Stashes the data for rendering later.
Method __construct
Stashes the frameset page. Will make use of the browser to fetch the sub frames recursively.
Method __construct
Parses the incoming header block.
Method __construct
SimpleLexer::__construct() in php_parser.php
Sets up the lexer in case insensitive matching by default.
Method __construct
Sets the listener.
Method __construct
Constructor. Starts in named state.
Method __construct
Stashes the name for later comparison.
Method __construct
Stashes the name/label for later comparison.
Method __construct
Stashes the name for later comparison.
Method __construct
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 __construct
Sets up the lexer with case insensitive matching and adds the HTML handlers.
Method __construct
Constructor. Reads and parses the incoming content and headers.
Method __construct
Builds the socket request from the different pieces.
Method __construct
Stashes the proxy address.
Method __construct
Sets the target URL.
Method __construct
Constructor. Starts with no patterns.
Method __construct
Parses a page ready to access it's contents.
Method __destruct
a
top
Page autorun.php
autorun.php in autorun.php
Method after
Stops output buffering and send the captured output to the listener.
Method addItemAsArray
CoverageUtils::addItemAsArray() in coverage_utils.php
Adds a value as an array of one, or appends to an existing array elements
Method aggregateCoverage
CoverageDataHandler::aggregateCoverage() in coverage_data_handler.php
Method aggregateCoverageCode
Method assertElementsBySelector
Method assertEquals
PHPUnit_TestCase::assertEquals() in pear_test_case.php
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 assertFunction
SeleneseTestCase::assertFunction() in selenese_tester.php
assertFunction
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
Inverted identity test.
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 assertSame
PHPUnit_TestCase::assertSame() in pear_test_case.php
Identity test tests for the same object.
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.
Page autocoverage.php
autocoverage.php in autocoverage.php
Method act
SimpleReturn::act() in mock_objects.php
Returns the value stored earlier.
Method act
SimpleThrower::act() in mock_objects.php
Throws the exceptins stashed earlier.
Method act
SimpleByValue::act() in mock_objects.php
Returns the value stored earlier.
Method act
SimpleErrorThrower::act() in mock_objects.php
Triggers the stashed error.
Method act
SimpleByReference::act() in mock_objects.php
Returns the reference stored earlier.
Method add
SimpleSignatureMap::add() in mock_objects.php
Stashes a reference against a method call.
Method addCall
SimpleMock::addCall() in mock_objects.php
Adds one to the call count of a method.
Method addMethodList
MockGenerator::addMethodList() in mock_objects.php
Creates a list of mocked methods for error checking.
Class AnythingExpectation
AnythingExpectation in expectation.php
A wildcard expectation always matches.
Method atTestEnd
SimpleMock::atTestEnd() in mock_objects.php
Receives event from unit test that the current test method has finished. Totals up the call counts and triggers a test assertion if a test is present for expected call counts.
Method add
TestSuite::add() in test_case.php
Adds a test into the suite by instance or class. The class will be instantiated if it's a test suite.
Method add
Adds an error to the front of the queue.
Method addContent
Content between start and end elements.
Method addFile
TestSuite::addFile() in test_case.php
Builds a test suite from a library of test cases.
Method after
Runs test level clean up. Used for changing the mechanics of base test cases.
Method after
SimpleInvoker::after() in invoker.php
Runs test level clean up. Used for changing the mechanics of base test cases.
Method after
SimpleTestCase::after() in test_case.php
Announces the end of the test. Includes private clean up.
Method all
SimpleArguments::all() in arguments.php
The entire argument set as a hash.
Page arguments.php
arguments.php in arguments.php
Method assert
SimpleTestCase::assert() in test_case.php
Runs an expectation directly, for extending the tests with new expectation classes.
Method assertClone
UnitTestCase::assertClone() in unit_tester.php
Will trigger a pass if both parameters refer to different objects. Fail otherwise. The objects have to be identical though.
Method assertCopy
UnitTestCase::assertCopy() in unit_tester.php
Will trigger a pass if both parameters refer to different variables. Fail otherwise. The objects have to be identical references though.
Method assertEqual
ShellTestCase::assertEqual() in shell_tester.php
Will trigger a pass if the two parameters have the same value only. Otherwise a fail. This is for testing hand extracted text, etc.
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 assertExitCode
Tests the last status code from the shell.
Method assertFalse
UnitTestCase::assertFalse() in unit_tester.php
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 assertFalse
ShellTestCase::assertFalse() in shell_tester.php
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 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 assertNoPattern
Will trigger a pass if the perl regex pattern is not present in subject. Fail if found.
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 assertNotEqual
Will trigger a pass if the two parameters have a different value. Otherwise a fail. This is for testing hand extracted text, etc.
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 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 assertOutsideMargin
Will trigger a pass if the two parameters differ by more than the margin.
Method assertPattern
Will trigger a pass if the Perl regex pattern is found in the subject. Fail otherwise.
Method assertReference
Will trigger a pass if both parameters refer to the same object or value. Fail otherwise.
Method assertSame
UnitTestCase::assertSame() in unit_tester.php
Will trigger a pass if both parameters refer to the same object. Fail otherwise. This has the same semantics at the PHPUnit assertSame.
Method assertTrue
ShellTestCase::assertTrue() in shell_tester.php
Called from within the test methods to register passes and failures.
Method assertTrue
UnitTestCase::assertTrue() in unit_tester.php
Called from within the test methods to register passes and failures.
Method assertWithinMargin
Will trigger a pass if the if the first parameter is near enough to the second by the margin.
Method assign
SimpleArguments::assign() in arguments.php
Sets the value in the argments object. If multiple values are added under the same key, the key will give an array value in the order they were added.
Method attachReporter
Adds a reporter to the subscriber list.
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 acceptLabelEnd
Closes the most recently opened label.
Method acceptLabelStart
Opens a label for a described widget.
Method acceptPageEnd
Marker for end of complete page. Any work in progress can now be closed.
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
SimpleEncoding::add() in encoding.php
Adds a parameter to the query.
Method addAdditionalHeaders
Adds additional manual headers.
Method addAttributeTokens
Matches attributes that are either single quoted, double quoted or unquoted.
Method addBasicHeaders
Presents the appropriate headers for this location for basic authentication.
Method addCheckbox
Adds a checkbox, making it a group on a repeated name.
Method addContent
Text within the selection element is ignored.
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 addContentTagToOpenTags
Parsed data in tag form. The parsed tag is added to every open tag. Used for adding options to select fields only.
Method addContentToAllOpenTags
Any content fills all currently open tags unless it is part of an option tag.
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
WebTestCase::addHeader() in web_tester.php
Adds a header to every fetch.
Method addHeader
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 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 addPair
Adds a new value into the request.
Method addPattern
ParallelRegex::addPattern() in php_parser.php
Adds a pattern with an optional label.
Method addPattern
SimpleLexer::addPattern() in php_parser.php
Adds a token search pattern for a particular parsing mode. The pattern does not change the current mode.
Method addRadioButton
Adds a radio button, building a group if necessary.
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 addSkipping
The lexer has to skip certain sections such as server code, client code and styles.
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 addTag
SimpleHtmlLexer::addTag() in php_parser.php
Pattern matches to start and end a tag.
Method addTags
Adds multiple enclosed tags to the content.
Method addWidget
Adds a tag to the group.
Method addWidget
Adds a tag contents to the form.
Method after
WebTestCase::after() in web_tester.php
Announces the end of the test. Includes private clean up.
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 asMime
The MIME part as a string.
Method asMime
The MIME part as a string.
Method asRequest
The pair as a single string.
Method asRequest
The pair as a single string.
Method assertAuthentication
Attempt to match the authentication type within the security realm we are currently matching.
Method assertClickable
Checks for a click target.
Method assertCookie
WebTestCase::assertCookie() in web_tester.php
Checks that a cookie is set for the current page and optionally checks the value.
Method assertEqual
WebTestCase::assertEqual() in web_tester.php
Will trigger a pass if the two parameters have the same value only. Otherwise a fail. This is for testing hand extracted text, etc.
Method assertFalse
WebTestCase::assertFalse() in web_tester.php
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 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 assertFieldByName
Confirms that the form element is currently set to the expected value. A missing form element will always fail. If no value is given then only the existence of the field is checked.
Method assertFieldValue
Tests the field value against the expectation.
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 assertImage
WebTestCase::assertImage() in web_tester.php
Checks for a valid image with atht alt text or title.
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 assertNoHeader
Confirms that the header type has not been received.
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 assertNoLinkById
Tests for the non-presence of a link label. Match is case insensitive with normalised space.
Method assertNoPattern
Will trigger a pass if the perl regex pattern is not present in raw content.
Method assertNotEqual
Will trigger a pass if the two parameters have a different value. Otherwise a fail. This is for testing hand extracted text, etc.
Method assertNoText
WebTestCase::assertNoText() in web_tester.php
Will trigger a pass if the text is not found in the plain text form of the page.
Method assertPattern
Will trigger a pass if the Perl regex pattern is found in the 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 assertSubmit
WebTestCase::assertSubmit() in web_tester.php
Checks for a valid button label.
Method assertText
WebTestCase::assertText() in web_tester.php
Will trigger a pass if the text is found in the plain text form of the page.
Method assertTitle
WebTestCase::assertTitle() in web_tester.php
Tests the text between the title tags.
Method assertTrue
WebTestCase::assertTrue() in web_tester.php
Called from within the test methods to register passes and failures.
Method asString
Renders the URL back into a string.
Method asUrlRequest
Renders the query string as a URL encoded request part for attaching to a URL.
Method asUrlRequest
Renders the query string as a URL encoded request part for attaching to a URL.
Method atBeginning
Test for being at the beginning.
Method atEnd
Test for being at the last entry.
Method attach
SimpleEncoding::attach() in encoding.php
Adds a MIME part to the query. Does nothing for a form encoded packet.
Method attachLabelBySelector
Used by the page object to set widgets labels to external label tags.
Method authenticate
WebTestCase::authenticate() in web_tester.php
Retries a request after setting the authentication for the current realm.
Method authenticate
Retries a request after setting the authentication for the current realm.
Page authentication.php
authentication.php in authentication.php
b
top
Method before
Starts output buffering.
Variable $breadcrumb
Variable $browser
Selenium instantiation variables
Variable $browserUrl
Selenium instantiation variables
Method buildUrlCmd
Method bailOutIfNotMocked
Creates code to abandon the expectation if not mocked.
Method BadTestSuite
Sets the name of the test suite and error message.
Class BadTestSuite
BadTestSuite in test_case.php
This is a failing group test for when a test suite hasn't loaded properly.
Method before
SimpleTestCase::before() in test_case.php
Announces the start of the test.
Method before
Runs test level set up. Used for changing the mechanics of base test cases.
Method before
Runs test level set up. Used for changing the mechanics of base test cases.
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. The page content is refetched as there is no concept of content caching in SimpleTest.
Method back
WebTestCase::back() in web_tester.php
Equivalent to hitting the back button on the browser.
Method before
WebTestCase::before() in web_tester.php
Announces the start of the test.
Page browser.php
browser.php in browser.php
Method buildPage
Assembles the parsing machinery and actually parses a single page. Frees all of the builder memory and so unjams the PHP memory management.
c
top
Function capture_new_classes
capture_new_classes() in autorun.php
Every class since the first autorun include. This is safe enough if require_once() is always used.
Page compatibility.php
compatibility.php in compatibility.php
Method copy
SimpleTestCompatibility::copy() in compatibility.php
Creates a copy whether in PHP5 or PHP4.
Class CssSelector
CssSelector in css_selector.php
CssSelector
Page css_selector.php
css_selector.php in css_selector.php
Method createInvoker
Wraps the test in an output buffer.
Method createListener
Localhost connection from Eclipse.
Variable $calculator
CoverageReporter::$calculator in coverage_reporter.php
Variable $coverage
CoverageReporter::$coverage in coverage_reporter.php
Method cmd
Class CodeCoverage
CodeCoverage in coverage.php
Orchestrates code coverage both in this thread and in subthread under apache Assumes this is running on same machine as apache.
Class ColorTextReporter
ColorTextReporter in colortext_reporter.php
Provides an ANSI-colored TextReporter for viewing test results.
Method compareChildren
TreemapNode::compareChildren() in treemap_recorder.php
Comparator method to rank child nodes by total weight.
Method countTestCases
For progress indication during a test amongst other things.
Method coverageByFileVariables
Class CoverageCalculator
CoverageCalculator in coverage_calculator.php
Class CoverageDataHandler
CoverageDataHandler in coverage_data_handler.php
Persists code coverage data into SQLite database and aggregate data for convienent interpretation in report generator. Be sure to not to keep an instance longer than you have, otherwise you risk overwriting database edits from another process also trying to make updates.
Class CoverageReporter
CoverageReporter in coverage_reporter.php
Take aggregated coverage data and generate reports from it using smarty
Class CoverageUtils
CoverageUtils in coverage_utils.php
Class CoverageWriter
CoverageWriter in coverage_writer.php
Method createSchema
CoverageDataHandler::createSchema() in coverage_data_handler.php
Class CssSelectorExpectation
CssSelectorExpectation in dom_tester.php
CssSelectorExpectation
Page colortext_reporter.php
colortext_reporter.php in colortext_reporter.php
Page coverage.php
coverage.php in coverage.php
Page coverage_calculator.php
coverage_calculator.php in coverage_calculator.php
Page coverage_data_handler.php
coverage_data_handler.php in coverage_data_handler.php
Page coverage_reporter.php
coverage_reporter.php in coverage_reporter.php
Page coverage_utils.php
coverage_utils.php in coverage_utils.php
Page coverage_writer.php
coverage_writer.php in coverage_writer.php
Class CallCountExpectation
CallCountExpectation in mock_objects.php
Confirms that the number of calls on a method is as expected.
Method chainMockExpectations
Creates source code for chaining to an aggregated mock object.
Method chainMockReturns
Creates source code for chaining to the composited mock object.
Method chainThrowMethods
Adds code for chaining the throw methods.
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
The new mock class code as a string.
Method createHandlerCode
Creates code within a class to generate replaced methods. All methods call the invoke() handler with the method name and the arguments in an array.
Method createNewMethodCode
Creates code within a class to generate a new methods. All methods call the invoke() handler on the internal mock with the method name and the arguments in an array.
Method createSubclassCode
The new mock class code as a string. The mock will be a subclass of the original mocked class.
Method canonicalType
Coerces type name into a gettype() match.
Method captureTrace
Grabs a current stack trace.
Method classExists
SimpleReflection::classExists() in reflection_php5.php
Checks that a class has been declared. Versions before PHP5.0.2 need a check that it's not really an interface.
Method classExistsSansAutoload
Needed to kill the autoload feature in PHP5 for classes created dynamically.
Method classOrInterfaceExists
Checks that a class or interface has been declared.
Method classOrInterfaceExistsSansAutoload
Needed to kill the autoload feature in PHP5 for classes created dynamically.
Method classOrInterfaceExistsWithAutoload
Needed to select the autoload feature in PHP5 for classes created dynamically.
Method clear
Discards the contents of the error queue.
Method clear
SimpleTestContext::clear() in simpletest.php
Clears down the current context.
Method clear
Discards the contents of the error queue.
Method clipString
Clips a string to a maximum length.
Method coerceExpectation
Creates an equality expectation if the object/value is not already some type of expectation.
Method collect
TestSuite::collect() in test_case.php
Delegates to a visiting collector to add test files.
Method collect
Scans the directory and adds what it can.
Page collector.php
collector.php in collector.php
Method createBrowser
Creates a new web browser object for fetching the XML report.
Method createErrorQueue
Wires up the error queue for a single test.
Method createInvoker
Used to invoke the single tests.
Method createInvoker
Can wrap the invoker in preparation for running a test.
Method createInvoker
Can wrap the invoker in preperation for running a test.
Method createInvoker
Every reporter gets a chance to wrap the invoker.
Method createParser
Sets up expat as the XML parser.
Method createParser
Creates the XML parser.
Method createParser
Creates the XML parser.
Method createShell
ShellTestCase::createShell() in shell_tester.php
Factory for the shell to run the command on.
Method createSuiteFromClasses
Builds a test suite from a class list.
Method can
SimplePhpPageBuilder::can() in php_parser.php
This builder is always available.
Method can
SimpleTidyPageBuilder::can() in tidy_parser.php
This builder is only available if the 'tidy' extension is loaded.
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 clear
SimpleEncoding::clear() in encoding.php
Empties the request of parameters.
Method clearError
Resets the error state to no error.
Method clearFrameFocus
Clears the frame focus.
Method clearFrameFocus
Clears the frame focus. All frames will be searched for content.
Method clearFrameFocus
Clears the frame focus. Does nothing for a leaf page.
Method clearFrameFocus
Clears the frame focus. All frames will be searched for content.
Method clearNestedFramesFocus
Clears the frame focus for any nested frames.
Method clearRequest
Clears down all parameters.
Method click
WebTestCase::click() in web_tester.php
Clicks a visible text item. Will first try buttons, then links and then images.
Method click
SimpleBrowser::click() in browser.php
Clicks a visible text item. Will first try buttons, then links and then images.
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
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 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 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. 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 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 close
Closes the socket preventing further reads.
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.
Page cookies.php
cookies.php in cookies.php
Method createAction
Combined action attribute with current location to get an absolute form target.
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 createHistory
Creates a new empty history list.
Method createHttpRequest
Builds the appropriate HTTP request object.
Method createInputTag
Factory for input tags.
Method createLexer
Sets up the matching lexer. Starts in 'text' mode.
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 and attributes.
Method createUserAgent
Creates the underlying user agent.
d
top
Variable $dom
CssSelector::$dom in css_selector.php
Variable $db
CoverageDataHandler::$db in coverage_data_handler.php
Variable $directoryDepth
Variable $dom
DomTestCase::$dom in dom_tester.php
Variable $dom
Method divideMapNodes
TreemapReporter::divideMapNodes() in treemap_reporter.php
divides the test results based on a slice and dice algorithm
Method divideMapNodes
Class DomTestCase
DomTestCase in dom_tester.php
DomTestCase
Page dom_tester.php
dom_tester.php in dom_tester.php
Method describeDifference
Message to display if expectation differs from the parameters actually received.
Method dieOnNoMethod
SimpleMock::dieOnNoMethod() in mock_objects.php
Triggers a PHP error if the method is not part of this object.
Method disableExpectationNameChecks
Disables a name check when setting expectations.
Variable $dumper
SimpleExpectation::$dumper in expectation.php
Method defaultContent
XML and Doctype handler. Discards all such content.
Class DefaultReporter
DefaultReporter in default_reporter.php
The default reporter used by SimpleTest's autorun feature. The actual reporters used are dependency injected and can be overridden.
Page default_reporter.php
default_reporter.php in default_reporter.php
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 describeDifference
Creates a human readable description of the difference between two variables. Uses a dynamic call.
Method describeException
Summary of an Exception object.
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 describePatternMatch
Describes a pattern match including the string found and it's position.
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 describeTextMatch
Describes a pattern match including the string found and it's position.
Method describeValue
Renders a variable in a shorter form than print_r().
Page detached.php
detached.php in detached.php
Class DetachedTestCase
DetachedTestCase in detached.php
Runs an XML formated test in a separate process.
Method dump
SimpleTestCase::dump() in test_case.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.
Page dumper.php
dumper.php in dumper.php
Method dumpOutput
ShellTestCase::dumpOutput() in shell_tester.php
Dumps the output of the last command.
Method decodeSpecial
Strips the magic underscore marking single token modes.
Method deduceMimeType
Attempts to figure out the MIME type from the file extension and the content.
Constant DEFAULT_CONNECTION_TIMEOUT
DEFAULT_CONNECTION_TIMEOUT in user_agent.php
Constant DEFAULT_MAX_NESTED_FRAMES
Constant DEFAULT_MAX_REDIRECTS
DEFAULT_MAX_REDIRECTS in user_agent.php
Method delete
Sends a DELETE request and fetches the response.
Method delete
WebTestCase::delete() in web_tester.php
Fetches a page by a DELETE request
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.
e
top
Page expectation.php
expectation.php in expectation.php
Page eclipse.php
eclipse.php in eclipse.php
Class EclipseInvoker
EclipseInvoker in eclipse.php
Invoker decorator for Eclipse. Captures output until the end of the test.
Class EclipseReporter
EclipseReporter in eclipse.php
base reported class for eclipse plugin
Method escapeVal
C style escaping.
Variable $excludes
CodeCoverage::$excludes in coverage.php
Method emulateCall
SimpleMock::emulateCall() 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 errorAt
SimpleMock::errorAt() in mock_objects.php
Sets up a trigger to throw an error upon a specific method call.
Method errorOn
SimpleMock::errorOn() in mock_objects.php
Sets up a trigger to throw an error upon the method call.
Method expect
SimpleMock::expect() 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 expectArguments
Sets up an expectation on the argument list.
Method expectAt
SimpleMock::expectAt() in mock_objects.php
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 extendClassCode
The extension class code as a string. The class composites a mock object and chains mocked methods to it.
Method endElement
End of element event.
Class EqualExpectation
EqualExpectation in expectation.php
Test for equality.
Method error
SimpleTestCase::error() in test_case.php
Formats a PHP error and dispatches it to the reporter.
Page errors.php
errors.php in errors.php
Method exception
Formats an exception and dispatches it to the reporter.
Class ExceptionExpectation
ExceptionExpectation in exceptions.php
Tests exceptions either by type or the exact exception. This could be improved to accept a pattern expectation to test the error message, but that will have to come later.
Page exceptions.php
exceptions.php in exceptions.php
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 expectError
UnitTestCase::expectError() in unit_tester.php
Prepares for an error. If the error mismatches it passes through, otherwise it is swallowed. Any left over errors trigger failures.
Method expectError
Sets up an expectation of an error. If this is not fulfilled at the end of the test, a failure will occour. If the error does happen, then this will cancel it out and send a pass message.
Method expectException
Prepares for an exception. If the error mismatches it passes through, otherwise it is swallowed. Any left over errors trigger failures.
Method expectException
Sets up an expectation of an exception.
Method explainFlag
SimpleHelp::explainFlag() in arguments.php
Adds the explanation for a group of flags that all have the same function.
Method extract
Pulls the earliest error from the queue.
Method extractExpectation
Pulls the earliest expectation from the queue.
Method encode
Creates the encoding for the current values in the form.
Method encode
Renders the request body
Method encode
Renders the query string as a URL encoded request part.
Method encode
SimpleEncoding::encode() in encoding.php
Renders the query string as a URL encoded request part.
Page encoding.php
encoding.php in encoding.php
Method endElement
End of element event.
Method enter
SimpleStateStack::enter() in php_parser.php
Adds a state to the stack and sets it to be the current state.
Method expandUrl
Expands expandomatic URLs into fully qualified URLs.
Method expandUrl
Expands expandomatic URLs into fully qualified URLs for the frameset page.
Method expectEndTag
Tag contains no end element.
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 content.
Method expectEndTag
Tag contains no content.
Method expectEndTag
Base tag is not a block tag.
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 extractAbsolutePath
Replaces unknown sections of the path with base parts to return a complete absolute one.
Method extractResponse
Extracts all of the response information.
f
top
Method fail
TreemapNode::fail() in treemap_recorder.php
Fail this node.
Method filter
CodeCoverage::filter() in coverage.php
Class FailedExpectation
FailedExpectation in expectation.php
An expectation that never matches.
Class FalseExpectation
FalseExpectation in expectation.php
An expectation that passes on boolean false.
Method findFirstAction
Searches the call list for a matching parameter set. Returned by reference.
Method findFirstSlot
Searches the map for a matching item.
Method fail
SimpleTestCase::fail() in test_case.php
Sends a fail event with a message.
Method frameLiesWithinSimpleTestFolder
Test to see if error is generated by SimpleTest itself.
Method frameMatchesPrefix
Tries to determine if the method call is an assert, etc.
Method failOnError
WebTestCase::failOnError() in web_tester.php
Issues a fail if there is a transport error anywhere in the current frameset. Only one such error is reported.
Method fetch
SimpleUserAgent::fetch() in user_agent.php
Actually make the web request.
Method fetch
SimpleBrowser::fetch() in browser.php
Fetches a page. Jointly recursive with the parse() method as it descends a frameset.
Method fetch
Dispatches the content to the route's socket.
Method fetchResponse
Fetches a URL as a response object. Will keep trying if redirected.
Method fetchWhileRedirected
Fetches the page until no longer redirected or until the redirect limit runs out.
Class FieldExpectation
FieldExpectation in web_tester.php
Test for an HTML widget value match.
Method findFirstMatch
Finds a matching cookie to write over or the first empty slot if none.
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.
Page form.php
form.php in form.php
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. The page content is refetched as there is no concept of content caching in SimpleTest.
Method forward
Step forward one place. If already at the latest entry then nothing will happen.
Page frames.php
frames.php in frames.php
Method free
Frees up any references so as to allow the PHP garbage collection from unset() to work.
g
top
Method getElements
CssSelector::getElements() in css_selector.php
Method getElementsByTagName
Method getTexts
CssSelector::getTexts() in css_selector.php
Method getDumper
Means to display human readable object comparisons.
Method generate
CoverageReporter::generate() in coverage_reporter.php
Method generateCoverageByFile
Method generateSummaryReport
Method getChildren
TreemapNode::getChildren() in treemap_recorder.php
Return list of child nodes from direct edges.
Method getDescription
TreemapNode::getDescription() in treemap_recorder.php
Method getElementsBySelector
Method getFilenames
CoverageDataHandler::getFilenames() in coverage_data_handler.php
Method getGraph
TreemapRecorder::getGraph() in treemap_recorder.php
returns a reference to the root node of the
Method getInstance
Method getName
TreemapNode::getName() in treemap_recorder.php
Method getName
PHPUnit_TestCase::getName() in pear_test_case.php
Accessor for name, normally just the class name.
Method getSettings
Method getSize
TreemapNode::getSize() in treemap_recorder.php
Gets the number of immediate child edges from this node.
Method getStatus
TreemapNode::getStatus() in treemap_recorder.php
Method getTitle
TreemapRecorder::getTitle() in treemap_recorder.php
returns the title of the test
Method getTotalSize
TreemapNode::getTotalSize() in treemap_recorder.php
depth first search to get the total number of nodes that are descendants of this node.
Method getTouchedFiles
Method getUntouchedFiles
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 generate
MockGenerator::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 generatePartial
Generates a version of a class with selected methods mocked only. Inherits the old class and chains the mock methods of an aggregated mock object.
Method generateSubclass
Subclasses a class and overrides every method with a mock one that can have return values and expectations set. Chains to an aggregated SimpleMock.
Method getCallCount
SimpleMock::getCallCount() in mock_objects.php
Fetches the call count of a method so far.
Method getCurrentTestCase
Finds currently running test.
Method getExpectationLine
Mock::getExpectationLine() in mock_objects.php
Uses a stack trace to find the line of an assertion.
Method get
SimpleTestContext::get() in simpletest.php
Accessor for the Singleton resource.
Method getAssertionLine
Uses a stack trace to find the line of an assertion.
Method getAttributes
Accessor for attributes.
Method getBaseTestCase
Test to see if a class is derived from the SimpleTestCase class.
Method getContext
SimpleTest::getContext() in simpletest.php
Accessor for the context of the current test run.
Method getCss
HtmlReporter::getCss() in reporter.php
Paints the CSS. Add additional styles here.
Method getCurrentNestingTag
Accessor for current test structure tag.
Method getDefaultProxy
Accessor for default proxy host.
Method getDefaultProxyPassword
Accessor for default proxy password.
Method getDefaultProxyUsername
Accessor for default proxy username.
Method getDefaults
SimpleTest::getDefaults() in simpletest.php
Constant default values.
Method getDumper
Gets the formatter for privateiables and other small generic data items.
Method getDumper
Gets the formatter for small generic data items.
Method getDumper
Accessor for the dumper.
Method getDumper
Gets the formatter for privateiables and other small generic data items.
Method getDumper
Accessor for the dumper.
Method getExceptionCount
Accessor for the number of untrapped errors so far.
Method getFailCount
Accessor for the number of fails so far.
Method getFullSignature
For a signature specified in an interface, full details must be replicated to be a valid implementation.
Method getHelpText
Returns plain-text help message for command line runner.
Method getIndent
Calculates the pretty printing indent level from the current level of nesting.
Method getInterfaceMethods
Gets the list of methods for the implemented interfaces only.
Method getInterfaces
SimpleReflection::getInterfaces() in reflection_php5.php
Gets the list of interfaces from a class. If the class name is actually an interface then just that interface is returned.
Method getLabel
BadTestSuite::getLabel() in test_case.php
Accessor for the test name for subclasses.
Method getLabel
Accessor for the test name for subclasses.
Method getLabel
Accessor for the test name for subclasses.
Method getLabel
TestSuite::getLabel() in test_case.php
Accessor for the test name for subclasses. If the suite wraps a single test case the label defaults to the name of that test.
Method getLabel
Accessor for the test name for subclasses.
Method getMembers
Get all members of an object including private and protected ones.
Method getMethods
SimpleReflection::getMethods() in reflection_php5.php
Gets the list of methods on a class or interface.
Method getMockBaseClass
Method getName
Accessor for name.
Method getOutput
ShellTestCase::getOutput() in shell_tester.php
Accessor for the last output.
Method getOutput
SimpleShell::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 getOutstanding
Tests for any left over exception.
Method getParameterSignatures
Gets the source code for each parameter.
Method getParent
SimpleReflection::getParent() in reflection_php5.php
Finds the parent class name.
Method getParsers
SimpleTest::getParsers() in simpletest.php
Accessor for default HTML parsers.
Method getPassCount
Accessor for the number of passes so far.
Method getPattern
Accessor for the pattern.
Method getRegistry
SimpleTest::getRegistry() in simpletest.php
Accessor for global registry of options.
Method getReporter
Accessor for current reporter.
Method getSeverityAsString
Converts an error code into it's string representation.
Method getShell
ShellTestCase::getShell() in shell_tester.php
Accessor for current shell. Used for testing the the tester itself.
Method getSignature
SimpleReflection::getSignature() in reflection_php5.php
Writes the source code matching the declaration of a method.
Method getSize
BadTestSuite::getSize() in test_case.php
Number of contained test cases. Always zero.
Method getSize
Accessor for the number of subtests.
Method getSize
Accessor for the number of subtests.
Method getSize
TestSuite::getSize() in test_case.php
Number of contained test cases.
Method getSize
SimpleTestCase::getSize() in test_case.php
Accessor for the number of subtests including myelf.
Method getSize
The size in the attributes.
Method getStatus
Accessor for current status. Will be false if there have been any failures or exceptions.
Method getStatus
Accessor for current status. Will be false if there have been any failures or exceptions.
Method getStatus
Accessor for current status. Will be false if there have been any failures or exceptions.
Method getSubstring
Accessor for the substring.
Method getTest
SimpleCommandLineParser::getTest() in default_reporter.php
Run only this test.
Method getTest
Accessor for currently running test case.
Method getTestCase
Run only this test suite.
Method getTestCase
Accessor for test case being run.
Method getTestCase
Accessor for test case being run.
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 getTestList
The nesting of the test cases so far. Not all reporters have this facility.
Method getTests
Gets a list of test names. Normally that will be all internal methods that start with the name "test". This method should be overridden if you want a different rule.
Method getType
IsAExpectation::getType() in expectation.php
Accessor for type to check against.
Method getType
Gets the string representation of a type.
Method getValue
EqualExpectation::getValue() in expectation.php
Accessor for comparison value.
Method getVersion
SimpleTest::getVersion() in simpletest.php
Reads the SimpleTest version from the release file.
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 getAction
Absolute URL of the target.
Method getAll
SimpleEncoding::getAll() in encoding.php
Accessor for listing of pairs.
Method getAllTopLevelDomains
A pipe seperated list of all TLDs that result in two part domain names.
Method getAssertionLine
Uses a stack trace to find the line of an assertion.
Method getAttribute
Accessor for an attribute.
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 getBaseUrl
Base URL if set via BASE tag page url otherwise
Method getBaseUrl
Accessor for base URL of page if set via BASE tag
Method getBaseUrl
Page base URL.
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 of legal child elements.
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 getContent
Accessor for the whole content so far.
Method getContent
Accessor for raw page information.
Method getContent
Accessor for the content after the last header line.
Method getContentAsText
Accessor for plain text version of the page.
Method getContentType
Returns the media type of the entity body
Method getCookie
WebTestCase::getCookie() in web_tester.php
Gets the cookie value for the current browser context.
Method getCookieValue
Reads the most specific cookie value from the browser cookies. Looks for the longest path that matches.
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
Scans options for defaults. If none, then the first option is selected.
Method getDefault
Accessor for starting value. Will be set to the option label if no value exists.
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. The default value is "on".
Method getDefault
Accessor for starting value that is active.
Method getDefault
Accessor for starting value.
Method getDefault
Accessor for starting value.
Method getEncodedRequest
Accessor for current request parameters in URL string form. Will return teh original request if at all possible even if it doesn't make much sense.
Method getError
Accessor for an outstanding error.
Method getExpectation
Accessor for aggregated object.
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 page.
Method getFieldById
Accessor for a form element value within the page.
Method getFieldByName
Accessor for a form element value within the page.
Method getFor
Access for the ID to attach the label to.
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 getFormById
Finds a held form by the form ID. A way of
Method getFormByImage
Finds a held form by image using a selector.
Method getFormByImage
Finds a held form by image using a selector.
Method getFormBySubmit
Finds a held form by button label. Will only search correctly built forms.
Method getFormBySubmit
Finds a held form by button label. Will only search correctly built forms.
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. Will have the nested frame focus if any.
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 getFrames
Accessor for frames information.
Method getFrames
Accessor for a breakdown of the frameset.
Method getFrames
Fetches a list of loaded frames.
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 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 getHeaders
Accessor for raw header information.
Method getHost
Accessor for the truncated host to which this cookie applies.
Method getHost
Accessor for hostname and port.
Method getHostLine
Creates the host part of the request.
Method getHostLine
Creates the host part of the request.
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 getIdentity
Extracts the username and password for use in rendering a URL.
Method getKey
Is this the value we are looking for?
Method getKey
Is this the value we are looking for?
Method getLabel
Value of browser visible text.
Method getLabel
Value of browser visible text.
Method getLabel
Value of browser visible text.
Method getLink
Finds a URL by label. Will find the first link found with this link text by default, or a later one if an index is given. The match ignores case and white space issues.
Method getLinkById
Finds a link by id attribute.
Method getLocation
Returns the redirected URL or false if no redirection.
Method getMethod
HTTP request method.
Method getMethod
Original request method.
Method getMethod
HTTP request method.
Method getMethod
Accessor for method of form submission.
Method getMethod
HTTP request method.
Method getMethod
HTTP request method.
Method getMethod
HTTP request method.
Method getMethod
Request method used to fetch this frame.
Method getMethod
Original request method.
Method getMimeType
Accessor for current MIME type.
Method getMimeType
Accessor for current MIME type.
Method getMimeType
Accessor for current MIME type.
Method getMimeType
Accessor for MIME type header information.
Method getName
Fetches the name for the widget from the first member.
Method getName
Accessor for name.
Method getName
SimpleByName::getName() in selector.php
Accessor for name.
Method getName
Accessor for name submitted as the key in GET/POST privateiables hash.
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 getParsedTags
List of parsed tags. Others are ignored.
Method getParser
Get the HTML parser to use. Can be overridden by setParser. Otherwise scans through the available parsers and uses the first one which is available.
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 getPerlMatchingFlags
Accessor for perl regex mode flags to use.
Method getPort
Accessor for port number.
Method getPublicNameFromIndex
Turns an internal array index into the frames list into a public name, or if none, then a one offset index.
Method getRaw
Accessor for raw text of either all the pages or the frame in focus.
Method getRaw
Accessor for raw header block.
Method getRaw
Accessor for raw text of page.
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 getRealm
Accessor for last Authentication realm. Only valid straight after a challenge (401).
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 getRequestLine
Creates the first line which is the actual request.
Method getRequestLine
Creates the first line which is the actual request.
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
Raw request that was sent down the wire.
Method getSent
Accessor for content so far.
Method getSent
Accessor for content so far.
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 getText
Accessor for content reduced to visible text. Acts like a text mode browser, normalising space and reducing images to their alt text.
Method getText
Accessor for plain text of page as a text browser would see it.
Method getText
Accessor for plain text of either all the pages or the frame in focus.
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
Accessor for last error.
Method getTransportError
Accessor for last error.
Method getTransportError
Accessor for last error.
Method getTransportError
Gets the last response error.
Method getUrl
Original resource name.
Method getUrl
Last fully qualified URL for current history position.
Method getUrl
Accessor for current URL of page or frame if focused.
Method getUrl
Resource name.
Method getUrl
WebTestCase::getUrl() in web_tester.php
Accessor for the currently selected URL.
Method getUrl
Resource name.
Method getUrl
Original resource name.
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 getUrlFromLink
Converts a link tag into a target URL.
Method getUrls
Accessor for a list of all links.
Method getUrls
Accessor for a list of all fixed links.
Method getUrls
Accessor for a list of all links in current page.
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 getValue
Accessor for value. A deleted cookie will have an empty string for this.
Method getValue
Accessor for currently set value or default if none.
Method getValue
Accessor for current selection value.
Method getValue
Accessor for current selected widget or false if none.
Method getValue
Accessor for current selected widget or false if none.
Method getValue
Accessor for current selection value.
Method getValue
Extracts current value from form.
Method getValue
Is this the value we are looking for?
Method getValue
Accessor for single value.
Method getValue
Is this the value we are looking for?
Method getWidgets
Accessor to widget set.
Method getX
Accessor for horizontal image coordinate.
Method getY
Accessor for vertical image coordinate.
h
top
Variable $host
SeleniumTestCase::$host in selenium.php
Selenium instantiation variables
Variable $html
SeleneseTestCase::$html in selenese_tester.php
Method handle
SimpleCollector::handle() in collector.php
This method determines what should be done with a given file and adds it via GroupTest::addTestFile() if necessary.
Method handle
Attempts to add files that match a given pattern.
Method hasFinal
SimpleReflection::hasFinal() in reflection_php5.php
Scans for final methods, as they screw up inherited mocks by not allowing you to override them.
Method help
SimpleCommandLineParser::help() in default_reporter.php
Output should be a help message. Disabled during XML mode.
Method htmlEntities
Character set adjusted entity conversion.
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 hasImage
Test to see if a form has an image control.
Method hasMoreThanOneLevel
Method hasNamedTagOnOpenTagStack
Test to see if there are any open tags awaiting closure that match the tag name.
Method hasSubmit
Test to see if a form has a submit button.
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.
Page http.php
http.php in http.php
Class HttpHeaderExpectation
HttpHeaderExpectation in web_tester.php
Test for a specific HTTP header within a header block.
i
top
Function initial_file
initial_file() in autorun.php
The first autorun file.
Method isA
SimpleTestCompatibility::isA() in compatibility.php
Test to see if an object is a member of a class hiearchy.
Method isArrayOfIdenticalTypes
Recursive type test for each element of an array.
Method isIdentical
Identity test. Drops back to equality + types for PHP5 objects as the === operator counts as the stronger reference constraint.
Method isIdenticalType
Recursive type test.
Method isReference
Test for two variables being aliases.
Variable $includes
CodeCoverage::$includes in coverage.php
Variable $instance
CodeCoverage::$instance in coverage.php
Method includeUntouchedFiles
Method isComplete
TreemapRecorder::isComplete() in treemap_recorder.php
is this test run finished?
Method isCoverageOn
Method isDirectoryIncluded
Method isFailed
TreemapNode::isFailed() in treemap_recorder.php
Is this node failed?
Method isFileIncluded
Method isLeaf
TreemapNode::isLeaf() in treemap_recorder.php
Is this node a leaf node?
Method isPackageClassAvailable
Method issetOr
CoverageUtils::issetOr() in coverage_utils.php
isset function with default value
Method isUp
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 isConstructor
MockGenerator::isConstructor() in mock_objects.php
Tests to see if a special PHP method is about to be stubbed by mistake.
Method isMatch
SimpleSignatureMap::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 ignore
SimpleTest::ignore() in simpletest.php
Sets the name of a test case to ignore, usually
Method ignoreException
Tells SimpleTest to ignore an upcoming exception as not relevant to the current test. It doesn't affect the test, whether thrown or not.
Method ignoreException
Adds an exception to the ignore list. This is the list of exceptions that when thrown do not affect the test.
Method ignoreParentsIfIgnored
Scans the now complete ignore list, and adds
Method inCli
Static check for running in the comand line.
Method invoke
Invokes a test method whilst trapping expected exceptions. Any left over unthrown exceptions are then reported as failures.
Method invoke
Invokes a test method and buffered with setUp() and tearDown() calls.
Method invoke
Invokes a test method and buffered with setUp() and tearDown() calls.
Method invoke
Invokes a test method and dispatches any untrapped errors. Called back from the visiting runner.
Page invoker.php
invoker.php in invoker.php
Method isAbstract
SimpleReflection::isAbstract() in reflection_php5.php
Trivially determines if the class is abstract.
Method isAbstractMethod
Checks whether a method is abstract or not.
Method isAbstractMethodInParents
Checks whether a method is abstract in all parents or not.
Class IsAExpectation
IsAExpectation in expectation.php
Tests either type or class name if it's an object.
Method isConstructor
SimpleReflection::isConstructor() in reflection_php5.php
Checks whether a method is the constructor.
Method isExpectation
Test to see if a value is an expectation object.
Method isExpected
Compares the expected exception with any in the queue. Issues a pass or fail and returns the state of the test.
Method isFlag
SimpleArguments::isFlag() in arguments.php
It's a flag if it starts with "-" or "--".
Method isHidden
Tests for hidden files so as to skip them. Currently only tests for Unix hidden files.
Method isIgnored
SimpleTest::isIgnored() in simpletest.php
Test to see if a test case is in the ignore list. Quite obviously the ignore list should be a separate object and will be one day.
Method isInterface
SimpleReflection::isInterface() in reflection_php5.php
Trivially determines if the class is an interface.
Method isInterfaceMethod
Checks to see if the method signature has to be tightly specified.
Method isLeaf
Test if tag is a leaf node with only text content.
Method isMatchingKeys
Compares two arrays to see if their key lists match.
Function IsNotCausedBySimpleTest
Certain messages can be caused by the unit tester itself.
Function IsNotTimeZoneNag
IsNotTimeZoneNag() in errors.php
Certain messages caused by PHP are just noise.
Method isOn
Is this group actually being tested?
Method isOptional
SimpleReflection::isOptional() in reflection_php5.php
Test of a reflection parameter being optional that works with early versions of PHP5.
Method isStaticMethod
SimpleReflection::isStaticMethod() in reflection_php5.php
Checks whether a method is static or not.
Method isTest
SimpleTestCase::isTest() in test_case.php
Tests to see if the method is a test that should be run. Currently any method that starts with 'test' is a candidate unless it is the constructor.
Method isTypeMatch
Tests to see if types match.
Method isXml
SimpleCommandLineParser::isXml() in default_reporter.php
Output should be XML or not.
Method ignore
Incoming data to be ignored.
Method ignoreCookies
Switches off cookie sending and recieving.
Method ignoreCookies
Switches off cookie sending and recieving.
Method ignoreCookies
Switches off cookie sending and recieving.
Method ignoreErrors
WebTestCase::ignoreErrors() in web_tester.php
Skips errors for the next request only. You might want to confirm that a page is unreachable for example.
Method ignoreFrames
Disables frames support. Frames will not be fetched and the frameset page will be used instead.
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 invokeParser
SimpleLexer::invokeParser() in php_parser.php
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 isChallenge
Test to see if the response is an authentication challenge.
Method isClickable
Tests to see if a click target exists.
Method isEmpty
Test for no entries yet.
Method isError
Test for an outstanding error.
Method isExpired
Test to see if cookie is expired against the cookie format time or timestamp.
Method isFormElement
Tests to see if a tag is a possible form element.
Method isId
Test to see if id attribute matches.
Method isId
Scans the widgets for one with the appropriate ID field.
Method isImage
Tests to see if an image exists with this title or alt text.
Method isIn
SimpleRealm::isIn() in authentication.php
Tests to see if one string is a substring of another.
Method isKey
Is this the value we are looking for?
Method isKey
Is this the value we are looking for?
Method isLabel
Test for a label match when searching.
Method isLabel
Test for a label match when searching.
Method isLabel
Scans the widgets for one with the appropriate attached label.
Method isLabel
Test for a label match when searching.
Method isLabel
Reads external or internal label.
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
SimpleById::isMatch() in selector.php
Comparison. Compares id attribute of widget.
Method isMatch
Tests cookie for matching against search criteria.
Method isMatch
Comparison. Compares visible text of widget or related label or name.
Method isMatch
SimpleByLabel::isMatch() in selector.php
Comparison. Compares visible text of widget or related label.
Method isMatch
SimpleByName::isMatch() in selector.php
Compares with name attribute of widget.
Method isModeEnd
SimpleLexer::isModeEnd() in php_parser.php
Tests to see if the new mode is actually to leave the current mode and pop an item from the matching mode stack.
Method isOnlyAscii
Tests each character is in the range 0-127.
Method isOpen
Accessor for socket open state.
Method isOpen
Accessor for socket open state.
Method isPrivateContent
The content of textarea is not part of the page.
Method isPrivateContent
The current tag should not swallow all content for itself as it's searchable page content. Private content tags are usually widgets that contain default values.
Method isPrivateContent
The content of options is not part of the page.
Method isRedirect
Test to see if the response is a valid redirect.
Method isRelativePath
Simple test to see if a path part is relative.
Method isSecure
Accessor for the secure flag.
Method isSingle
Tests for valid field comparisons with a single option.
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 isSubmit
Tests to see if a submit button exists with this label.
Method isTooManyRedirects
Test to see if the redirect limit is passed.
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 isValue
Test to see if a value matches the option.
Method isWithin
SimpleRealm::isWithin() in authentication.php
Test to see if the URL is within the directory tree of the realm.
j
top
Page junit_xml_reporter.php
junit_xml_reporter.php in junit_xml_reporter.php
Page jquery.php
jquery.php in jquery.php
Class JqueryTreemapReporter
JqueryTreemapReporter in jquery.php
outputs unordered list representing treemap of test report, and attaches jQuery Treemap to render results.
Class JUnitXMLReporter
JUnitXMLReporter in junit_xml_reporter.php
Reporter which outputs test results in a format compatible with JUnit / Maven XML output. Can be used for integrating test suite with continuous integration servers such as Atlassian Bamboo.
k
top
Method keysToLowerCase
Make the keys lower case for case insensitive look-ups.
l
top
Variable $log
CodeCoverage::$log in coverage.php
Variable $logMessages
SeleneseTestCase::$logMessages in selenese_tester.php
Method launch
SeleneseTestCase::launch() in selenese_tester.php
launch
Method launchFile
SeleneseTestCase::launchFile() in selenese_tester.php
launchFile
Method launchPhpFile
SeleneseTestCase::launchPhpFile() in selenese_tester.php
launchPhpFile
Method lineCoverage
CoverageCalculator::lineCoverage() in coverage_calculator.php
Method lineCoverageCodeToStyleClass
Method loadDom
DomTestCase::loadDom() in dom_tester.php
Method ltrim
CoverageDataHandler::ltrim() in coverage_data_handler.php
Method load
SimpleFileLoader::load() in test_case.php
Builds a test suite from a library of test cases.
Method leave
SimpleStateStack::leave() in php_parser.php
Leaves the current state and reverts to the previous one.
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.
m
top
Variable $maxDirectoryDepth
Variable $message
SimpleResult::$message in recorder.php
Method mkdir
CoverageUtils::mkdir() in coverage_utils.php
Class MaximumCallCountExpectation
MaximumCallCountExpectation in mock_objects.php
Confirms that the number of calls on a method is as expected.
Class MinimumCallCountExpectation
MinimumCallCountExpectation in mock_objects.php
Confirms that the number of calls on a method is as expected.
Class Mock
Mock in mock_objects.php
Static methods only service class for code generation of mock objects.
Class MockGenerator
MockGenerator in mock_objects.php
Service class for code generation of mock objects.
Constant MOCK_ANYTHING
MOCK_ANYTHING in mock_objects.php
Default character simpletest will substitute for any value
Page mock_objects.php
mock_objects.php in mock_objects.php
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 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 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 makeFileVariablesGlobal
Imports new variables into the global namespace.
Method matchesTestCase
Compares criteria to actual the case/group name.
Class MemberExpectation
MemberExpectation in expectation.php
Compares an object member's value even if private.
Class MethodExistsExpectation
MethodExistsExpectation in expectation.php
Tests for existance of a method in an object
Class MultipleReporter
MultipleReporter in scorer.php
For sending messages to multiple reporters at the same time.
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 makeArray
Converts false or string into array. The opposite of the coercian method.
Method mapHandler
SimpleLexer::mapHandler() in php_parser.php
Adds a mapping from a mode to another handler.
Method match
ParallelRegex::match() in php_parser.php
Attempts to match all patterns at once against a string.
Method merge
SimpleEncoding::merge() in encoding.php
Adds a set of parameters to this query.
Class MultipleSelectionTag
Drop down widget.
n
top
Variable $newInstanceEachTest
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.
Class NoPatternExpectation
NoPatternExpectation in expectation.php
Fail if a pattern is detected within the comparison.
Method noSkips
SimpleCommandLineParser::noSkips() in default_reporter.php
Output should suppress skip messages.
Class NoSkipsReporter
NoSkipsReporter in reporter.php
Suppresses skip messages.
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.
Class NoTextExpectation
NoTextExpectation in web_tester.php
Fail if a substring is detected within the comparison text.
Class NotIdenticalExpectation
NotIdenticalExpectation in expectation.php
Test for non-identity.
Class NoHttpHeaderExpectation
NoHttpHeaderExpectation in web_tester.php
Test for a specific HTTP header within a header block that should not be found.
Method noResponse
Sets up a missing response.
Method normalise
Turns HTML into text browser visible text. Images are converted to their alt text and tags are supressed.
Method normaliseHeader
Removes whitespace at ends and case variations.
Method normalisePath
Replaces . and .. sections of the path.
o
top
Method overrideMethods
Creates source code to override a list of methods with mock versions.
Method off
SelectiveReporter::off() in reporter.php
Switch off testing for the group or subgroup.
Method on
SelectiveReporter::on() in reporter.php
Switch on testing for the group or subgroup.
Method onlyParents
SimpleReflection::onlyParents() in reflection_php5.php
Whittles a list of interfaces down to only the necessary top level parents.
Method outputScript
WebUnitReporter::outputScript() in webunit_reporter.php
Returns the script passed in wrapped in script tags.
Class OutsideMarginExpectation
OutsideMarginExpectation in expectation.php
Test for being outside of a range.
Method outsideMessage
Creates a the message for being within the range.
Method overlayMessage
Overlays the generated message onto the stored user message. An additional message can be interjected.
Method overlayMessage
Overlays the generated message onto the stored user message. An additional message can be interjected.
Method openFile
Actually opens the low level socket.
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.
p
top
Method paintCaseEnd
Drops the name.
Method paintCaseStart
Stashes the test case name for the later failure message.
Method paintError
Stash the first error. Clicking the test item goes to first error.
Method paintException
Stash the first exception. Clicking the test item goes to first message.
Method paintFail
Stash the first failing item. Clicking the test item goes to first fail.
Method paintFooter
We don't display any special footer.
Method paintGroupEnd
Paints coverage report if enabled.
Method paintGroupStart
Stashes the name of the test suite. Starts test coverage if enabled.
Method paintHeader
We don't display any special header.
Method paintMethodEnd
Only send one message if the test passes, after that suppress the message.
Method paintMethodStart
Paints nothing at the start of a test method, but stash the method name for later.
Method paintPass
Stash the first passing item. Clicking the test item goes to first pass.
Variable $parsed_table
SeleneseTestCase::$parsed_table in selenese_tester.php
Variable $port
SeleniumTestCase::$port in selenium.php
Selenium instantiation variables
Page php-coverage-close.php
php-coverage-close.php in php-coverage-close.php
Page php-coverage-open.php
php-coverage-open.php in php-coverage-open.php
Page php-coverage-report.php
php-coverage-report.php in php-coverage-report.php
Page pear_test_case.php
pear_test_case.php in pear_test_case.php
Method paintCaseEnd
TreemapRecorder::paintCaseEnd() in treemap_recorder.php
acceptor for end of test case
Method paintCaseEnd
Method paintCaseEnd
JUnitXMLReporter::paintCaseEnd() in junit_xml_reporter.php
Method paintCaseStart
TreemapRecorder::paintCaseStart() in treemap_recorder.php
acceptor for start of test case node
Method paintCaseStart
Method paintCaseStart
JUnitXMLReporter::paintCaseStart() in junit_xml_reporter.php
Method paintException
JUnitXMLReporter::paintException() in junit_xml_reporter.php
Method paintException
Stashes the exception as a SimpleResultOfException for later retrieval.
Method paintFail
TreemapRecorder::paintFail() in treemap_recorder.php
acceptor for failing assertion node
Method paintFail
Recorder::paintFail() in recorder.php
Stashes the fail as a SimpleResultOfFail for later retrieval.
Method paintFail
Method paintFail
JUnitXMLReporter::paintFail() in junit_xml_reporter.php
Method paintFooter
TreemapReporter::paintFooter() in treemap_reporter.php
paints wrapping treemap divs
Method paintFooter
JUnitXMLReporter::paintFooter() in junit_xml_reporter.php
Paints the end of the test with a summary of the passes and failures.
Method paintFooter
ColorTextReporter::paintFooter() in colortext_reporter.php
Capture the attempt to display the final test results and insert the ANSI-color codes in place.
Method paintFormattedMessage
Method paintGroupEnd
TreemapReporter::paintGroupEnd() in treemap_reporter.php
Method paintGroupEnd
TreemapRecorder::paintGroupEnd() in treemap_recorder.php
acceptor for end of test group. final group pops the collected treemap nodes and assigns it to the internal graph property.
Method paintGroupStart
TreemapRecorder::paintGroupStart() in treemap_recorder.php
acceptor for start of test group node
Method paintHeader
TreemapRecorder::paintHeader() in treemap_recorder.php
stashes the title of the test
Method paintHeader
JUnitXMLReporter::paintHeader() in junit_xml_reporter.php
Method paintMethodEnd
TreemapRecorder::paintMethodEnd() in treemap_recorder.php
acceptor for end of method node
Method paintMethodEnd
Method paintMethodEnd
JUnitXMLReporter::paintMethodEnd() in junit_xml_reporter.php
Method paintMethodStart
Method paintMethodStart
TreemapRecorder::paintMethodStart() in treemap_recorder.php
acceptor for start of test method node
Method paintMethodStart
JUnitXMLReporter::paintMethodStart() in junit_xml_reporter.php
Method paintPass
TreemapRecorder::paintPass() in treemap_recorder.php
acceptor for passing assertion node
Method paintPass
Recorder::paintPass() in recorder.php
Stashes the pass as a SimpleResultOfPass for later retrieval.
Method paintRectangleEnd
Method paintRectangleEnd
TreemapReporter::paintRectangleEnd() in treemap_reporter.php
paints end tag for test node div
Method paintRectangleStart
paints start tag for div representing a test node
Method paintRectangleStart
Method paintResultsFooter
places a clearing break below the end of the test nodes
Method paintResultsFooter
Method paintResultsHeader
paints the HTML header and sets up results
Method paintResultsHeader
Method parse
SeleneseTestCase::parse() in selenese_tester.php
parse
Method parseArguments
CoverageUtils::parseArguments() in coverage_utils.php
Parses simple parameters from CLI.
Method peek
TreemapStack::peek() in treemap_recorder.php
Take a peek at the top element on the stack.
Method percentCoverageByFile
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 pop
TreemapStack::pop() in treemap_recorder.php
Pops an element off the stack.
Method push
TreemapStack::push() in treemap_recorder.php
Push an element onto the stack.
Method putChild
TreemapNode::putChild() in treemap_recorder.php
Add an edge to a child node
Class ParametersExpectation
ParametersExpectation in mock_objects.php
Parameter comparison assertion.
Variable $path
WebUnitReporter::$path in webunit_reporter.php
Method paintCaseEnd
Paints the end of a test case.
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 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
WebUnitReporter::paintCaseStart() in webunit_reporter.php
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 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
Chains to the wrapped reporter.
Method paintError
Deals with PHP 4 throwing an error.
Method paintError
Paints error as XML.
Method paintError
Chains to the wrapped reporter.
Method paintError
Paints a PHP error or exception.
Method paintError
Paints a PHP error.
Method paintException
Chains to the wrapped reporter.
Method paintException
WebUnitReporter::paintException() in webunit_reporter.php
Paints a PHP error or exception.
Method paintException
Paints a PHP error or exception.
Method paintException
Paints a PHP exception.
Method paintException
Paints exception as XML.
Method paintException
Deals with PHP 5 throwing an exception.
Method paintException
Chains to the wrapped reporter.
Method paintFail
Increments the fail count.
Method paintFail
Chains to the wrapped reporter.
Method paintFail
Paints failure as XML.
Method paintFail
WebUnitReporter::paintFail() in webunit_reporter.php
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
Method paintFail
Paints the test failure as a stack trace.
Method paintFail
Chains to the wrapped reporter.
Method paintFail
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
Method paintFooter
WebUnitReporter::paintFooter() in webunit_reporter.php
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 end of the test with a summary of the passes and failures.
Method paintFooter
Paints the test document footer.
Method paintFormattedMessage
Chains to the wrapped reporter.
Method paintFormattedMessage
Chains to the wrapped reporter.
Method paintFormattedMessage
Paints a formatted ASCII message such as a privateiable dump.
Method paintFormattedMessage
Paints formatted text such as dumped privateiables.
Method paintFormattedMessage
Paints formatted text such as dumped privateiables.
Method paintFormattedMessage
Paints a formatted ASCII message such as a privateiable dump.
Method paintFormattedMessage
Paints formatted text such as dumped variables.
Method paintGroupEnd
Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
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.
Method paintGroupEnd
Paints the end of a group test.
Method paintGroupEnd
Paints the end of a group test.
Method paintGroupStart
Paints the start of a group test.
Method paintGroupStart
Paints the start of a group test.
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 paintGroupStart
Paints the start of a group test.
Method paintGroupStart
WebUnitReporter::paintGroupStart() in webunit_reporter.php
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 paintHeader
Paints the top of the web page setting the title to the name of the starting test.
Method paintHeader
WebUnitReporter::paintHeader() in webunit_reporter.php
Paints the top of the web page setting the title to the name of the starting test.
Method paintHeader
Paints the test document header.
Method paintHeader
Paints the title only.
Method paintHeader
Paints the test document header.
Method paintMessage
Chains to the wrapped reporter.
Method paintMessage
Chains to the wrapped reporter.
Method paintMessage
Paints a simple supplementary message.
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.
Method paintMethodEnd
WebUnitReporter::paintMethodEnd() in webunit_reporter.php
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
WebUnitReporter::paintMethodStart() in webunit_reporter.php
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 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
Paints pass as XML.
Method paintPass
Chains to the wrapped reporter.
Method paintPass
Chains to the wrapped reporter.
Method paintSignal
Serialises the event object.
Method paintSignal
Chains to the wrapped reporter.
Method paintSignal
Chains to the wrapped reporter.
Method paintSignal
By default just ignores user generated events.
Method paintSkip
Prints the message for skipping tests.
Method paintSkip
Prints the message for skipping tests.
Method paintSkip
Does nothing.
Method paintSkip
Paints the skipping message and tag.
Method paintSkip
Prints the message for skipping tests.
Method paintSkip
Prints the message for skipping tests.
Method paintSkip
Prints the message for skipping tests.
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
Parses a block of XML sending the results to the listener.
Method pass
SimpleTestCase::pass() in test_case.php
Class PatternExpectation
PatternExpectation in expectation.php
Test for a pattern using Perl regex rules.
Method popNestingTag
Ends a nesting tag.
Method prefer
SimpleTest::prefer() in simpletest.php
Puts the object to the global pool of 'preferred' objects which can be retrieved with SimpleTest :: preferred() method.
Method preferred
SimpleTest::preferred() in simpletest.php
Retrieves 'preferred' objects from global pool. Class filter
Method pushNestingTag
Opens a new test nesting level.
Variable $path
SimpleUrl::$path in url.php
Page page.php
page.php in page.php
Class ParallelRegex
ParallelRegex in php_parser.php
Compounded regular expression. Any of the contained patterns could match and when one does, it's label is returned.
Method parse
SimpleLexer::parse() in php_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 parse
Reads the raw content the page using HTML Tidy.
Method parse
SimpleBrowser::parse() in browser.php
Parses the raw content into a page. Will load further frame pages unless frames are disabled.
Method parse
Runs the content through the lexer which should call back to the acceptors.
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.
Page php_parser.php
php_parser.php in php_parser.php
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.
Method put
WebTestCase::put() in web_tester.php
Fetches a page by PUT into the page buffer.
Method put
SimpleBrowser::put() in browser.php
Fetches the page content with a PUT request.
r
top
Function run_local_tests
run_local_tests() in autorun.php
run all recent test cases if no test has so far been run. Uses the DefaultReporter which can have it's output controlled with SimpleTest::prefer().
Variable $reportDir
CoverageReporter::$reportDir in coverage_reporter.php
Variable $results
Recorder::$results in recorder.php
Variable $root
CodeCoverage::$root in coverage.php
Page remote-control.php
remote-control.php in remote-control.php
Method read
CoverageDataHandler::read() in coverage_data_handler.php
Method readFile
CoverageDataHandler::readFile() in coverage_data_handler.php
Method readSettings
Method readUntouchedFiles
CoverageDataHandler::readUntouchedFiles() in coverage_data_handler.php
Class Recorder
Recorder in recorder.php
Array-based test recorder. Returns an array with timestamp, status, test name and message for each pass and failure.
Page recorder.php
recorder.php in recorder.php
Method reportFilename
CoverageReporter::reportFilename() in coverage_reporter.php
Method reportFilename
CoverageCalculator::reportFilename() in coverage_calculator.php
Method requireSqlite
CoverageUtils::requireSqlite() in coverage_utils.php
Method resetLog
CodeCoverage::resetLog() in coverage.php
Method register
SimpleCallSchedule::register() in mock_objects.php
Stores an action against a signature that will always fire unless masked by a time specific one.
Method registerAt
Stores an action against a signature that will fire at a specific time in the future.
Method renderArguments
Renders the argument list as a string for messages.
Method replaceWildcards
SimpleMock::replaceWildcards() in mock_objects.php
Replaces wildcard matches with wildcard expectations in the argument list.
Method replaceWildcards
Replaces wildcard matches with wildcard expectations in the argument list.
Method respond
SimpleCallSchedule::respond() in mock_objects.php
Actually carry out the action stored previously, if the parameters match.
Method returns
SimpleMock::returns() in mock_objects.php
Sets a return for a parameter list that will be passed on by all calls to this method that match.
Method returnsAt
SimpleMock::returnsAt() in mock_objects.php
Sets a return for a parameter list that will be passed only when the required call count is reached.
Method returnsByReference
Sets a return for a parameter list that will be passed by reference for all calls.
Method returnsByReferenceAt
Sets a return for a parameter list that will be passed by value only when the required call count is reached.
Method returnsByValue
SimpleMock::returnsByValue() in mock_objects.php
Sets a return for a parameter list that will be passed by value for all calls to this method.
Method returnsByValueAt
SimpleMock::returnsByValueAt() 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.
Variable $reporter
Variable $reporter
SimpleTestCase::$reporter in test_case.php
Class ReferenceExpectation
ReferenceExpectation in expectation.php
Test for reference.
Page reflection_php4.php
reflection_php4.php in reflection_php4.php
Page reflection_php5.php
reflection_php5.php in reflection_php5.php
Page remote.php
remote.php in remote.php
Class RemoteTestCase
RemoteTestCase in remote.php
Runs an XML formated test on a remote server.
Method removeTrailingSlash
Strips off any kind of slash at the end so as to normalise the path.
Method render
SimpleHelp::render() in arguments.php
Generates the help text.
Page reporter.php
reporter.php in reporter.php
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
DetachedTestCase::run() in detached.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
BadTestSuite::run() in test_case.php
Sends a single error to the reporter.
Method run
SimpleTestCase::run() in test_case.php
Uses reflection to run every method within itself starting with the string "test" unless a method is specified.
Method run
TestSuite::run() in test_case.php
Invokes run() on all of the held test cases, instantiating them if necessary.
Method read
Reads data from the socket. The error suppresion is a workaround for PHP4 always throwing a warning with a secure socket.
Method read
SimpleSocket::read() in socket.php
Reads data from the socket. The error suppresion is a workaround for PHP4 always throwing a warning with a secure socket.
Method readAll
Reads the whole of the socket output into a single string.
Method readCookiesFromJar
Reads all the relevant cookies from the cookie jar.
Method recordEntry
Adds a successfully fetched page to the history.
Method reduce
SimpleLexer::reduce() in php_parser.php
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 resetValue
Resets the form element value back to the default.
Method restart
WebTestCase::restart() in web_tester.php
Simulates the closing and reopening of the browser.
Method restart
SimpleUserAgent::restart() in user_agent.php
Removes expired and temporary cookies as if the browser was closed and re-opened. Authorisation has to be obtained again as well.
Method restart
Removes expired and temporary cookies as if the browser was closed and re-opened.
Method restartSession
Starts with no realms set up.
Method restartSession
Removes expired and temporary cookies as if the browser was closed and re-opened.
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.
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 rewriteArrayWithMultipleLevels
s
top
Method setTimeout
Sets a socket timeout for each chunk.
Class SimpleTestCompatibility
SimpleTestCompatibility in compatibility.php
Static methods for compatibility between different PHP versions.
Function simpletest_autorun
simpletest_autorun() in autorun.php
Exit handler to run all recent test cases and exit system if in CLI
Variable $selector
Variable $selenium
SeleneseTestCase::$selenium in selenese_tester.php
Variable $selenium
Variable $settingsFile
Page selenese_tester.php
selenese_tester.php in selenese_tester.php
Page selenium.php
selenium.php in selenium.php
Class SeleneseTestCase
SeleneseTestCase in selenese_tester.php
SeleneseTestCase
Class SeleniumTestCase
SeleniumTestCase in selenium.php
Provides test case wrapper to a Selenium remote control instance.
Method sessionIdParser
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.
Method setSettings
Method setUp
Class SimpleResult
SimpleResult in recorder.php
A single test result.
Class SimpleResultOfException
SimpleResultOfException in recorder.php
A single exception captured for later.
Class SimpleResultOfFail
SimpleResultOfFail in recorder.php
A single failure captured for later.
Class SimpleResultOfPass
SimpleResultOfPass in recorder.php
A single pass captured for later.
Class SimpleSeleniumRemoteControl
SimpleSeleniumRemoteControl in remote-control.php
Based on the Domain51_Testing_Selenium class available at http://domain51.googlecode.com/svn/Domain51/trunk/
Method size
TreemapStack::size() in treemap_recorder.php
Number of elements in the stack.
Method start
Method startCoverage
Method stop
Method stopCoverage
Function stop_coverage
stop_coverage() in autocoverage.php
Method setReturnReference
Method setReturnReferenceAt
Method setReturnValue
SimpleMock::setReturnValue() in mock_objects.php
Method setReturnValueAt
SimpleMock::setReturnValueAt() in mock_objects.php
Class SimpleByReference
SimpleByReference in mock_objects.php
A type of SimpleMethodAction.
Class SimpleByValue
SimpleByValue in mock_objects.php
A type of SimpleMethodAction.
Class SimpleCallSchedule
SimpleCallSchedule in mock_objects.php
Allows setting of actions against call signatures either at a specific time, or always. Specific time settings trump lasting ones, otherwise the most recently added will mask an earlier match.
Class SimpleErrorThrower
SimpleErrorThrower in mock_objects.php
A type of SimpleMethodAction.
Class SimpleMock
SimpleMock in mock_objects.php
A base class or delegate that extends an
Method SimpleMock
SimpleMock::SimpleMock() in mock_objects.php
Creates an empty action list and expectation list.
Class SimpleReturn
SimpleReturn in mock_objects.php
A type of SimpleMethodAction.
Class SimpleSignatureMap
SimpleSignatureMap in mock_objects.php
Retrieves method actions by searching the parameter lists until an expected match is found.
Class SimpleThrower
SimpleThrower in mock_objects.php
A type of SimpleMethodAction.
Page simple_coverage_writer.php
simple_coverage_writer.php in simple_coverage_writer.php
Page scorer.php
scorer.php in scorer.php
Method scrapeClassesFromFile
Lookup classnames from file contents, in case the file may have been included before.
Class SelectiveReporter
SelectiveReporter in reporter.php
Runs just a single test group, a single case or even a single test within that case.
Method selectRunnableTests
Calculates the incoming test cases. Skips abstract and ignored classes.
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 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 setMockBaseClass
Method setName
Sets the test case/method name.
Method setParsers
SimpleTest::setParsers() in simpletest.php
Set the list of HTML parsers to attempt to use by default.
Method setReporter
Sets the current reporter. This global instance can be used by the mock objects to send messages.
Method setTest
Sets the current test case instance. This global instance can be used by the mock objects to send message to the test cases.
Method setTestCase
Sets the currently running test case.
Method setUp
SimpleTestCase::setUp() in test_case.php
Sets up unit test wide variables at the start of each test method. To be overridden in actual user test cases.
Class ShellTestCase
ShellTestCase in shell_tester.php
Test case for testing of command line scripts and utilities. Usually scripts that are external to the PHP code, but support it in some way.
Page shell_tester.php
shell_tester.php in shell_tester.php
Method shouldInvoke
Veto everything that doesn't match the method wanted.
Method shouldInvoke
The reporter has a veto on what should be run.
Method shouldInvoke
The reporter has a veto on what should be run.
Method shouldInvoke
The reporter has a veto on what should be run.
Method shouldRunTest
Compares criteria to actual the test name. If no name was specified at the beginning, then all tests can run.
Method shouldSkip
Accessor for the private variable $_shoud_skip
Method signal
SimpleTestCase::signal() in test_case.php
For user defined expansion of the available messages.
Class SimpleArguments
SimpleArguments in arguments.php
Parses the command line arguments.
Class SimpleCollector
SimpleCollector in collector.php
The basic collector for GroupTest
Class SimpleCommandLineParser
SimpleCommandLineParser in default_reporter.php
Parser for command line arguments. Extracts the a specific test to run and engages XML reporting when necessary.
Class SimpleCoverageWriter
SimpleCoverageWriter in simple_coverage_writer.php
SimpleCoverageWriter class
Class SimpleDumper
SimpleDumper in dumper.php
Displays variables as text and does diffs.
Class SimpleErrorQueue
SimpleErrorQueue in errors.php
Error queue used to record trapped errors.
Class SimpleErrorTrappingInvoker
Extension that traps errors into an error queue.
Class SimpleExceptionTrap
SimpleExceptionTrap in exceptions.php
Stores expected exceptions for when they get thrown. Saves the irritating try...catch block.
Class SimpleExceptionTrappingInvoker
Extension that traps exceptions and turns them into an error message. PHP5 only.
Class SimpleExpectation
SimpleExpectation in expectation.php
Assertion that can display failure information.
Class SimpleFileLoader
SimpleFileLoader in test_case.php
Helps to extract test cases automatically from a file.
Class SimpleHelp
SimpleHelp in arguments.php
Renders the help for the command line arguments.
Class SimpleInvoker
SimpleInvoker in invoker.php
This is called by the class runner to run a single test method. Will also run the setUp() and tearDown() methods.
Class SimpleInvokerDecorator
SimpleInvokerDecorator in invoker.php
Do nothing decorator. Just passes the invocation straight through.
Class SimplePatternCollector
SimplePatternCollector in collector.php
An extension to SimpleCollector that only adds files matching a given pattern.
Class SimpleReflection
SimpleReflection in reflection_php5.php
Version specific reflection API.
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.
Class SimpleReporterDecorator
For modifying the behaviour of the visual reporters.
Class SimpleScorer
SimpleScorer in scorer.php
Can receive test events and display them. Display is achieved by making display methods available and visiting the incoming event.
Class SimpleShell
SimpleShell in shell_tester.php
Wrapper for exec() functionality.
Class SimpleStackTrace
SimpleStackTrace in simpletest.php
Interrogates the stack trace to recover the failure point.
Class SimpleTest
SimpleTest in simpletest.php
Registry and test context. Includes a few global options that I'm slowly getting rid of.
Page simpletest.php
simpletest.php in simpletest.php
Class SimpleTestCase
SimpleTestCase in test_case.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.
Class SimpleTestContext
SimpleTestContext in simpletest.php
Container for all components for a specific
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.
Class SimpleTestXmlParser
Parser for importing the output of the XmlReporter.
Method SimpleTestXmlParser
Loads a listener with the SimpleReporter interface.
Constant SIMPLETEST_WEBUNIT_CSS
SIMPLETEST_WEBUNIT_CSS in webunit_reporter.php
Not used yet.
Constant SIMPLETEST_WEBUNIT_HEAD
SIMPLETEST_WEBUNIT_HEAD in webunit_reporter.php
Main sprintf template for the start of the page.
Constant SIMPLE_TEST
SIMPLE_TEST in invoker.php
Includes SimpleTest files and defined the root constant for dependent libraries.
Method skip
SimpleTestCase::skip() in test_case.php
This is a placeholder for skipping tests. In this method you place skipIf() and skipUnless() calls to set the skipping state.
Method skipIf
SimpleTestCase::skipIf() in test_case.php
Will issue a message to the reporter and tell the test case to skip if the incoming flag is true.
Method skipUnless
Will issue a message to the reporter and tell the test case to skip if the incoming flag is false.
Method startElement
Handler for start of event element.
Method stringDiffersAt
Find the first character position that differs in two strings by binary chop.
Method suppressSpurious
The SPL library has problems with the Reflection library. In particular, you can get extra characters in parameter names :(.
Method selectAsPairs
Uses a URL to sift relevant cookies by host and path. Results are list of strings of form "name=value".
Page selector.php
selector.php in selector.php
Method setAttribute
Sets an attribute.
Method setBase
Sets the base url for the page.
Method setBrowser
WebTestCase::setBrowser() in web_tester.php
Gets a current browser reference for setting special expectations or for detailed examination of page fetches.
Method setConnectionTimeout
Sets the socket timeout for opening a connection and receiving at least one byte of information.
Method setConnectionTimeout
Sets the socket timeout for opening a connection.
Method setConnectionTimeout
Sets the socket timeout for opening a connection.
Method setCookie
Sets an additional cookie. If a cookie has the same name and path it is replaced.
Method setCookie
WebTestCase::setCookie() in web_tester.php
Sets a cookie in the current browser.
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 setCoordinates
Sets image coordinates. Set to false to clear them.
Method setDefaultTarget
Sets the frame target within a frameset.
Method setEncodingClass
Creates the request packet to be sent by the form.
Method setError
Sets the internal error.
Method setField
Sets all form fields with that name.
Method setField
WebTestCase::setField() in web_tester.php
Sets all form fields with that label, or name if there is no label attached.
Method setField
Sets a widget value within the form.
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 setFieldById
Sets all form fields with that id attribute.
Method setFieldById
WebTestCase::setFieldById() in web_tester.php
Sets all form fields with that id.
Method setFieldByName
Sets all form fields with that name.
Method setFieldByName
Sets all form fields with that name. Will use label if one is available (not yet implemented).
Method setForms
Set the forms
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. If already focused and the target frame also has frames, then the nested frame will be focused.
Method setFrameFocus
Sets the focus by name. Always fails for a leaf page.
Method setFrameFocus
Sets the focus by name.
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 setFrames
TODO: write docs
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 setLabel
Allows setting of a label externally, say by a label tag.
Method setMaximumNestedFrames
Sets the maximum number of nesting of framed pages within a framed page to prevent loops.
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 setParser
WebTestCase::setParser() in web_tester.php
Sets the HTML parser to use within this browser.
Method setParser
Override the default HTML parser, allowing parsers to be plugged in.
Method setTarget
Attaches a frame target.
Method setTitle
Sets the title tag contents.
Method setValue
Accessor for current set values.
Method setValue
Disables the setting of the button value.
Method setValue
Can only set allowed values. Any illegal value will result in a failure, but all correct values will be set.
Method setValue
The only allowed value in the one in the "value" attribute. The default for this attribute is "on". If this widget is set to true, then the usual value will be taken.
Method setValue
Disables the setting of the button value.
Method setValue
Can only set allowed values.
Method setValue
Does nothing.
Method setValue
Each tag is tried in turn until one is successfully set. The others will be unchecked if successful.
Method setValue
The only allowed value sn the one in the "value" attribute.
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
Disables the setting of the button value.
Method setWidget
Sets the widget into the form, grouping radio buttons if any.
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.
Method showText
WebTestCase::showText() in web_tester.php
Dumps the visible text only for debugging.
Class SimpleAnchorTag
SimpleAnchorTag in tag.php
Link.
Class SimpleAttachment
SimpleAttachment in encoding.php
Single post parameter.
Method SimpleAuthenticator
Clears the realms.
Class SimpleAuthenticator
SimpleAuthenticator in authentication.php
Manages security realms.
Class SimpleBaseTag
SimpleBaseTag in tag.php
Base url.
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.
Class SimpleBrowserHistory
SimpleBrowserHistory in browser.php
Browser history list.
Class SimpleButtonTag
SimpleButtonTag in tag.php
Submit button as button tag.
Class SimpleById
SimpleById in selector.php
Used to extract form elements for testing against.
Class SimpleByLabel
SimpleByLabel in selector.php
Used to extract form elements for testing against.
Class SimpleByLabelOrName
SimpleByLabelOrName in selector.php
Used to extract form elements for testing against.
Class SimpleByName
SimpleByName in selector.php
Used to extract form elements for testing against.
Class SimpleCheckboxGroup
A group of tags with the same name within a form.
Class SimpleCheckboxTag
Checkbox widget.
Class SimpleCookie
SimpleCookie in cookies.php
Cookie data holder. Cookie rules are full of pretty arbitary stuff. I have used...
Class SimpleCookieJar
SimpleCookieJar in cookies.php
Repository for cookies. This stuff is a tiny bit browser dependent.
Class SimpleDeleteEncoding
SimpleDeleteEncoding in encoding.php
Bundle of URL parameters for a DELETE request.
Class SimpleEncodedPair
SimpleEncodedPair in encoding.php
Single post parameter.
Class SimpleEncoding
SimpleEncoding in encoding.php
Bundle of GET/POST parameters. Can include repeated parameters.
Class SimpleEntityEncoding
SimpleEntityEncoding in encoding.php
Bundles an entity-body for transporting a raw content payload with the request.
Class SimpleFileSocket
SimpleFileSocket in socket.php
Class SimpleForm
SimpleForm in form.php
Form tag class to hold widget values.
Class SimpleFormTag
SimpleFormTag in tag.php
Tag to aid parsing the form.
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.
Class SimpleFrameTag
SimpleFrameTag in tag.php
Tag to aid parsing the frames in a page.
Class SimpleGetEncoding
SimpleGetEncoding in encoding.php
Bundle of GET parameters. Can include repeated parameters.
Class SimpleHeadEncoding
SimpleHeadEncoding in encoding.php
Bundle of URL parameters for a HEAD request.
Class SimpleHtmlLexer
SimpleHtmlLexer in php_parser.php
Breaks HTML into SAX events.
Class SimpleHtmlSaxParser
SimpleHtmlSaxParser in php_parser.php
Converts HTML tokens into selected SAX events.
Class SimpleHttpHeaders
SimpleHttpHeaders in http.php
Collection of header lines in the response.
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.
Class SimpleImageSubmitTag
Image button as input tag.
Class SimpleLabelTag
SimpleLabelTag in tag.php
Tag to keep track of labels.
Class SimpleLexer
SimpleLexer in php_parser.php
Accepts text and breaks it into tokens.
Class SimpleMultipartEncoding
SimpleMultipartEncoding in encoding.php
Bundle of POST parameters in the multipart format. Can include file uploads.
Class SimpleOptionTag
SimpleOptionTag in tag.php
Option for selection field.
Class SimplePage
SimplePage in page.php
A wrapper for a web page.
Class SimplePhpPageBuilder
SimplePhpPageBuilder in php_parser.php
SAX event handler. Maintains a list of open tags and dispatches them as they close.
Class SimplePostEncoding
SimplePostEncoding in encoding.php
Bundle of POST parameters. Can include repeated parameters.
Class SimpleProxyRoute
SimpleProxyRoute in http.php
Creates HTTP headers for the end point of a HTTP request via a proxy server.
Class SimplePutEncoding
SimplePutEncoding in encoding.php
Encoded entity body for a PUT request.
Class SimpleRadioButtonTag
Radio button.
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.
Class SimpleRoute
SimpleRoute in http.php
Creates HTTP headers for the end point of a HTTP request.
Class SimpleSecureSocket
SimpleSecureSocket in socket.php
Wrapper for TCP/IP socket over TLS.
Class SimpleSelectionTag
Drop down widget.
Class SimpleSocket
SimpleSocket in socket.php
Wrapper for TCP/IP socket.
Class SimpleStateStack
SimpleStateStack in php_parser.php
States for a stack machine.
Class SimpleStickyError
SimpleStickyError in socket.php
Stashes an error for later. Useful for constructors until PHP gets exceptions.
Class SimpleSubmitTag
SimpleSubmitTag in tag.php
Submit button as input tag.
Class SimpleTag
SimpleTag in tag.php
HTML or XML tag.
Class SimpleTagBuilder
SimpleTagBuilder in tag.php
Creates tags and widgets given HTML tag attributes.
Class SimpleTagGroup
SimpleTagGroup in tag.php
A group of multiple widgets with some shared behaviour.
Class SimpleTextAreaTag
Content tag for text area.
Class SimpleTextTag
SimpleTextTag in tag.php
Text, password and hidden field.
Class SimpleTidyPageBuilder
SimpleTidyPageBuilder in tidy_parser.php
Builds the page object.
Class SimpleTitleTag
SimpleTitleTag in tag.php
Page title.
Class SimpleUploadTag
SimpleUploadTag in tag.php
File upload widget.
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 expandomatics.
Class SimpleUserAgent
SimpleUserAgent in user_agent.php
Fetches web pages whilst keeping track of cookies and authentication.
Class SimpleWidget
SimpleWidget in tag.php
Form element.
Page socket.php
socket.php in socket.php
Method startElement
Start of element event. Opens a new tag.
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 submitButton
Gets the submit values for a selected button.
Method submitFormById
Submits a form by the ID.
Method submitFormById
Submits a form by the ID.
Method submitImage
Gets the submit values for an image.
t
top
Function tests_have_run
tests_have_run() in autorun.php
Checks the current test context to see if a test has ever been run.
Method tokenize
CssSelector::tokenize() in css_selector.php
Method tokenize_selectors
Variable $testFile
SeleneseTestCase::$testFile in selenese_tester.php
Variable $time
SimpleResult::$time in recorder.php
Variable $timeout
Selenium instantiation variables
Variable $title
CodeCoverage::$title in coverage.php
Variable $title
CoverageReporter::$title in coverage_reporter.php
Page testdox.php
testdox.php in testdox.php
Page treemap_recorder.php
treemap_recorder.php in treemap_recorder.php
Page treemap_reporter.php
treemap_reporter.php in treemap_reporter.php
Method tearDown
Method terminateAbnormally
JUnitXMLReporter::terminateAbnormally() in junit_xml_reporter.php
Method test
Tests the expectation. True if it matches the held value.
Class TestDoxReporter
TestDoxReporter in testdox.php
TestDox reporter
Method testMessage
Returns a human readable test message.
Method tidy
SeleneseTestCase::tidy() in selenese_tester.php
tidy
Method totalCoverage
CoverageCalculator::totalCoverage() in coverage_calculator.php
Method totalLoc
CoverageCalculator::totalLoc() in coverage_calculator.php
Class TreemapNode
TreemapNode in treemap_recorder.php
Creates a treemap graph, representing each node in a test visualization.
Method TreemapNode
TreemapNode::TreemapNode() in treemap_recorder.php
Class TreemapRecorder
TreemapRecorder in treemap_recorder.php
Collects SimpleReporter messages and constructs a TreemapNode graph.
Method TreemapRecorder
TreemapRecorder::TreemapRecorder() in treemap_recorder.php
Class TreemapReporter
TreemapReporter in treemap_reporter.php
Constructs and renders a treemap visualization of a test run
Class TreemapStack
TreemapStack in treemap_recorder.php
provides LIFO stack semantics
Method TreemapStack
TreemapStack::TreemapStack() in treemap_recorder.php
Method test
Tests the assertion. True if correct.
Method test
CallCountExpectation::test() in mock_objects.php
Tests the assertion. True if correct.
Method test
AnythingExpectation::test() in expectation.php
Tests the expectation. Always true.
Method test
Tests the assertion. True if correct.
Method test
TrueExpectation::test() in expectation.php
Tests the expectation.
Method test
ParametersExpectation::test() in mock_objects.php
Tests the assertion. True if correct.
Method test
SimpleSignatureMap::test() in mock_objects.php
Compares the incoming parameters with the internal expectation. Uses the incoming $test to dispatch the test message.
Method test
FailedExpectation::test() in expectation.php
Tests the expectation. Always false.
Method test
FalseExpectation::test() in expectation.php
Tests the expectation.
Method testMessage
Reports the comparison.
Method testMessage
Reports the comparison.
Method testMessage
Returns a human readable test message.
Method testMessage
Reports the comparison.
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 testParameter
Tests an individual parameter.
Method throwAt
SimpleMock::throwAt() in mock_objects.php
Sets up a trigger to throw an exception upon the method call.
Method throwOn
SimpleMock::throwOn() in mock_objects.php
Sets up a trigger to throw an exception upon the method call.
Class TrueExpectation
TrueExpectation in expectation.php
An expectation that passes on boolean true.
Method tally
Any errors still in the queue are sent to the test case. Any unfulfilled expectations trigger failures.
Method tearDown
Clears the data set in the setUp() method call.
Method tell
SimpleTestCase::tell() in test_case.php
Sets up an observer for the test end.
Method test
PatternExpectation::test() in expectation.php
Tests the expectation. True if the Perl regex matches the comparison value.
Method test
Tests the expectation. True if it differs from the held value.
Method test
NotEqualExpectation::test() in expectation.php
Tests the expectation. True if it differs from the held value.
Method test
NotAExpectation::test() in expectation.php
Tests the expectation. False if the type or class matches the string value.
Method test
ReferenceExpectation::test() in expectation.php
Tests the expectation. True if it exactly references the held value.
Method test
Tests the expectation. True if it matches the held value.
Method test
TextExpectation::test() in web_tester.php
Tests the expectation. True if the text contains the substring.
Method test
NoTextExpectation::test() in web_tester.php
Tests the expectation. False if the substring appears in the text.
Method test
NoPatternExpectation::test() in expectation.php
Tests the expectation. False if the Perl regex matches the comparison value.
Method test
SimpleExpectation::test() in expectation.php
Tests the expectation. True if correct.
Method test
Tests the expectation. True if it matches the held value.
Method test
EqualExpectation::test() in expectation.php
Tests the expectation. True if it matches the held value.
Method test
IsAExpectation::test() in expectation.php
Tests the expectation. True if the type or class matches the string value.
Method test
IdenticalExpectation::test() in expectation.php
Tests the expectation. True if it exactly matches the held value.
Method test
MemberExpectation::test() in expectation.php
Tests the expectation. True if the property value is identical.
Method test
Carry out the test.
Method test
Tests the expectation. True if the method exists in the test object.
Method testLatestError
Tests the error against the most recent expected error.
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
Create the message to display describing the test.
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 testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method testMessage
Returns a human readable test message.
Method TestSuite
TestSuite::TestSuite() in test_case.php
Sets the name of the test suite.
Class TestSuite
TestSuite in test_case.php
This is a composite test class for combining test cases and other RunnableTest classes into a group test.
Page test_case.php
test_case.php in test_case.php
Class TextExpectation
TextExpectation in web_tester.php
Test for a text substring.
Class TextReporter
TextReporter in reporter.php
Sample minimal test displayer. Generates only
Method toJsString
WebUnitReporter::toJsString() in webunit_reporter.php
Transform a string into a format acceptable to JavaScript
Method toParsedXml
Converts character string to parsed XML entities string.
Method traceMethod
Extracts the last method name that was not within Simpletest itself. Captures a stack trace if none given.
Constant TYPE_MATTERS
TYPE_MATTERS in dumper.php
does type matter
Page tag.php
tag.php in tag.php
Method tagUrlsWithFrame
Attaches the intended frame index to a list of URLs.
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 testHeaderLine
Compares a single header line against the expectation.
Method testHeaderValue
Tests the value part of the header.
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 testMultiple
List comparison for multivalue field.
Method testSingle
String comparison for simple field with a single option.
Page tidy_parser.php
tidy_parser.php in tidy_parser.php
Method truncateHost
Extracts just the domain part that determines a cookie's host validity.
u
top
Variable $untouched
CoverageReporter::$untouched in coverage_reporter.php
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.
Page unit_tester.php
unit_tester.php in unit_tester.php
Method unmangle
Removes crud from property name after it's been converted to an array.
Method unmangle
Removes crud from property name after it's been converted to an array.
Method useProxy
SimpleTest::useProxy() in simpletest.php
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.
Method unsetBrowser
WebTestCase::unsetBrowser() in web_tester.php
Clears the current browser reference to help the PHP garbage collector.
Page url.php
url.php in url.php
Method useCookies
Switches back on the cookie sending and recieving.
Method useCookies
Switches back on the cookie sending and recieving.
Method useFrames
Enables frames support. Frames will be fetched from now on.
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.
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.
Page user_agent.php
user_agent.php in user_agent.php
v
top
Variable $value
Method variables
CoverageCalculator::variables() in coverage_calculator.php
Method verifyText
Method verifyTextNotPresent
Method verifyTextPresent
Method verifyTitle
Method verifyValue
Method valueIsNext
Test to see if the next available argument is a valid value.
Method valueIsPossible
Tests to see if a value is allowed.
Method valuesArePossible
Tests to see if a possible value set is legal.
w
top
Page web_tester.php
web_tester.php in web_tester.php
Variable $writer
CoverageReporter::$writer in coverage_reporter.php
Method write
CoverageDataHandler::write() in coverage_data_handler.php
Method writeByFile
CoverageWriter::writeByFile() in coverage_writer.php
Method writeSettings
Method writeSummary
CoverageWriter::writeSummary() in coverage_writer.php
Method writeUntouched
Method writeUntouchedFile
CoverageDataHandler::writeUntouchedFile() in coverage_data_handler.php
Page webunit_reporter.php
webunit_reporter.php in webunit_reporter.php
Class WebUnitReporter
WebUnitReporter in webunit_reporter.php
Sample minimal test displayer. Generates only failure messages and a pass count.
Class WithinMarginExpectation
WithinMarginExpectation in expectation.php
Test for being within a range.
Method withinMessage
Creates a the message for being within the range.
Method writeByFile
SimpleCoverageWriter::writeByFile() in simple_coverage_writer.php
Method writeSummary
SimpleCoverageWriter::writeSummary() in simple_coverage_writer.php
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 wrap
Performs the formatting that is peculiar to this tag. There is strange behaviour in this one, including stripping a leading new line.
Method write
Dispatches the value into the form encoded packet.
Method write
Dispatches the value into the form encoded packet.
Method write
Dispatches the value into the form encoded packet.
Method write
Dispatches the value into the form encoded packet.
Method write
SimpleSocket::write() in socket.php
Writes some data to the socket and saves alocal copy.
Method write
Writes some data to the socket and saves alocal copy.
Method writeCookiesToJar
Writes new cookies to the cookie jar.
Method writeHeadersTo
Writes no extra headers.
Method writeHeadersTo
Dispatches the form headers down the socket.
Method writeHeadersTo
Dispatches the form headers down the socket.
Method writeTo
Dispatches the form data down the socket.
Method writeTo
Dispatches the form data down the socket.
Method writeTo
No data is sent to the socket as the data is encoded into the URL.
x
top
Page xml.php
xml.php in xml.php
Class XmlReporter
XmlReporter in xml.php
Creates the XML needed for remote communication by SimpleTest.
$ a b c d e f g h i j k l m n o p r s t u v w x _