class Test::Unit::TestTestSuiteCreator::TestInherited
Public Instance Methods
setup()
click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 25 def setup @parent_test_case = Class.new(TestCase) do def test_in_parent end end @child_test_case = Class.new(@parent_test_case) do def test_in_child end end end
test_collect_test_names()
click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 37 def test_collect_test_names assert_equal(["test_in_child"], collect_test_names(@child_test_case)) end
test_in_child()
click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 32 def test_in_child end
test_in_parent()
click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 27 def test_in_parent end