summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/legacystore
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7207: remove cpp and python subdirs from svn trunk, they have migrated ↵Robert Gemmell2016-07-0575-13688/+0
| | | | | | to their own git repositories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1751566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Use Python 2.6 compatible string formatsJustin Ross2016-04-211-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Create independent cpp and python subtrees, with content from ↵Justin Ross2016-04-213-20/+22
| | | | | | tools and extras git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7148: Update CMake files to use better more modern style and featuresAndrew Stitcher2016-03-161-2/+1
| | | | | | | - This is already the way we do this stuff in Qpid Proton - Upgrade minimum version of CMake to 2.8.7 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6399: Fix store tests for run_test option syntax change.Alan Conway2015-04-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5560: HA tests do not use AMQP 1.0Alan Conway2014-04-073-80/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HA tests were using only AMQP 0-10. Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available) Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation. Summary of changes: - brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0 - default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise - qpidtoollibs/broker.py: enable use of swig client with BrokerAgent - Swig python client: - support for passing client_properties/properties. - expose AddressHelper pn_data read/write as PnData helper class - set sender/receiver capacity on creation - limited disposition support - rejected messages. - support for additional timeout parameters - expose messaging::Logger, allow log configuration to be set from python. - ha_tests.py: - bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF. - pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive) - TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.) - Broker fixes: - Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue. - broker::amqp::Session was always setting an exclusive owner in createQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5659: Fixes to compile with C++11 (needed to compile with clang on ↵Andrew Stitcher2014-04-022-3/+3
| | | | | | | | | | | FreeBSD 10) - shared_ptr no longer has a default conversion to bool. - Change in default destructor semantics: by default destructors are now not allowed to throw exceptions. - stringstream no longer has a default conversion to string. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5641: [legacystore] Valgrind reports memory leaks on older store testsKim van der Riet2014-03-215-1727/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5336: Don't hardcode location of bash in shell scriptsAndrew Stitcher2013-11-1412-12/+12
| | | | | | | As bash isn't specified by POSIX its location is variable. Specifically under BSDs it isn't found in /bin/bash. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5330: Simplify testing for presence of python testing code -Andrew Stitcher2013-11-122-3/+4
| | | | | | | this makes it much easier not to call the python testing code when it isn't available git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541241 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5301: support autodeleted exchangesGordon Sim2013-11-121-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5308: Allow various bits of the test outputs to be XMLAndrew Stitcher2013-11-071-3/+3
| | | | | | | - This meshes nicely with the Jenkins CI system which can better display tests results generated in XML. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539686 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5306: Improve c++ tests some more:Andrew Stitcher2013-11-072-262/+6
| | | | | | | | | | | | | | Add options to run_test script: --working-dir - run the test in this directory --build-dir - set the top of the build tree --source-dir - set the top of the source tree --python - run a python test --start-broker - start/stop broker before and after test --broker-options - allow non default broker options Remove a bunch of now obsolete testing related scripts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5284: ensure timestamp is added to the data that is persistedGordon Sim2013-11-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537889 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed reference to non-existent test.Alan Conway2013-10-311-2/+0
| | | | | | Removed test "NAME" from qpid/cpp/src/tests/legacystore/CMakeLists.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537512 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5260: Significant tidy up of cmake buildAndrew Stitcher2013-10-281-23/+24
| | | | | | | | | | | | | | | | | | | | | * Move to cmake 2.6 as minimum required version (2.4 is extremely long in the tooth now) * Add control over building individual language bindings * Make settings you don't usually want to change advanced so they are hidden by default * Changed to a uniform naming scheme for options: ** Options controlling what to build are all BUILD_ ** Options controlling features of he build are ENABLE_ ** Options controlling internal aspects of the qpid runtime are QPID_ * Respect the BUILD_TESTING option so that we won't build the tests unless it is set (it is by default) * If we don't find the boost_unit_test_framework then don't fail, just don't build the unit tests (this is motivated by one of the Apache Jenkins ubuntu builders which has this set up) * Tidied up some of the detection of external dependencies to make it more idiomatic cmake (but there is more to do here) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4927: Get cmake testing working with valgrindAndrew Stitcher2013-10-243-107/+2
| | | | | | [also remove unused files] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582, QPID-5215: fix linking errors for clock_gettimeGordon Sim2013-10-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582: Fixed unit legacystore unit test to remove warning under RHEL5Andrew Stitcher2013-10-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5215: Import rest of legacy store tests and utilities from original codeAndrew Stitcher2013-10-0863-39/+12588
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582: Get legacystore unit tests workingAndrew Stitcher2013-10-086-120/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4798: Fix up c++ code generation to use stripped spec files.Alan Conway2013-05-021-1/+1
| | | | | | | | The stripped specs have no <doc> elements, this was tripping up the code generator. Fixed the generator to process <doc> elements if they are present but to carry on without them if they are not. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed QPID store - reenable in buildCharles E. Rolke2013-01-101-0/+6
| | | | | | | | Add new legacystore.cmake to EXTRA_DIST in makefile suite. Fix cmake scripts for core library and tests. Note: Tests are not truly integrated. Four standalone unit tests are starters for proving functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed Qpid StoreCharles E. Rolke2013-01-0722-0/+3276
Add unit tests. There are several issues with these tests: 1. Originally the four .cpp unit test sources were compiled into a single unit_test executable. In the current framework those four sources create conflicting brokers that overwrite each other's store and fail to open port 5672. In this checkin there are four unit test executables. Running each serially gets them all to pass. A new strategy is needed to start brokers that don't conflict. 2. The legacystore.so is not integrated with the rest of the tests. Some tests may run with the externally compiled msgstore.so and some use the built in test_store. Plugging legacystore.so into these other tests is TBD. 3. cpp/src/tests/legacystore defines more tests beyond simple unit tests. None of the issues related to wider system tests are addressed yet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1430018 13f79535-47bb-0310-9956-ffa450edef68