| Class Test::Unit::Failure |
|
Encapsulates a test failure. Created by Test::Unit::TestCase when an assertion fails.
| Methods |
| 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.