#At file:///export/home/didrik/repo/next-mr-wl5308-br1/ based on revid:tor.didriksen@stripped
3170 Tor Didriksen 2010-07-23
An initial test, we can construct/destruct a Table_share_builder
modified:
unittest/gunit/CMakeLists.txt
unittest/gunit/table_share_builder-t.cc
=== modified file 'unittest/gunit/CMakeLists.txt'
--- a/unittest/gunit/CMakeLists.txt 2010-07-23 14:55:58 +0000
+++ b/unittest/gunit/CMakeLists.txt 2010-07-23 15:09:01 +0000
@@ -192,7 +192,8 @@ INCLUDE_DIRECTORIES(
# main-wrapper library (with tap-compatible option).
ADD_LIBRARY(gunit STATIC
gunit_test_main.cc tap_event_listener.cc thread_utils.cc)
-TARGET_LINK_LIBRARIES(gunit mysys mytap dbug strings ${GTEST_LIBRARIES})
+TARGET_LINK_LIBRARIES(gunit mytap dbug strings ${GTEST_LIBRARIES}
+ sql binlog rpl master slave sql mysys)
MESSAGE(STATUS "GTEST_LIBRARIES:${GTEST_LIBRARIES}")
# Add some defines.
=== modified file 'unittest/gunit/table_share_builder-t.cc'
--- a/unittest/gunit/table_share_builder-t.cc 2010-07-23 14:55:58 +0000
+++ b/unittest/gunit/table_share_builder-t.cc 2010-07-23 15:09:01 +0000
@@ -18,3 +18,17 @@
#include <gtest/gtest.h>
#include "table_share_builder.h"
+
+namespace {
+
+class Table_share_builder_test : public ::testing::Test
+{
+ Table_share_builder m_builder;
+};
+
+// The most basic test: can we construct and destruct an instance?
+TEST_F(Table_share_builder_test, construct_and_destruct)
+{
+}
+
+} // namespace
Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20100723150901-l3qqat2i6sjmnkl6.bundle
| Thread |
|---|
| • bzr commit into mysql-next-mr branch (tor.didriksen:3170) | Tor Didriksen | 23 Jul |