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

Class: PHPUnit2_Framework_ComparisonFailure_Array

Source Location: /PHPUnit2-3.0.0alpha11/Framework/ComparisonFailure/Array.php

Class Overview

Exception
   |
   --PHPUnit2_Framework_AssertionFailedError
      |
      --PHPUnit2_Framework_ComparisonFailure
         |
         --PHPUnit2_Framework_ComparisonFailure_Array

Thrown when an assertion for array equality failed.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods

Class: PHPUnit2_Framework_ComparisonFailure

PHPUnit2_Framework_ComparisonFailure::diffEqual()
Figures out which diff class to use for the input types then instantiates that class and returns the object.
PHPUnit2_Framework_ComparisonFailure::diffIdentical()
Figures out which diff class to use for the input types then instantiates that class and returns the object.
PHPUnit2_Framework_ComparisonFailure::shortenedExport()
Exports the value $value to a string but in a shortened form.
PHPUnit2_Framework_ComparisonFailure::shortenedString()
Shortens the string $string and returns it. If the string is already short enough it is returned as it was.

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 68]
Thrown when an assertion for array equality failed.


[ Top ]


Method Detail

toString   [line 76]

void toString( )

Returns a string describing the difference between the expected and the actual array.

Overrides PHPUnit2_Framework_AssertionFailedError::toString() (Wrapper for getMessage() which is declared as final.)
[ Top ]


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