method
add_failure
v1_8_7_72 -
Show latest stable
- Class:
Test::Unit::TestCase
add_failure(message, all_locations=caller())private
No documentation available.
# File lib/test/unit/testcase.rb, line 129
def add_failure(message, all_locations=caller())
@test_passed = false
@_result.add_failure(Failure.new(name, filter_backtrace(all_locations), message))
end