class TestVersion
Unit-test file load.
Public Instance Methods
setup()
click to toggle source
# File test/test_version.rb, line 8 def setup @versions = Engine::VERSION @version = '1.0.8.4' end
teardown()
click to toggle source
# File test/test_version.rb, line 35 def teardown # database network test add. end
test_match()
click to toggle source
# File test/test_version.rb, line 31 def test_match # assert_match end
test_new()
click to toggle source
# File test/test_version.rb, line 13 def test_new assert_equal @version, @versions end
test_nil_variable()
click to toggle source
# File test/test_version.rb, line 27 def test_nil_variable # assert_nil end
test_version_should_be_string()
click to toggle source
# File test/test_version.rb, line 17 def test_version_should_be_string assert_kind_of String, @version assert_instance_of String, @version end
test_version_should_be_string2()
click to toggle source
# File test/test_version.rb, line 22 def test_version_should_be_string2 assert_kind_of String, @versions assert_instance_of String, @versions end