Test::Unit::TestCase
# File test.rb, line 1422 1422: def test_day() 1423: t = Mysql::Time.new 1424: assert_equal(23, t.day = 23) 1425: assert_equal(23, t.day) 1426: end
# File test.rb, line 1451 1451: def test_eql() 1452: t1 = Mysql::Time.new(2005,7,19,23,56,13) 1453: t2 = Mysql::Time.new(2005,7,19,23,56,13) 1454: assert_equal(t1, t2) 1455: end
# File test.rb, line 1428 1428: def test_hour() 1429: t = Mysql::Time.new 1430: assert_equal(15, t.hour = 15) 1431: assert_equal(15, t.hour) 1432: end
# File test.rb, line 1398 1398: def test_init() 1399: t = Mysql::Time.new 1400: assert_equal(0, t.year); 1401: assert_equal(0, t.month); 1402: assert_equal(0, t.day); 1403: assert_equal(0, t.hour); 1404: assert_equal(0, t.minute); 1405: assert_equal(0, t.second); 1406: assert_equal(false, t.neg); 1407: assert_equal(0, t.second_part); 1408: end
# File test.rb, line 1434 1434: def test_minute() 1435: t = Mysql::Time.new 1436: assert_equal(58, t.month = 58) 1437: assert_equal(58, t.month) 1438: end
# File test.rb, line 1416 1416: def test_month() 1417: t = Mysql::Time.new 1418: assert_equal(11, t.month = 11) 1419: assert_equal(11, t.month) 1420: end
# File test.rb, line 1440 1440: def test_second() 1441: t = Mysql::Time.new 1442: assert_equal(34, t.second = 34) 1443: assert_equal(34, t.second) 1444: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.