Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
xinchen 709630aa5f SASL errors do not close transport #171 2016-11-12 11:17:48 -08:00
xinchen 3a159451b0 Issue with version 1.2.1 while unregistering message processor. #169 2016-11-09 20:40:28 -08:00
xinchen 97f27ea472 Unit tests for net40 2016-10-30 23:27:11 -07:00
xinchen e847ab0f76 Add more tests to dotnet 2016-10-29 20:45:19 -07:00
xinchen bf0691a6ca Ignore rather than throw when output is closed (#159). Add test coverage for similar cases. 2016-10-23 21:58:49 -07:00
xinchen c686b7c111 Add a long running test 2016-10-23 18:13:58 -07:00
xinchen 388898bf4d Version 2.0.0 - Major changes.
* Move serialization into a new assembly for netstandard1.3, so the core AMQP lib can be consumed by Xamarin mono targets.
* Unify assembly names to Amqp.Net to make it possible to create a portable reference assembly.
2016-09-17 16:26:43 -07:00
Chuck Rolke 166737b7b6 Remove GroupId setting when messages are to go to multiple receivers 2016-09-09 11:57:50 -04:00
xinchen bb295011b0 Make TestTarget work for all projects. 2016-08-17 18:24:59 -07:00
Chuck Rolke 54e2fde441 Parameterize link tests to steer AMQP I/O to another broker and path
Link tests have hard coded "amqp:guest:guest@127.0.0.1:5672" broker
and "q1" path. Changing these to point to another broker/path is a
problem.

This patch creates a TestTarget class that holds the broker
address and path. The default values are the same as before. TestTarget
can override those values with an environment variable in the form of
an Address URI.

  $ SET AMQPNETLITE_TESTTARGET=amqp://admin:password@example.com:9876/bigqueue
  $ mstest ...

Then each test file instantiates an instance of TestTarget and uses
that to locate the broker and what target to use for the test.

This patch has a few outstanding issues:

* I did not see an easy way to provide the override values on the mstest
command line. Good self tests are immune to environment variable settings.
The current solution is a compromise to allow expanded utility in a
simple form. Improvements are welcome.

* Hard coded localhost addresses, ports, and path values of "q1" still exist.
This patch does not try to solve them all.
2016-08-17 14:44:07 -04:00
Adam Araminowicz 39da8aa78a DescribedMapType supports string keys. 2016-08-09 19:05:11 +02:00
xinchen db44342b50 Add custom transport test and example 2016-07-11 08:00:07 -07:00
xinchen 916af4cbaf Support custom transport listener. 2016-07-10 16:52:02 -07:00
xinchen be924d883c Update TransportFactory. Expose ClientWebSocketOptions. 2016-07-09 11:45:10 -07:00
xinchen 065a218216 Change how transport factories are registered with ConnectionFactory 2016-06-26 12:19:31 -07:00
xinchen 28e2225498 Support custom transport factory and add WebSocket transport using it on .Net Core 2016-06-20 22:10:30 -07:00
xinchen 0fa5680892 LinkReopen test leaves stray messages on broker queue #137 2016-06-15 17:37:07 -07:00
xinchen 67c52f75c3 Tests for dotnet core 2016-06-10 23:46:34 -07:00
Chuck Rolke 243c86e8a3 Fix log time-of-day specification string. 2016-06-08 17:39:49 -04:00
xinchen b6220ea0d8 Null members in SimpleList should not be skipped 2016-06-01 19:06:30 -07:00
Matt Broadstone a47fb98036 feat(SimpleList): support serializing types as simple lists
This feature mirrors the support for a SimpleMap encoding, allowing
users to serialize their types as a plain AMQP list32 with no
leading descriptor.
2016-06-01 18:18:33 -04:00
xinchen f3d6e1e412 Rearrange test files 2016-05-24 21:16:39 -07:00