PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: Framework_AssertTest

Source Location: /PHPUnit2-2.3.6/Tests/Framework/AssertTest.php

Class Overview

PHPUnit2_Framework_Assert
   |
   --PHPUnit2_Framework_TestCase
      |
      --Framework_AssertTest



Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


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::assertContains()
Asserts that a haystack contains a needle.
PHPUnit2_Framework_Assert::assertEquals()
Asserts that two variables are equal.
PHPUnit2_Framework_Assert::assertFalse()
Asserts that a condition is false.
PHPUnit2_Framework_Assert::assertNotContains()
Asserts that a haystack does not contain a needle.
PHPUnit2_Framework_Assert::assertNotEquals()
Asserts that two variables are not equal.
PHPUnit2_Framework_Assert::assertNotNull()
Asserts that a variable is not NULL.
PHPUnit2_Framework_Assert::assertNotRegExp()
Asserts that a string does not match a given regular expression.
PHPUnit2_Framework_Assert::assertNotSame()
Asserts that two variables do not have the same type and value.
PHPUnit2_Framework_Assert::assertNotType()
Asserts that a variable is not of a given type.
PHPUnit2_Framework_Assert::assertNull()
Asserts that a variable is NULL.
PHPUnit2_Framework_Assert::assertRegExp()
Asserts that a string matches a given regular expression.
PHPUnit2_Framework_Assert::assertSame()
Asserts that two variables have the same type and value.
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 65]


[ Top ]


Method Detail

testAssertArrayContainsObject   [line 78]

void testAssertArrayContainsObject( )


[ Top ]

testAssertArrayContainsString   [line 95]

void testAssertArrayContainsString( )


[ Top ]

testAssertArrayNotContainsObject   [line 153]

void testAssertArrayNotContainsObject( )


[ Top ]

testAssertArrayNotContainsString   [line 170]

void testAssertArrayNotContainsString( )


[ Top ]

testAssertEqualsArray   [line 198]

void testAssertEqualsArray( )


[ Top ]

testAssertEqualsFloat   [line 226]

void testAssertEqualsFloat( )


[ Top ]

testAssertEqualsFloatDelta   [line 254]

void testAssertEqualsFloatDelta( )


[ Top ]

testAssertEqualsInteger   [line 282]

void testAssertEqualsInteger( )


[ Top ]

testAssertEqualsObject   [line 310]

void testAssertEqualsObject( )


[ Top ]

testAssertEqualsString   [line 338]

void testAssertEqualsString( )


[ Top ]

testAssertFalse   [line 408]

void testAssertFalse( )


[ Top ]

testAssertIteratorContainsObject   [line 109]

void testAssertIteratorContainsObject( )


[ Top ]

testAssertIteratorContainsString   [line 125]

void testAssertIteratorContainsString( )


[ Top ]

testAssertNotEqualsArray   [line 212]

void testAssertNotEqualsArray( )


[ Top ]

testAssertNotEqualsFloat   [line 240]

void testAssertNotEqualsFloat( )


[ Top ]

testAssertNotEqualsFloatDelta   [line 268]

void testAssertNotEqualsFloatDelta( )


[ Top ]

testAssertNotEqualsInteger   [line 296]

void testAssertNotEqualsInteger( )


[ Top ]

testAssertNotEqualsObject   [line 324]

void testAssertNotEqualsObject( )


[ Top ]

testAssertNotEqualsString   [line 352]

void testAssertNotEqualsString( )


[ Top ]

testAssertNotNull   [line 380]

void testAssertNotNull( )


[ Top ]

testAssertNotSame   [line 441]

void testAssertNotSame( )


[ Top ]

testAssertNotSameFailsNull   [line 470]

void testAssertNotSameFailsNull( )


[ Top ]

testAssertNotTypeClass   [line 496]

void testAssertNotTypeClass( )


[ Top ]

testAssertNotTypeInteger   [line 524]

void testAssertNotTypeInteger( )


[ Top ]

testAssertNotTypeString   [line 552]

void testAssertNotTypeString( )


[ Top ]

testAssertNull   [line 366]

void testAssertNull( )


[ Top ]

testAssertSame   [line 422]

void testAssertSame( )


[ Top ]

testAssertStringContainsString   [line 139]

void testAssertStringContainsString( )


[ Top ]

testAssertStringNotContainsString   [line 184]

void testAssertStringNotContainsString( )


[ Top ]

testAssertTrue   [line 394]

void testAssertTrue( )


[ Top ]

testAssertTypeClass   [line 482]

void testAssertTypeClass( )


[ Top ]

testAssertTypeInteger   [line 510]

void testAssertTypeInteger( )


[ Top ]

testAssertTypeString   [line 538]

void testAssertTypeString( )


[ Top ]

testFail   [line 66]

void testFail( )


[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:35:00 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.