Ruby Test::Unit::Failure Functions

EditRocket provides the following information on Test::Unit::Failure functions in the Ruby source code builder.

long_display() - Returns a verbose version of the error description.

new(test_name, location, message) - Creates a new Failure with the given location and message.

short_display() - Returns a brief version of the error description.

single_character_display() - Returns a single character representation of a failure.

to_s() - Overridden to return long_display.