From: Tor Didriksen Date: July 23 2010 3:18pm Subject: bzr commit into mysql-next-mr branch (tor.didriksen:3171) List-Archive: http://lists.mysql.com/commits/114241 Message-Id: <20100723151848.A8C9F3719@atum07.norway.sun.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4646466184673555930==" --===============4646466184673555930== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline #At file:///export/home/didrik/repo/next-mr-wl5308-br1/ based on revid:tor.didriksen@stripped 3171 Tor Didriksen 2010-07-23 Test that we can initialize a Table_share_builder modified: unittest/gunit/table_share_builder-t.cc === modified file 'unittest/gunit/table_share_builder-t.cc' --- a/unittest/gunit/table_share_builder-t.cc 2010-07-23 15:09:01 +0000 +++ b/unittest/gunit/table_share_builder-t.cc 2010-07-23 15:18:45 +0000 @@ -21,8 +21,16 @@ namespace { +const char db_name[] = "some_db"; +const char table_name[] = "some_table"; +const char table_comment[] = "some_comment"; +const int field_count= 4; +const int key_count= 2; +const int key_part_count= 0; + class Table_share_builder_test : public ::testing::Test { +protected: Table_share_builder m_builder; }; @@ -31,4 +39,10 @@ TEST_F(Table_share_builder_test, constru { } +TEST_F(Table_share_builder_test, construct_and_initialize) +{ + m_builder.initialize(db_name, table_name, table_comment, + field_count, key_count, key_part_count); +} + } // namespace --===============4646466184673555930== MIME-Version: 1.0 Content-Type: text/bzr-bundle; charset="us-ascii"; name="bzr/tor.didriksen@stripped" Content-Transfer-Encoding: 7bit Content-Disposition: inline # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: tor.didriksen@stripped\ # yc9yf3c9fmsxjgba # target_branch: file:///export/home/didrik/repo/next-mr-wl5308-br1/ # testament_sha1: 397bdf69e74f6284abe98f0727743492aac1f9ed # timestamp: 2010-07-23 17:18:48 +0200 # base_revision_id: tor.didriksen@stripped\ # l3qqat2i6sjmnkl6 # # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFB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