~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/main.cc

little fix in include.am 
fixed temporal_format_test to compile
fixed temporal_interval_test and main so that environment gets initialized properly before tests
tests for TemporalInterval::initFromItem
fixed bug in TemporalInterval::getIntervalFromString, which caused microseconds not to get expanded, when high end elements were not present

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <gtest/gtest.h>
24
24
 
 
25
#include <drizzled/internal/my_sys.h>
 
26
 
25
27
int main(int argc, char **argv)
26
28
{
 
29
        MY_INIT(argv[0]);
27
30
  ::testing::InitGoogleTest(&argc, argv);
28
31
  return RUN_ALL_TESTS();
29
32
}