~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/date_time_test.cc

  • Committer: patrick crews
  • Date: 2011-01-30 23:02:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2131.
  • Revision ID: gleebix@gmail.com-20110130230212-nnts892jsc0oiurv
Added initial docs for dbqp.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
*  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
*/
20
20
 
21
 
#include <config.h>
 
21
#include "config.h"
22
22
 
23
23
#define BOOST_TEST_DYN_LINK
24
24
#include <boost/test/unit_test.hpp>
293
293
  BOOST_REQUIRE_EQUAL(45, filled.tm_min);
294
294
  BOOST_REQUIRE_EQUAL(13, filled.tm_sec);
295
295
 
 
296
  /* TODO:these fail, shouldn't they also be set properly? */
 
297
  BOOST_WARN_EQUAL(228, filled.tm_yday);
 
298
  BOOST_WARN_EQUAL(6, filled.tm_wday);
 
299
  BOOST_WARN_EQUAL(-1, filled.tm_isdst);
296
300
}
297
301
 
298
302
BOOST_AUTO_TEST_CASE(to_decimal)