summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-07-08 19:03:52 +0000
committerAlan Conway <aconway@apache.org>2008-07-08 19:03:52 +0000
commitaf6e0524bdd933fadf0baa454b461a91526a3347 (patch)
tree14f6328aad1107f7b80a0d1a6d8aa32204b90973 /cpp/src/tests
parent1b4c02dc9fbef138f7ed59550d533fe3ae13017f (diff)
downloadqpid-python-af6e0524bdd933fadf0baa454b461a91526a3347.tar.gz
Revert un-necessary Plugin complications. Better solution for plugin extension points coming up...
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/Makefile.am3
-rw-r--r--cpp/src/tests/cluster.mk2
-rw-r--r--cpp/src/tests/cluster_test.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am
index f72264d69a..0fadc39c8b 100644
--- a/cpp/src/tests/Makefile.am
+++ b/cpp/src/tests/Makefile.am
@@ -135,7 +135,8 @@ EXTRA_DIST += \
MessageUtils.h \
TestMessageStore.h \
MockConnectionInputHandler.h \
- TxMocks.h
+ TxMocks.h \
+ qpid_test_plugin.h
check_LTLIBRARIES += libdlclose_noop.la
libdlclose_noop_la_LDFLAGS = -module -rpath $(abs_builddir)
diff --git a/cpp/src/tests/cluster.mk b/cpp/src/tests/cluster.mk
index 8c6c69db21..da5b4d6e90 100644
--- a/cpp/src/tests/cluster.mk
+++ b/cpp/src/tests/cluster.mk
@@ -17,6 +17,6 @@ EXTRA_DIST+=ais_check
check_PROGRAMS+=cluster_test
cluster_test_SOURCES=unit_test.cpp cluster_test.cpp
-cluster_test_LDADD=$(lib_client) $(lib_cluster) $(lib_broker) -lboost_unit_test_framework
+cluster_test_LDADD=$(lib_client) $(lib_cluster) -lboost_unit_test_framework
endif
diff --git a/cpp/src/tests/cluster_test.cpp b/cpp/src/tests/cluster_test.cpp
index 82d18aceff..65aa4d5a28 100644
--- a/cpp/src/tests/cluster_test.cpp
+++ b/cpp/src/tests/cluster_test.cpp
@@ -60,7 +60,7 @@ struct ClusterFixture : public ptr_vector<ForkedBroker> {
void ClusterFixture::add() {
broker::Broker::Options opts;
- Plugin::Factory::addOptions(opts); // For cluster options.
+ Plugin::addOptions(opts); // For cluster options.
const char* argv[] = {
"", "--cluster-name", name.c_str(), "--auth=no", "--no-data-dir"
};