class TestUnitPriority::TestClassName
Public Instance Methods
assert_escaped_name(expected, class_name)
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 134 def assert_escaped_name(expected, class_name) checker = Checker.new(nil) escaped_class_name = checker.send(:escape_class_name, class_name) assert_equal(expected, escaped_class_name) end
test_back_slash()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 118 def test_back_slash assert_escaped_name("test_priority", "test\/priority") end
test_colon()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 106 def test_colon assert_escaped_name("Test_colon__colon_Priority", "Test::Priority") end
test_equal()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 130 def test_equal assert_escaped_name("#equal.equal", "#equal=") end
test_exclamation()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 126 def test_exclamation assert_escaped_name("#exclamation.destructive", "#exclamation!") end
test_question()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 122 def test_question assert_escaped_name("#question.predicate", "#question?") end
test_slash()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 114 def test_slash assert_escaped_name("test_priority", "test/priority") end
test_space()
click to toggle source
# File test-unit-3.3.4/test/test-priority.rb, line 110 def test_space assert_escaped_name("test_priority", "test priority") end