class Test::Unit::TestTestCase::TestTestDefined::TestMethodName::TestMethodStyle
Public Instance Methods
test_match()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 795 def test_match test_case = Class.new(TestCase) do test "nothing" do end end query = {:method_name => "test: nothing"} assert_true(test_case.test_defined?(query)) end
test_not_match()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 804 def test_not_match test_case = Class.new(TestCase) do test "nothing" do end end query = {:method_name => "test: nonexistent"} assert_false(test_case.test_defined?(query)) end