Class Test::Unit::Failure
In: test/unit/failure.rb
Parent: Object
Encapsulates a test failure. Created by Test::Unit::TestCase when an assertion fails.
Methods
long_display    new    short_display    to_s   
Attributes
:location  [R] 
:message  [R] 
Public Class methods
new(location, message)
Creates a new Failure with the given location and message.
Public Instance methods
short_display()
Returns a brief version of the error description.
long_display()
Returns a verbose version of the error description.
to_s()
Overridden to return long_display.