Object
Creates a new Omission with the given location and message.
# File lib/test/unit/omission.rb, line 14 def initialize(test_name, location, message) @test_name = test_name @location = location @message = message end
Returns a verbose version of the error description.
# File lib/test/unit/omission.rb, line 35 def long_display backtrace = filter_backtrace(location).join("\n") "#{label}: #{@message}\n#{@test_name}\n#{backtrace}" end
Returns a brief version of the error description.
# File lib/test/unit/omission.rb, line 30 def short_display "#{@test_name}: #{@message.split("\n")[0]}" end
Generated with the Darkfish Rdoc Generator 2.