BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHPUnit_Framework_ExpectationFailedException Class Reference
Inheritance diagram for PHPUnit_Framework_ExpectationFailedException:
Collaboration diagram for PHPUnit_Framework_ExpectationFailedException:

Public Member Functions

 __construct ($message, SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure=null, Exception $previous=null)
 
 getComparisonFailure ()
 
- Public Member Functions inherited from PHPUnit_Framework_AssertionFailedError
 toString ()
 
- Public Member Functions inherited from PHPUnit_Framework_Exception
 __construct ($message= '', $code=0, Exception $previous=null)
 
 getSerializableTrace ()
 
 __toString ()
 
 __sleep ()
 
- Public Member Functions inherited from Exception
 __construct ($message="", $code=0, Throwable $previous=null)
 
 getMessage ()
 
 getCode ()
 
 getFile ()
 
 getLine ()
 
 getTrace ()
 
 getPrevious ()
 
 getTraceAsString ()
 
 __toString ()
 

Protected Attributes

 $comparisonFailure
 
- Protected Attributes inherited from PHPUnit_Framework_Exception
 $serializableTrace
 
- Protected Attributes inherited from Exception
 $message
 
 $code
 
 $file
 
 $line
 

Detailed Description

Exception for expectations which failed their check.

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

Since
Class available since Release 3.0.0

Member Function Documentation

PHPUnit_Framework_ExpectationFailedException::getComparisonFailure ( )
Returns
SebastianBergmann

The documentation for this class was generated from the following file: