summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2246 - QMF - Querying objects using a selector of type ObjectId yields ↵Ted Ross2009-12-043-4/+31
| | | | | | incorrect results git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887320 13f79535-47bb-0310-9956-ffa450edef68
* Disabled user-id test from the pure python console. This needs to be ↵Ted Ross2009-11-111-1/+1
| | | | | | | | | re-designed following the update to SASL on Python. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835040 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious assertion from python test agentTed Ross2009-10-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829786 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to broker and agent bank from API, replaced with theTed Ross2009-10-232-3/+15
| | | | | | | | | | | | | more generic (and forward compatible) "key". In the Ruby binding, ensured that ruby objects reference their own copies of the wrapped c++ objects to protect from problems when the c++ objects are deleted out from under the wrappers. Added agent discriminator to the console::objects method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2126 - Sync the python QMF bindings to the current Ruby QMF bindings ↵Ted Ross2009-10-201-48/+85
| | | | | | | | | implementation Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827686 13f79535-47bb-0310-9956-ffa450edef68
* Bug fix: Console sent get-requests (by objectId) to all agents, not just the ↵Ted Ross2009-10-152-0/+26
| | | | | | | | | agent identified in the objectId. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825672 13f79535-47bb-0310-9956-ffa450edef68
* Added select for object queries (Ruby).Ted Ross2009-10-151-0/+7
| | | | | | | Added separate callback-thread to prevent deadlock when a user blocks on a callback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825492 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes in Ruby Console:Ted Ross2009-10-021-2/+5
| | | | | | | | | | - AgentProxy object now has broker_bank and agent_bank accessors - Fixed a bug in the returning og reference values (ObjectId) - Added package_name accessor to SchemaObjectClass - Added accessors for agent/broker bank to ObjectId git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821181 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes:Ted Ross2009-10-023-2/+12
| | | | | | | | | - In ruby: waitForStable => wait_for_stable - Setting an unknown attribute on connection settings now throws an exception - Added connected? accessor to Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821109 13f79535-47bb-0310-9956-ffa450edef68
* QMF Engine updates:Ted Ross2009-09-291-2/+32
| | | | | | | | | - Connected console handler callbacks - Added string representations for a number of object classes - Added a feature that completes query requests sent to disconnected agents git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819819 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-252-21/+19
| | | | | | | | | | | | - Refactored into two namespaces: 1) 'qmf' for the public QMF api (c++) 2) 'qmf::engine' for the public engine API (used for language bindings) - Added object and first_object calls to Console (in Ruby) - Made objects call compatible with the kwarg arguments used in the older API - Added to_s functions to classes that needed them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818994 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to the QMF Ruby API - added missing methods and reduced use of "get_" ↵Ted Ross2009-09-233-20/+22
| | | | | | convention. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818141 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-222-9/+80
| | | | | | | | | | - Added "sendUserId" option (defaults to true) to QMF connection settings - Implemented the user-id function using "negotiatedSettings" from qpid::client::Connection - Fixed a sign-extension bug in Value - Added tests for all of the above git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817813 13f79535-47bb-0310-9956-ffa450edef68
* Properly report test failures in Ruby testsTed Ross2009-09-211-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817375 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a Ruby convention problem (camel-case vs. underscores)Ted Ross2009-09-211-2/+2
| | | | | | | Added method_missing function for Arguments for direct access to method output args. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817314 13f79535-47bb-0310-9956-ffa450edef68
* Added Ruby test infrastructure and Console tests in RubyTed Ross2009-09-213-1/+210
| | | | | | | | | | Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817312 13f79535-47bb-0310-9956-ffa450edef68
* Added accessor for returned method argumentsTed Ross2009-09-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816776 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-181-1/+1
| | | | | | | | | | | | | | | | the pimpl (Pointer to Implementation) pattern: 1) Impl classes have constructors matching the public constructors 2) Additional Impl constructors are accessed through a static factory function 3) All linkages to objects are to the public object 4) If a back-link (from Impl to public) is needed, the Impl class must be derived from boost::noncopyable 5) All public classes have non-default copy constructors that make a copy of the Impl class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816770 13f79535-47bb-0310-9956-ffa450edef68
* QMF ConsoleTed Ross2009-09-172-40/+55
| | | | | | | | | - Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816345 13f79535-47bb-0310-9956-ffa450edef68
* QMF Console updated to the point where query (get_object) is supported.Ted Ross2009-09-153-18/+76
| | | | | | | The Ruby binding continues to track the c++ engine progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815416 13f79535-47bb-0310-9956-ffa450edef68
* Improved automake for the qmf bindings.Ted Ross2009-09-032-21/+34
| | | | | | | | | - Added conditionals for HAVE_PYTHON_DEVEL - Added conditionals in the run_interop_tests script to skip tests of unbuilt components - Removed from distribution the code generated by swig for Python git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2064 - add python bindings for qmf (c++)Ted Ross2009-09-022-2/+222
| | | | | | | Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810523 13f79535-47bb-0310-9956-ffa450edef68
* More QMF implementation:Ted Ross2009-09-021-1/+19
| | | | | | | | - Added schema handling and exchange to the console - Improved the connection performance by switching to pre-acquired mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810482 13f79535-47bb-0310-9956-ffa450edef68
* Added protocol module for codepoint definitions and header handling.Ted Ross2009-08-311-1/+1
| | | | | | | | Fixed a deadlock case in ResilientConnection. Added more code to the ConsoleEngine implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809728 13f79535-47bb-0310-9956-ffa450edef68
* Major work in the QMF engine.Ted Ross2009-08-284-1/+77
| | | | | | | | | - The console framework now establishes connectivity with the broker. - The Ruby binding for console is tracking the engine development. - Overall improvements (thread safety in Ruby, etc.) have been added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809042 13f79535-47bb-0310-9956-ffa450edef68
* Added QMF tests for method invocation and numeric types.Ted Ross2009-08-242-12/+172
| | | | | | | Improved the swig typemaps to handle different numeric cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807288 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the new QMF ConnectionSettings and incorporated into the bindings.Ted Ross2009-08-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806725 13f79535-47bb-0310-9956-ffa450edef68
* Add test script to distribution listGordon Sim2009-08-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803403 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-112-27/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803270 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles in the QMF bindings area.Ted Ross2009-08-114-0/+269
Added tests for the QMF bindings. Removed spurious "cout" prints from qmf/Agent.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803156 13f79535-47bb-0310-9956-ffa450edef68