Commit Graph

381 Commits

Author SHA1 Message Date
Steve Powell 30c1062622 Added content with nulls tests to erlang unittests. 2011-02-18 16:16:56 +00:00
Steve Powell e25e87f226 Further fixes to test in parsing.py 2011-02-17 18:33:08 +00:00
Steve Powell fbbadfb6b4 Fix minor error in test for embedded nulls 2011-02-17 17:25:40 +00:00
Steve Powell 8574dbc663 Added test for embedded nulls in STOMP MESSAGE body. 2011-02-17 16:48:41 +00:00
Steve Powell 95c8c95466 Merged bug23527 into default 2011-02-17 12:33:05 +00:00
Rob Harrop 7aa525dd1d Add support for persistent header 2011-02-17 10:29:16 +00:00
Rob Harrop 97262e429f DISCONNECT now triggers connection and channel shutdown. Receipts for DISCONNECT are sent after this has happenend 2011-02-16 15:06:46 +00:00
Rob Harrop 5872bd908c Rough work on DISCONNECT fixes 2011-02-16 12:10:09 +00:00
Rob Harrop 506fc367cf Fixed issue with multi-confirm and added support for TX receipts 2011-02-16 11:54:13 +00:00
Rob Harrop d764c839bd Working confirm-triggered receipts for non-transactional SEND 2011-02-16 09:56:39 +00:00
David Wragg 89824d3c16 Merge default into bug23568 2011-02-15 15:51:47 +00:00
Steve Powell b53a83188a Merged in bug23527 2011-02-11 12:27:12 +00:00
Rob Harrop f2fcf05ed4 Removed race in the tests 2011-02-09 17:10:19 +00:00
Rob Harrop 69898554a7 Merge default 2011-02-09 16:59:12 +00:00
David Wragg ecd2f8fe42 Hook into the new rabbitmq-public-umbrella testing support 2011-02-01 16:03:11 +00:00
Rob Harrop 25f0279997 Reworked TCP send to use rabbit_net:port_command 2011-01-26 17:46:27 +00:00
Rob Harrop 23876fcd15 Reworked header conversion - slightly faster and quite a bit nicer 2011-01-26 14:48:02 +00:00
Rob Harrop c7dba8206c Changed how bytes are read from the socket - better performance for large messages 2011-01-25 15:21:35 +00:00
Rob Harrop 29699ea26a Merge with default 2011-01-24 23:50:22 +00:00
Rob Harrop 73350fe6af Reworked parser to use binaries 2011-01-19 20:50:10 +00:00
Rob Harrop 72d6bd51b0 Reworked body content parsing 2011-01-19 15:53:20 +00:00
Steve Powell 814f316b37 Put short delay into destinations test 2011-01-19 11:24:57 +00:00
Steve Powell 8a3694859b UN/SUBSCRIBE error messages contain the subscription as passed in by the user. 2011-01-18 16:24:42 +00:00
Steve Powell cb15502118 Merged default (with 1.1 support) and got tests working again. 2011-01-18 15:23:07 +00:00
Rob Harrop ba4d368f4a Fixed up bugs in new parser 2011-01-18 14:53:54 +00:00
Steve Powell 55f2e7eb95 Added receipted unsubscribe tests and check for send after unsubscribe properly. 2011-01-18 12:46:28 +00:00
Rob Harrop e83b25e547 Merge with bug23447 2011-01-18 11:54:09 +00:00
Rob Harrop e8c86bd131 Merge with default 2011-01-18 11:03:35 +00:00
Steve Powell 6f8e904f9b Merge in bug23601 fixes 2011-01-17 18:04:21 +00:00
Steve Powell e09807c6c4 Refactored lifecyclke tests 2011-01-17 17:55:27 +00:00
Rob Harrop ebb918804a Added support for multi NACK 2011-01-17 12:35:45 +00:00
Rob Harrop 35a9f337f2 Merge bug23685 into default 2011-01-17 11:18:29 +00:00
Steve Powell 8c5759a3d4 Added receipted unsubscribes to lifecycle test
Augnmented handle_info to allow basic.cancel_ok records;
tweaked base.py Latch class not to underflow count;
receipted tests in lifecycle check for receipts.
2011-01-14 17:09:50 +00:00
Rob Harrop 939a6a77c2 Tests and improvements for header value stripping, escaping and duplication 2011-01-14 15:39:58 +00:00
Rob Harrop 014d7ec03a Exploratory rework of frame parser 2011-01-14 12:46:58 +00:00
Steve Powell fa5f530a18 Added tests to check queue subscriptipn UNSUBSCRIBE
Augmented listener class (python) to allow debugging;
patch Latch, natch.
2011-01-14 10:49:38 +00:00
Rob Harrop 65221a020b Reworked handling of AMQP errors so that the STOMP session is terminated too 2011-01-13 15:38:12 +00:00
Steve Powell b2f87b62c9 Added tests for unsubscribe from queue by destination and id 2011-01-13 15:24:25 +00:00
Steve Powell 2e5d05e692 Missing subscription tag does not terminate channel process.
error frame delivered instead of message frame;
test (lifecycle.py) updated to check for no errors at crucial points.
2011-01-13 14:18:25 +00:00
Rob Harrop 162fd62b6d Added support for NACK 2011-01-11 13:57:59 +00:00
Rob Harrop 2a9487d4fa Removed stray debug line 2011-01-10 20:27:57 +00:00
Rob Harrop 48b77578a9 Fixed issue with merge that broke version negotiation tests 2011-01-10 20:27:32 +00:00
Rob Harrop 9fbb78c2b4 Fixed issue with arbitrary headers not being included in MESSAGE frames 2010-11-17 09:09:45 +00:00
Rob Harrop a01a6d5290 Fixed missing version header in CONNECTED frames 2010-11-12 07:23:02 +00:00
Rob Harrop e4b3035bf8 Basic heartbeating for both server and client 2010-11-09 19:10:56 +00:00
Rob Harrop 888214a640 tweaked test case to better exercise negotiation 2010-11-09 14:39:50 +00:00
Rob Harrop 3078d153da test for prefetch with topics 2010-11-09 14:30:56 +00:00
Rob Harrop 7f4cf91813 Reworked ack handling to be inline with the 1.1 spec. Re-introduced the prefetch-count header to make ACK more useful 2010-11-09 14:12:59 +00:00
Rob Harrop 043a1de112 Version negotiation 2010-11-09 12:45:00 +00:00
Rob Harrop ada5a8e81d Partially complete version negotiation 2010-11-09 11:57:20 +00:00
Rob Harrop fdfbf9a516 Utility for calculating the maximum version shared by the client and the server 2010-11-09 11:17:01 +00:00
Rob Harrop 101e46c9ea Moved STOMP Headers -> AMQP Properties into util 2010-10-28 12:57:58 +01:00
Rob Harrop 2198bf21d1 Moved the AMQP Properties -> STOMP headers conversion over to util 2010-10-28 12:04:40 +01:00
Rob Harrop b2b531e98e Decided to move consumer tag processing in the end 2010-10-28 09:17:38 +01:00
Rob Harrop f39b804f27 Tests for longstr_field. Moved ack_mode calculation to util and added unit tests 2010-10-28 08:59:43 +01:00
Michael Bridgen 9d8ac7114b Account for /exchange//something, which would previously have referred to exchange something
with no routing key (due to the removal of all leading blanks. We choose to interpret it as
referring to the default exchange, and reject it on the basis that you cannot bind to the
default exchange so it cannot follow our /exchange semantics.
2010-10-18 17:16:33 +01:00
Rob Harrop 9d899c323b support for escaping / in destination names 2010-10-18 13:29:51 +01:00
Rob Harrop 389cdb24a9 made the tests a bit smarter when waiting for multiple messages 2010-10-12 13:02:23 +01:00
Rob Harrop 4894ed304f segmented /queue from other destinations on a separate channel 2010-10-07 17:31:18 +01:00
Rob Harrop b927af39f4 added some more error case tests 2010-10-07 11:15:17 +01:00
Rob Harrop 8515309093 changed how we reference stomppy now, so that it is pulled down from hg 2010-10-07 11:09:50 +01:00
Rob Harrop b3b5502ab1 adding missing test file, correct branch this time 2010-10-07 10:32:36 +01:00
Rob Harrop 5319764146 reworked error handling to get better messages when dealing with invalid destinations 2010-10-07 09:49:47 +01:00
Rob Harrop a3f2bf17dc cosmetics 2010-10-06 15:25:55 +01:00
Rob Harrop 17307323ea more tests, and added /topic 2010-10-06 14:05:02 +01:00
Rob Harrop 1811e77e81 added all tests back in. removed stray io:format 2010-10-06 13:17:00 +01:00
Rob Harrop f8acc6b87d more tests for /queue. added a basic.qos call temporarily while I decide what to do with prefetch for /queue 2010-10-06 13:14:54 +01:00
Rob Harrop 3f9a113873 reworked tests and introduced /exchange and /queue destinations 2010-10-06 12:16:40 +01:00
Rob Harrop f7d4308997 Introduced /exchange support 2010-10-05 13:36:12 +01:00
Rob Harrop 68372b7e39 more unit tests for the destination parser 2010-10-01 14:49:23 +01:00
Rob Harrop 1d25309ded unit tests for the destination parser 2010-10-01 13:41:04 +01:00
Rob Harrop cfd1efb994 working on unit tests 2010-10-01 12:27:10 +01:00
Rob Harrop 3f7d45fa77 tests tweaked to accound for different error frames 2010-09-30 12:54:46 +01:00
Marek Majkowski 2c519a54df Merging default into bug21318. 2009-08-27 11:46:27 +01:00
Marek Majkowski 132ee7d62e Make stomp plugin working again, after SSL changes to server code 2009-08-27 11:43:49 +01:00
Marek Majkowski 06b4ffd746 Test script is now executed as os:cmd. God elp us with escaping. 2009-08-25 15:24:15 +01:00
Marek Majkowski 6cb8c3b72f Added test for bug 20390. 2009-08-25 13:11:45 +01:00
Marek Majkowski b8a1052115 removed static netcat files, right now the tests are in python 2009-08-14 16:16:44 +01:00
Marek Majkowski c12fb1e0ca Added simple test suite as a python script. make test now returns 70% of stomp code coverage. 2009-07-24 17:32:02 +01:00
Tony Garnock-Jones 51693e51f5 Examples of newlines in nonstandard places 2009-07-17 11:53:18 +01:00
Tony Garnock-Jones ad0c323e57 Test scripts I used to track down the recent issues 2009-02-19 13:02:27 +00:00