Class Test::Unit::Error
In: lib/test/unit/error.rb
Parent: Object

Encapsulates an error in a test. Created by Test::Unit::TestCase when it rescues an exception thrown during the processing of a test.

Methods

Included Modules

Util::BacktraceFilter

Constants

SINGLE_CHARACTER = 'E'

Attributes

exception  [R] 
test_name  [R] 

Public Class methods

Creates a new Error with the given test_name and exception.

Public Instance methods

Returns a verbose version of the error description.

Returns the message associated with the error.

Returns a brief version of the error description.

Returns a single character representation of an error.

Overridden to return long_display.

[Validate]