class TestUnitPending::TestCase
Public Class Methods
suite()
click to toggle source
# File test-unit-3.3.4/test/test-pending.rb, line 9 def suite Test::Unit::TestSuite.new(name) end
Public Instance Methods
test_pend()
click to toggle source
# File test-unit-3.3.4/test/test-pending.rb, line 14 def test_pend pend("1st pend") pend("2nd pend. Should not be reached here.") assert(true, "Should not be reached here too.") end
test_pend_with_failure_in_block()
click to toggle source
# File test-unit-3.3.4/test/test-pending.rb, line 20 def test_pend_with_failure_in_block pend("Wait a minute") do raise "Not implemented yet" end assert(true, "Reached here.") end
test_pend_with_no_failure_in_block()
click to toggle source
# File test-unit-3.3.4/test/test-pending.rb, line 27 def test_pend_with_no_failure_in_block pend("Wait a minute") do "Nothing raised" end assert(true, "Not reached here.") end