List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:July 23 2010 3:18pm
Subject:bzr commit into mysql-next-mr branch (tor.didriksen:3171)
View as plain text  
#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


Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20100723151845-yc9yf3c9fmsxjgba.bundle
Thread
bzr commit into mysql-next-mr branch (tor.didriksen:3171) Tor Didriksen23 Jul