summaryrefslogtreecommitdiff
path: root/cpp/src/tests/cli_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-041-83/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1672Michael Goulish2011-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What was a single test -- sasl_fed_ex -- is now 4 tests with a common core. They are: sasl_fed_ex_dynamic sasl_fed_ex_link sasl_fed_ex_queue sasl_fed_ex_route ( and the common core is sasl_fed_ex ) These tests correspond to the 4 different ways that the qpid-route command has of making links, or links+routes. All those pathways have to be modified so that the new "mechanism" argument information can be passed down and used -- so that you can specify a SASL mechnism to be used on the interbroker link that you create. ( So -- the qpid-route command also had to be modified to propagate the mechanism info with all 4 subcommands. ) Since the SASL mechanism is owned by the link, these tests check that the link comes up and becomes operational. Finally, I modified the sasl-mechanism flag in qpid-route to call it "client-sasl-mechanism" to better distinguish between the SASL mechanism used in the created route -- and the SASL mechanism (if any) that is used when the qpid-route client itself connects to the broker that it is talking to. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075452 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3087: add extra test for qpid-config and handling string values in ↵Gordon Sim2011-02-251-0/+20
| | | | | | arguments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1074698 13f79535-47bb-0310-9956-ffa450edef68
* Move brokertest.py from qpid/python to qpid/cpp.Alan Conway2011-01-211-1/+1
| | | | | | | | | | brokertest.py is a framework for tests using the C++ broker, so it belongs in the cpp tree rather than the python tree. It is installed to libexec/qpid/tests/ so it can be used from an installation of qpid cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061933 13f79535-47bb-0310-9956-ffa450edef68
* Allow command line utilities to require a given SASL mechanism.Jonathan Robie2010-12-211-0/+49
| | | | | | | | | | Useful if the client's most secure mechanism is suspect, e.g. if Kerberos configuration problems may exist. Also useful in a variety of test scenarios. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1051700 13f79535-47bb-0310-9956-ffa450edef68
* Made qpid-xxx management scripts callable as python functions.Jonathan Robie2010-12-171-18/+124
| | | | | | | | | | | | | | | | | | | | | Examples (from cli_tests.py): def qpid_config_api(self, arg = ""): script = import_script(checkenv("QPID_CONFIG_EXEC")) broker = ["-a", "localhost:"+str(self.broker.port)] return script.main(broker + arg.split()) def qpid_route_api(self, arg = ""): script = import_script(checkenv("QPID_ROUTE_EXEC")) return script.main(arg.split()) Useful primarily for qpid-config, qpid-route, and qpid-cluster. Probably not useful for qpid-stat, qpid-printevents, qpid-queue-stats, which just create screen output. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1050425 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2327 - Enhance qpid-config to deal with xml and headers brokersTed Ross2010-01-071-0/+110
| | | | | | | Committed patch from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2181 - Alternate exchange on queue is not visible in management toolsTed Ross2009-10-301-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831351 13f79535-47bb-0310-9956-ffa450edef68
* Added management visibility into the alternate exchange and auto-delete ↵Ted Ross2009-08-251-0/+22
| | | | | | | | | | | attributes of an exchange. Note that auto-delete is not implemented for exchanges. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807712 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-111-49/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803270 13f79535-47bb-0310-9956-ffa450edef68
* Remove unicode when dealing with usernames and passwords in URLs.Ted Ross2009-02-121-1/+1
| | | | | | | | This solves a problem seen with qpid-route when credentials are supplied. A test was added to regression test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743819 13f79535-47bb-0310-9956-ffa450edef68
* Added lvq-no-browse support to qpid-config.Ted Ross2009-01-151-0/+39
| | | | | | | Added tests for the qpid-specific queue parameters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734689 13f79535-47bb-0310-9956-ffa450edef68
* Added test coverage for the CLI utilitiesTed Ross2009-01-091-0/+152
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733108 13f79535-47bb-0310-9956-ffa450edef68