summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Optimized TopicExchange matching.Alan Conway2009-05-221-119/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777347 13f79535-47bb-0310-9956-ffa450edef68
* More work on cmake:Andrew Stitcher2009-05-142-8/+16
| | | | | | | | | Make tests build on Linux Fix XML tests to run Fix cmake installed locations for modules/config files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774814 13f79535-47bb-0310-9956-ffa450edef68
* Windows adjustments to run testsStephen D. Huston2009-05-111-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773716 13f79535-47bb-0310-9956-ffa450edef68
* Patch small probs building tests, examples on WindowsStephen D. Huston2009-05-111-14/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773714 13f79535-47bb-0310-9956-ffa450edef68
* Cmake fixes:Andrew Stitcher2009-05-111-4/+6
| | | | | | | | | | Mirrored recent management code update. Don't build failover_soak without cluster Remove some unnecessary #includes from examples git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773636 13f79535-47bb-0310-9956-ffa450edef68
* Added method to test validity of session object.Gordon Sim2009-05-111-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773535 13f79535-47bb-0310-9956-ffa450edef68
* More work on cmake: Get many more tests working on Linux nowAndrew Stitcher2009-05-072-12/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772681 13f79535-47bb-0310-9956-ffa450edef68
* DeliveryRecord optimizations.Alan Conway2009-05-061-1/+1
| | | | | | | | Replace linear search with binary search. Collapse multi-pass mark-then-erase to a signle pass. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772384 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless qpid/shared_ptr.h wrapper.Alan Conway2009-05-061-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772294 13f79535-47bb-0310-9956-ffa450edef68
* Remove client::Execution and FrameSet from the public API.Alan Conway2009-05-061-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772182 13f79535-47bb-0310-9956-ffa450edef68
* Changed name of store switch environment variableKim van der Riet2009-05-051-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771943 13f79535-47bb-0310-9956-ffa450edef68
* Applied PIMPL pattern to SubscriptionManager.Alan Conway2009-05-049-3/+11
| | | | | | | Cleaned up some sloppy #includes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771366 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the DispatchHandle/Poller code to remove a long standingAndrew Stitcher2009-05-041-25/+33
| | | | | | | | | | | | | | set of race conditions. - Changed Poller naming for better clarity with new semantics. - Changed Poller semantics to avoid DispatchHandle keeping so much state - Changed Poller so that it will never re-enable a Handle until Poller::wait is called again on the same thread that returned the Handle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771338 13f79535-47bb-0310-9956-ffa450edef68
* Some more fixes to build under Visual Studio 2008Andrew Stitcher2009-05-032-2/+2
| | | | | | | Remove some simple Visual Studio 2008 warnings Fix qmfconsole build under Windows and CMake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771020 13f79535-47bb-0310-9956-ffa450edef68
* Add Visual Studio sln/vcproj files to EXTRA_DIST to include them in ↵Stephen D. Huston2009-05-011-1/+18
| | | | | | releases; fixes QPID-1836 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770833 13f79535-47bb-0310-9956-ffa450edef68
* Cluster test code now has a persistence switch controlled by the ↵Kim van der Riet2009-05-017-112/+175
| | | | | | environment. When this switch set, all brokers start with the store module loaded, all queues are declared persistent and all messages are also made persistent. The absolute paths to module libs hardcoded into the test fixtures have been replaced by paths relative to environment variable QPID_LIB_DIR (which is set in Makefile.am). The cluster test, when run from qpid, will continue to run without persistence by default; the intention is to have the store test code run this test directly with the switch turned on. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770796 13f79535-47bb-0310-9956-ffa450edef68
* Help more tests runStephen D. Huston2009-04-302-40/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770447 13f79535-47bb-0310-9956-ffa450edef68
* Fixed testShlib and testAutoShlib path typoKim van der Riet2009-04-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770335 13f79535-47bb-0310-9956-ffa450edef68
* Pass platform's shared lib prefix, suffix to test progs that need it; use it ↵Stephen D. Huston2009-04-293-25/+25
| | | | | | to pick up proper file for libtool/cmake/Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770001 13f79535-47bb-0310-9956-ffa450edef68
* Add tests; revise checks for C++ headers to uuse C++, not CStephen D. Huston2009-04-282-160/+228
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769480 13f79535-47bb-0310-9956-ffa450edef68
* Merge in initial changes to allow building with CMake; rubygen and ↵Stephen D. Huston2009-04-231-0/+253
| | | | | | managementgen can now generate either .mk files or .cmake files as needed; CONF_FILE and MODULE_DIR macros now have broker/client counterparts QPIDD_CONF_FILE, QPIDD_MODULE_DIR, QPIDC_CONF_FILE, QPIDC_MODULE_DIR configurable by cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@768085 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile warning-turned-errorStephen D. Huston2009-04-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@768051 13f79535-47bb-0310-9956-ffa450edef68
* Apply PIMPL pattern to client::Completion and client::Future.Alan Conway2009-04-231-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767896 13f79535-47bb-0310-9956-ffa450edef68
* Fix valgrind error in PollableCondition unit test.Alan Conway2009-04-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767669 13f79535-47bb-0310-9956-ffa450edef68
* Unit test for PollableCondition.Alan Conway2009-04-222-1/+119
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767666 13f79535-47bb-0310-9956-ffa450edef68
* Apply PIMPL pattern to qpid::client::Message.Alan Conway2009-04-205-6/+54
| | | | | | | Hide implementation of Message, move framing::MethodContent and framing::TransferContent out of public API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766899 13f79535-47bb-0310-9956-ffa450edef68
* Small change to ClusterFixture which allows a different path to the ↵Kim van der Riet2009-04-172-16/+17
| | | | | | cluster.so lib for persistence testing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766110 13f79535-47bb-0310-9956-ffa450edef68
* Override the executable used by ForkedBroker by setting an env. var.Alan Conway2009-04-162-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765685 13f79535-47bb-0310-9956-ffa450edef68
* Removed defunct interop_runner test, was never updated from 0-8 channel API.Alan Conway2009-04-159-793/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765370 13f79535-47bb-0310-9956-ffa450edef68
* Clean up temporary data directories in tests.Alan Conway2009-04-154-19/+30
| | | | | | | | ForkedBroker.cpp: create/delete tmp data directory if passed arg TMP_DATA_DIR. failover_soak.cpp, PartialFailure.cpp: use tmp data dir feature of ForkedBroker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765365 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in SocketProxy causing occasional hangs in tests.Alan Conway2009-04-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765338 13f79535-47bb-0310-9956-ffa450edef68
* Update client test to use SubscriptionManager.Alan Conway2009-04-151-26/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765249 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression: close shadow connections belonging to brokers that have left ↵Alan Conway2009-04-142-1/+60
| | | | | | the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764783 13f79535-47bb-0310-9956-ffa450edef68
* Trivial fix for gcc 4.3 compiler (F10) "may be used uninitialized" errorKim van der Riet2009-04-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764424 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues when cluster is run with persistence enabled.Alan Conway2009-04-1114-106/+468
| | | | | | | | | | - Handle partial failures (e.g. due to disk error): failing brokers shut down, others continue. - Enable persistence in cluster tests. - Correct message status in DeliveryRecord updates. - Remove qpid.update queue when update complete - avoid it becoming persistent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764204 13f79535-47bb-0310-9956-ffa450edef68
* Add durability option to the cpp failover_soak test. Alan Conway2009-04-094-19/+54
| | | | | | | From Mick Goulish: https://issues.apache.org/jira/browse/QPID-1796, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@763722 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/failover_soak.cpp: allow it to run with all modules loaded or ↵Alan Conway2009-03-312-32/+39
| | | | | | | | | only the cluster module. cpp/src/tests/run_failover_soak: run failover_soak with all modules loaded by default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@760458 13f79535-47bb-0310-9956-ffa450edef68
* Lib tweaksStephen D. Huston2009-03-2717-164/+164
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@759318 13f79535-47bb-0310-9956-ffa450edef68
* Enable SocketProxy portability to Windows; fixes QPID-1765Stephen D. Huston2009-03-261-41/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@758852 13f79535-47bb-0310-9956-ffa450edef68
* Fix some bashishms in test scriptsManuel Teira Paz2009-03-172-11/+24
| | | | | | | | Replace usage of seq (not widely available) with a while loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755161 13f79535-47bb-0310-9956-ffa450edef68
* In testLoggerFormat:Manuel Teira Paz2009-03-171-1/+1
| | | | | | | | | | Change Logger::FUNCTION test to be aware that not all compilers may implement a __func__ macro -> Compare directly with BOOST_CURRENT_FUNCTION result git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1741: Fix for later versions of boost test API (from Jan Sarenik)Gordon Sim2009-03-171-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755152 13f79535-47bb-0310-9956-ffa450edef68
* Changes to build DLLs instead of static libs on Windows; primarily added ↵Stephen D. Huston2009-03-1225-447/+560
| | | | | | decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1729: trivial cleanup for shutdown in the case that perftest loses ↵Gordon Sim2009-03-121-2/+4
| | | | | | connection(s). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1724: Allow replication events to be shared across multiple federations ↵Gordon Sim2009-03-102-1/+131
| | | | | | bridges. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752290 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster ACL test, disabled for now as it exposes a memory leak in the ↵Alan Conway2009-03-101-35/+48
| | | | | | SASL client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752154 13f79535-47bb-0310-9956-ffa450edef68
* configure.ac:Manuel Teira Paz2009-03-108-11/+23
| | | | | | | | | | | | | | - Add a SOCKLIBS definition, to define needed network libraries in Solaris src/tests/failover_soak.cpp - Replace usage of timersub with direct code, since timersub appears to be non-posix. src/tests/Makefile.am - Link against $(SOCKLIBS) when needed src/tests/* - Some qualifying needed for the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752019 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster TTL: replicte expiry information to newcomers.Alan Conway2009-03-092-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1721: Fixes for replication between clusters when new members are addedGordon Sim2009-03-092-2/+130
| | | | | | | | | | * suppress event generation during node catch up * ensure sequence counters used for duplicate detection are synchronised in both primary and dr clusters when new members join * connect queue with the event manager within queue registry rather than adapter as the latter path is not used for catchup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751719 13f79535-47bb-0310-9956-ffa450edef68
* Ack outstanding messages before closingGordon Sim2009-03-091-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751713 13f79535-47bb-0310-9956-ffa450edef68