~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/date_test.cc

  • Committer: Lee Bieber
  • Date: 2011-02-05 05:56:29 UTC
  • mfrom: (2145.1.3 build)
  • Revision ID: kalebral@gmail.com-20110205055629-iud8evvqwmozo61v
Merge Andrew - 702575: Need to document bug #622472
Merge Andrew - 702878: "Show table status" needs an overhaul  
Merge Lee - 712123: Remove warnings from unittests
Merge Patrick - 711273: dbqp not running rabbitmq tests, plus clean up server management

Show diffs side-by-side

added added

removed removed

Lines of Context:
472
472
  BOOST_REQUIRE_EQUAL(0, filled.tm_min);
473
473
  BOOST_REQUIRE_EQUAL(0, filled.tm_sec);
474
474
 
475
 
  /* TODO: these fail, shouldn't they also be set properly? */
476
 
  /* From Andrew: These fail because Temporal::to_tm doesn't populate them.
477
 
     Does it need to or would we be wasting cycles doing it? */
478
 
 
479
 
  BOOST_WARN_EQUAL(228, filled.tm_yday);
480
 
  BOOST_WARN_EQUAL(6, filled.tm_wday);
481
 
  BOOST_WARN_EQUAL(-1, filled.tm_isdst);
482
475
}
483
476
 
484
477
BOOST_FIXTURE_TEST_CASE(from_tm, DateTest)