class Test::Unit::TestAssertions::TestAssertBlock
Public Instance Methods
test_failure_with_message()
click to toggle source
# File test-unit-3.3.4/test/test-assertions.rb, line 149 def test_failure_with_message check_fail("failed assert_block") { assert_block("failed assert_block") {false} } end
test_failure_without_message()
click to toggle source
# File test-unit-3.3.4/test/test-assertions.rb, line 143 def test_failure_without_message check_fail("assert_block failed.") { assert_block {false} } end
test_pass_with_message()
click to toggle source
# File test-unit-3.3.4/test/test-assertions.rb, line 137 def test_pass_with_message check_nothing_fails { assert_block("successful assert_block") {true} } end
test_pass_without_message()
click to toggle source
# File test-unit-3.3.4/test/test-assertions.rb, line 131 def test_pass_without_message check_nothing_fails { assert_block {true} } end