diff options
author | Alan Conway <aconway@apache.org> | 2006-10-31 19:53:55 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2006-10-31 19:53:55 +0000 |
commit | 9094d2b10ecadd66fa3b22169183e7573cc79629 (patch) | |
tree | bf3915f72be2a5f09932b800d2fa4309fb3ad64e /cpp/test/unit | |
parent | 0487ea40bc6568765cdec75a36273eeb26fae854 (diff) | |
download | qpid-python-9094d2b10ecadd66fa3b22169183e7573cc79629.tar.gz |
IO refactor phase 1. Reduced dependencies, removed redundant classes.
Renamed pricipal APR classes in preparation for move to apr namespace.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/test/unit')
-rw-r--r-- | cpp/test/unit/qpid/broker/ConfigurationTest.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cpp/test/unit/qpid/broker/ConfigurationTest.cpp b/cpp/test/unit/qpid/broker/ConfigurationTest.cpp index 1c24076ee3..7acee7c8b9 100644 --- a/cpp/test/unit/qpid/broker/ConfigurationTest.cpp +++ b/cpp/test/unit/qpid/broker/ConfigurationTest.cpp @@ -28,8 +28,6 @@ class ConfigurationTest : public CppUnit::TestCase CPPUNIT_TEST(testIsHelp); CPPUNIT_TEST(testPortLongForm); CPPUNIT_TEST(testPortShortForm); - CPPUNIT_TEST(testAcceptorLongForm); - CPPUNIT_TEST(testAcceptorShortForm); CPPUNIT_TEST(testVarious); CPPUNIT_TEST_SUITE_END(); @@ -59,29 +57,12 @@ class ConfigurationTest : public CppUnit::TestCase CPPUNIT_ASSERT_EQUAL(6789, conf.getPort()); } - void testAcceptorLongForm() - { - Configuration conf; - char* argv[] = {"ignore", "--acceptor", "blocking"}; - conf.parse(3, argv); - CPPUNIT_ASSERT_EQUAL(string("blocking"), conf.getAcceptor()); - } - - void testAcceptorShortForm() - { - Configuration conf; - char* argv[] = {"ignore", "-a", "blocking"}; - conf.parse(3, argv); - CPPUNIT_ASSERT_EQUAL(string("blocking"), conf.getAcceptor()); - } - void testVarious() { Configuration conf; char* argv[] = {"ignore", "-t", "--worker-threads", "10", "-a", "blocking"}; conf.parse(6, argv); CPPUNIT_ASSERT_EQUAL(5672, conf.getPort());//default - CPPUNIT_ASSERT_EQUAL(string("blocking"), conf.getAcceptor()); CPPUNIT_ASSERT_EQUAL(10, conf.getWorkerThreads()); CPPUNIT_ASSERT(conf.isTrace()); CPPUNIT_ASSERT(!conf.isHelp()); |