PHPUnit2
[
class tree: PHPUnit2
] [
index: PHPUnit2
] [
all elements
]
Packages:
PHPUnit2
Files:
TestListener.php
subpackage
Extensions
ExceptionTestCase.php
RepeatedTest.php
TestDecorator.php
TestSetup.php
subpackage
Framework
Assert.php
AssertionFailedError.php
ComparisonFailure.php
IncompleteTest.php
IncompleteTestError.php
Test.php
TestCase.php
TestFailure.php
TestResult.php
TestSuite.php
Warning.php
subpackage
Runner
BaseTestRunner.php
StandardTestSuiteLoader.php
TestCollector.php
TestRunListener.php
TestSuiteLoader.php
Version.php
subpackage
Tests
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AssertTest.php
BaseTestRunnerTest.php
ComparisonFailureTest.php
DoubleTestCase.php
Error.php
ExceptionTestCaseTest.php
ExtensionTest.php
Failure.php
InheritedTestCase.php
MockRunner.php
NoArgTestCaseTest.php
NonStatic.php
NoTestCaseClass.php
NoTestCases.php
NotPublicTestCase.php
NotVoidTestCase.php
OneTestCase.php
OverrideTestCase.php
RepeatedTestTest.php
SetupFailure.php
Success.php
SuiteTest.php
TearDownFailure.php
TestCaseTest.php
TestImplementorTest.php
TestListenerTest.php
ThrowExceptionTestCase.php
ThrowNoExceptionTestCase.php
TornDown.php
TornDown2.php
TornDown3.php
TornDown4.php
TornDown5.php
WasRun.php
subpackage
TextUI
ResultPrinter.php
TestRunner.php
subpackage
Util
Filter.php
Printer.php
Classes:
Tests
PHPUnit2_Tests_AllTests
PHPUnit2_Tests_DoubleTestCase
PHPUnit2_Tests_Error
PHPUnit2_Tests_Extensions_AllTests
PHPUnit2_Tests_Extensions_ExceptionTestCaseTest
PHPUnit2_Tests_Extensions_ExtensionTest
PHPUnit2_Tests_Extensions_RepeatedTestTest
PHPUnit2_Tests_Failure
PHPUnit2_Tests_Framework_AllTests
PHPUnit2_Tests_Framework_AssertTest
PHPUnit2_Tests_Framework_ComparisonFailureTest
PHPUnit2_Tests_Framework_SuiteTest
PHPUnit2_Tests_Framework_TestCaseTest
PHPUnit2_Tests_Framework_TestImplementorTest
PHPUnit2_Tests_Framework_TestListenerTest
PHPUnit2_Tests_InheritedTestCase
PHPUnit2_Tests_MockRunner
PHPUnit2_Tests_NoArgTestCaseTest
PHPUnit2_Tests_NonStatic
PHPUnit2_Tests_NoTestCaseClass
PHPUnit2_Tests_NoTestCases
PHPUnit2_Tests_NotPublicTestCase
PHPUnit2_Tests_NotVoidTestCase
PHPUnit2_Tests_OneTestCase
PHPUnit2_Tests_OverrideTestCase
PHPUnit2_Tests_Runner_AllTests
PHPUnit2_Tests_Runner_BaseTestRunnerTest
PHPUnit2_Tests_SetupFailure
PHPUnit2_Tests_Success
PHPUnit2_Tests_TearDownFailure
PHPUnit2_Tests_ThrowExceptionTestCase
PHPUnit2_Tests_ThrowNoExceptionTestCase
PHPUnit2_Tests_TornDown
PHPUnit2_Tests_TornDown2
PHPUnit2_Tests_TornDown3
PHPUnit2_Tests_TornDown4
PHPUnit2_Tests_TornDown5
PHPUnit2_Tests_WasRun
Framework
PHPUnit2_Framework_Assert
PHPUnit2_Framework_AssertionFailedError
PHPUnit2_Framework_ComparisonFailure
PHPUnit2_Framework_IncompleteTestError
PHPUnit2_Framework_TestCase
PHPUnit2_Framework_TestFailure
PHPUnit2_Framework_TestResult
PHPUnit2_Framework_TestSuite
PHPUnit2_Framework_Warning
Runner
PHPUnit2_Runner_BaseTestRunner
PHPUnit2_Runner_StandardTestSuiteLoader
PHPUnit2_Runner_Version
Extensions
PHPUnit2_Extensions_ExceptionTestCase
PHPUnit2_Extensions_RepeatedTest
PHPUnit2_Extensions_TestDecorator
PHPUnit2_Extensions_TestSetup
Util
PHPUnit2_Util_Filter
PHPUnit2_Util_Printer
TextUI
PHPUnit2_TextUI_ResultPrinter
PHPUnit2_TextUI_TestRunner
Class: PHPUnit2_Tests_WasRun
Source Location: /PHPUnit2-2.0.3/Tests/WasRun.php
Class Overview
PHPUnit2_Framework_Assert
| --
PHPUnit2_Framework_TestCase
| --PHPUnit2_Tests_WasRun
Author(s):
Sebastian Bergmann <
mailto:sb at sebastian-bergmann.de
>
Copyright:
Copyright © 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>
Methods
runTest
Inherited Variables
Inherited Methods
Class:
PHPUnit2_Framework_TestCase
PHPUnit2_Framework_TestCase::countTestCases()
Counts the number of test cases executed by run(TestResult result).
PHPUnit2_Framework_TestCase::createResult()
Creates a default TestResult object.
PHPUnit2_Framework_TestCase::getName()
Gets the name of a TestCase.
PHPUnit2_Framework_TestCase::run()
Runs the test case and collects the results in a TestResult object.
PHPUnit2_Framework_TestCase::runBare()
Runs the bare test sequence.
PHPUnit2_Framework_TestCase::runTest()
Override to run the test and assert its state.
PHPUnit2_Framework_TestCase::setName()
Sets the name of a TestCase.
PHPUnit2_Framework_TestCase::setUp()
Sets up the fixture, for example, open a network connection.
PHPUnit2_Framework_TestCase::tearDown()
Tears down the fixture, for example, close a network connection.
PHPUnit2_Framework_TestCase::toString()
Returns a string representation of the test case.
PHPUnit2_Framework_TestCase::__construct()
Constructs a test case with the given name.
Class:
PHPUnit2_Framework_Assert
PHPUnit2_Framework_Assert::assertEquals()
Asserts that two variables are equal.
PHPUnit2_Framework_Assert::assertFalse()
Asserts that a condition is false.
PHPUnit2_Framework_Assert::assertNotNull()
Asserts that an object isn't null.
PHPUnit2_Framework_Assert::assertNotSame()
Asserts that two objects refer not to the same object.
PHPUnit2_Framework_Assert::assertNull()
Asserts that an object is null.
PHPUnit2_Framework_Assert::assertRegExp()
Asserts that a string matches a given regular expression.
PHPUnit2_Framework_Assert::assertSame()
Asserts that two objects refer to the same object.
PHPUnit2_Framework_Assert::assertTrue()
Asserts that a condition is true.
PHPUnit2_Framework_Assert::assertType()
Asserts that a variable is of a given type.
PHPUnit2_Framework_Assert::fail()
Fails a test with the given message.
PHPUnit2_Framework_Assert::format()
PHPUnit2_Framework_Assert::setLooselyTyped()
PHPUnit2_Framework_Assert::__construct()
Protect constructor since it is a static only class.
Class Details
[line 28]
License:
The PHP License, Version 3.0
Copyright:
Copyright © 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>
Author:
Sebastian Bergmann <
mailto:sb@sebastian-bergmann.de
>
[
Top
]
Method Detail
runTest
[line 31]
void runTest( )
Overrides
PHPUnit2_Framework_TestCase::runTest()
(Override to run the test and assert its state.)
[
Top
]
Documentation generated on Mon, 27 Sep 2004 04:10:40 -0400 by
phpDocumentor 1.2.3
. PEAR Logo Copyright © PHP Group 2004.