class Test::Unit::TestTestCase::TestTestDefined::TestPath::TestDefStyle
Public Instance Methods
test_absolute_path()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 605 def test_absolute_path test_case = Class.new(TestCase) do def test_nothing end end assert_true(test_case.test_defined?(:path => __FILE__)) end
test_base_name()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 596 def test_base_name test_case = Class.new(TestCase) do def test_nothing end end base_name = File.basename(__FILE__) assert_true(test_case.test_defined?(:path => base_name)) end
test_not_match()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 613 def test_not_match test_case = Class.new(TestCase) do def test_nothing end end assert_false(test_case.test_defined?(:path => "nonexistent.rb")) end
test_nothing()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 598 def test_nothing end