~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/generator.h

added Time_test to include.am
added TimeGen class to generators
added tests Time members

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    static void leap_day_in_non_leap_year(drizzled::Date *date);
42
42
  };
43
43
  
 
44
  class TimeGen
 
45
  {
 
46
  public:
 
47
    static void make_time(drizzled::Time *time, uint32_t hours, uint32_t minutes, uint32_t seconds);
 
48
    static void make_min_time(drizzled::Time *time);
 
49
    static void make_max_time(drizzled::Time *time);
 
50
  };
 
51
  
44
52
  class DateTimeGen
45
53
  {
46
54
    public: