On 05/12/2011 04:41 PM, Tor Didriksen wrote:
> 3372 Tor Didriksen 2011-05-12
> Bug #11788245 - 60110 DO MORE THD AND GLOBAL INITIALIZATION FOR UNIT TESTING
Ok to push.
Two nitpicks below.
> Move server/THD initialization to separate utility classes in namespace
> my_testing.
Maybe you could mention that the patch also adds a new unit test.
> === added file 'unittest/gunit/opt_range-t.cc'
> --- a/unittest/gunit/opt_range-t.cc 1970-01-01 00:00:00 +0000
> +++ b/unittest/gunit/opt_range-t.cc 2011-05-12 14:41:57 +0000
> +TEST_F(SelArgTest, EqualCond)
> +{
> + Mock_field_long field_long;
> + EXPECT_EQ(null_tree,
> + get_mm_tree(&m_opt_param,
> + new Item_equal(new Item_int(42),
There's a trailing space on the line above.
> + new Item_field(&field_long))));
> +}
> +
> +}
--- Jon Olav