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

Class: PHPUnit2_Framework_AssertionFailedError

Source Location: /PHPUnit2-2.3.6/Framework/AssertionFailedError.php

Class Overview

Exception
   |
   --PHPUnit2_Framework_AssertionFailedError

Thrown when an assertion failed.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Child classes:

PHPUnit2_Framework_ComparisonFailure
Thrown when an assertion for string equality failed.
PHPUnit2_Framework_IncompleteTestError
Extension to PHPUnit2_Framework_AssertionFailedError to mark the special case of an incomplete test.

Inherited Variables

Inherited Methods


Class Details

[line 61]
Thrown when an assertion failed.


[ Top ]


Method Detail

toString   [line 68]

string toString( )

Wrapper for getMessage() which is declared as final.
  • Access: public

Overridden in child classes as:

PHPUnit2_Framework_ComparisonFailure::toString()
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.

[ Top ]


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