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

Class: Framework_AssertTest

Source Location: /PHPUnit2-3.0.0alpha11/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::at()
PHPUnit2_Framework_TestCase::atLeastOnce()
PHPUnit2_Framework_TestCase::count()
Counts the number of test cases executed by run(TestResult result).
PHPUnit2_Framework_TestCase::createResult()
Creates a default TestResult object.
PHPUnit2_Framework_TestCase::exactly()
PHPUnit2_Framework_TestCase::getMock()
Returns a mock object for the specified class.
PHPUnit2_Framework_TestCase::getName()
Gets the name of a TestCase.
PHPUnit2_Framework_TestCase::iniSet()
This method is a wrapper for the ini_set() function that automatically resets the modified php.ini setting to its original value after the test is run.
PHPUnit2_Framework_TestCase::never()
PHPUnit2_Framework_TestCase::once()
PHPUnit2_Framework_TestCase::onConsecutiveCalls()
PHPUnit2_Framework_TestCase::returnValue()
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::assertArrayHasKey()
Asserts that an array has a specified key.
PHPUnit2_Framework_Assert::__construct()
Protect constructor since it is a static only class.

Class Details

[line 68]


[ Top ]


Method Detail

testAssertArrayContainsObject   [line 83]

void testAssertArrayContainsObject( )


[ Top ]

testAssertArrayContainsString   [line 101]

void testAssertArrayContainsString( )


[ Top ]

testAssertArrayHasIntegerKey   [line 116]

void testAssertArrayHasIntegerKey( )


[ Top ]

testAssertArrayHasStringKey   [line 146]

void testAssertArrayHasStringKey( )


[ Top ]

testAssertArrayNotContainsObject   [line 223]

void testAssertArrayNotContainsObject( )


[ Top ]

testAssertArrayNotContainsString   [line 241]

void testAssertArrayNotContainsString( )


[ Top ]

testAssertArrayNotHasIntegerKey   [line 131]

void testAssertArrayNotHasIntegerKey( )


[ Top ]

testAssertArrayNotHasStringKey   [line 161]

void testAssertArrayNotHasStringKey( )


[ Top ]

testAssertEqualsArray   [line 271]

void testAssertEqualsArray( )


[ Top ]

testAssertEqualsFloat   [line 301]

void testAssertEqualsFloat( )


[ Top ]

testAssertEqualsFloatDelta   [line 331]

void testAssertEqualsFloatDelta( )


[ Top ]

testAssertEqualsInteger   [line 361]

void testAssertEqualsInteger( )


[ Top ]

testAssertEqualsObject   [line 391]

void testAssertEqualsObject( )


[ Top ]

testAssertEqualsString   [line 427]

void testAssertEqualsString( )


[ Top ]

testAssertFalse   [line 566]

void testAssertFalse( )


[ Top ]

testAssertFileExists   [line 457]

void testAssertFileExists( )


[ Top ]

testAssertFileNotExists   [line 472]

void testAssertFileNotExists( )


[ Top ]

testAssertHasProperty   [line 487]

void testAssertHasProperty( )


[ Top ]

testAssertIteratorContainsObject   [line 176]

void testAssertIteratorContainsObject( )


[ Top ]

testAssertIteratorContainsString   [line 193]

void testAssertIteratorContainsString( )


[ Top ]

testAssertNotEqualsArray   [line 286]

void testAssertNotEqualsArray( )


[ Top ]

testAssertNotEqualsFloat   [line 316]

void testAssertNotEqualsFloat( )


[ Top ]

testAssertNotEqualsFloatDelta   [line 346]

void testAssertNotEqualsFloatDelta( )


[ Top ]

testAssertNotEqualsInteger   [line 376]

void testAssertNotEqualsInteger( )


[ Top ]

testAssertNotEqualsObject   [line 409]

void testAssertNotEqualsObject( )


[ Top ]

testAssertNotEqualsString   [line 442]

void testAssertNotEqualsString( )


[ Top ]

testAssertNotHasProperty   [line 504]

void testAssertNotHasProperty( )


[ Top ]

testAssertNotNull   [line 536]

void testAssertNotNull( )


[ Top ]

testAssertNotRegExp   [line 596]

void testAssertNotRegExp( )


[ Top ]

testAssertNotSame   [line 631]

void testAssertNotSame( )


[ Top ]

testAssertNotSameFailsNull   [line 661]

void testAssertNotSameFailsNull( )


[ Top ]

testAssertNotTypeArray   [line 689]

void testAssertNotTypeArray( )


[ Top ]

testAssertNotTypeBool   [line 719]

void testAssertNotTypeBool( )


[ Top ]

testAssertNotTypeClass   [line 749]

void testAssertNotTypeClass( )


[ Top ]

testAssertNotTypeFloat   [line 779]

void testAssertNotTypeFloat( )


[ Top ]

testAssertNotTypeInteger   [line 809]

void testAssertNotTypeInteger( )


[ Top ]

testAssertNotTypeNull   [line 839]

void testAssertNotTypeNull( )


[ Top ]

testAssertNotTypeObject   [line 869]

void testAssertNotTypeObject( )


[ Top ]

testAssertNotTypeString   [line 899]

void testAssertNotTypeString( )


[ Top ]

testAssertNull   [line 521]

void testAssertNull( )


[ Top ]

testAssertRegExp   [line 581]

void testAssertRegExp( )


[ Top ]

testAssertSame   [line 611]

void testAssertSame( )


[ Top ]

testAssertStringContainsString   [line 208]

void testAssertStringContainsString( )


[ Top ]

testAssertStringNotContainsString   [line 256]

void testAssertStringNotContainsString( )


[ Top ]

testAssertTrue   [line 551]

void testAssertTrue( )


[ Top ]

testAssertTypeArray   [line 674]

void testAssertTypeArray( )


[ Top ]

testAssertTypeBool   [line 704]

void testAssertTypeBool( )


[ Top ]

testAssertTypeClass   [line 734]

void testAssertTypeClass( )


[ Top ]

testAssertTypeFloat   [line 764]

void testAssertTypeFloat( )


[ Top ]

testAssertTypeInteger   [line 794]

void testAssertTypeInteger( )


[ Top ]

testAssertTypeNull   [line 824]

void testAssertTypeNull( )


[ Top ]

testAssertTypeObject   [line 854]

void testAssertTypeObject( )


[ Top ]

testAssertTypeString   [line 884]

void testAssertTypeString( )


[ Top ]

testFail   [line 70]

void testFail( )


[ Top ]

testGetNonPublicProperty   [line 914]

void testGetNonPublicProperty( )


[ Top ]


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