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

Class: PHPUnit2_Framework_ExpectationFailedException

Source Location: /PHPUnit2-3.0.0alpha11/Framework/ExpectationFailedException.php

Class Overview

Exception
   |
   --PHPUnit2_Framework_AssertionFailedError
      |
      --PHPUnit2_Framework_ExpectationFailedException

Exception for expectations which failed their check.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods

Class: PHPUnit2_Framework_AssertionFailedError

PHPUnit2_Framework_AssertionFailedError::getLocation()
Returns the location where this failure occured.
PHPUnit2_Framework_AssertionFailedError::toString()
Wrapper for getMessage() which is declared as final.

Class Details

[line 74]
Exception for expectations which failed their check.

The exception contains the error message and optionally a PHPUnit2_Framework_ComparisonFailure which is used to generate diff output of the failed expectations.



[ Top ]


Method Detail

getComparisonFailure   [line 91]

void getComparisonFailure( )


[ Top ]

getDescription   [line 96]

void getDescription( )


[ Top ]


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