Parent

Methods

Class/Module Index [+]

Quicksearch

Test::Unit::AssertionFailedError

Thrown by Test::Unit::Assertions when an assertion fails.

Attributes

expected[RW]
actual[RW]
user_message[RW]
inspected_expected[RW]
inspected_actual[RW]

Public Class Methods

new(message=nil, options=nil) click to toggle source
# File lib/test/unit/assertionfailederror.rb, line 14
def initialize(message=nil, options=nil)
  options ||= {}
  @expected = options[:expected]
  @actual = options[:actual]
  @inspected_expected = options[:inspected_expected]
  @inspected_actual = options[:inspected_actual]
  @user_message = options[:user_message]
  super(message)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.