class TestUnitAttribute::TestDescription
Public Instance Methods
test_decoration_style()
click to toggle source
# File test-unit-3.3.4/test/test-attribute.rb, line 99 def test_decoration_style test_case = Class.new(TestStack) do description "Test for push" def test_push end end test_push = test_case.new("test_push") assert_equal({"description" => "Test for push"}, test_push.attributes) end
test_explicit_test_name_style()
click to toggle source
# File test-unit-3.3.4/test/test-attribute.rb, line 111 def test_explicit_test_name_style test_case = Class.new(TestStack) do def test_push end description "Test for push", :test_push end test_push = test_case.new("test_push") assert_equal({"description" => "Test for push"}, test_push.attributes) end
test_push()
click to toggle source
# File test-unit-3.3.4/test/test-attribute.rb, line 102 def test_push end