xinchen
e7d749539a
Fix test build error
2024-09-04 17:36:53 -07:00
xinchen
d5a0fcb443
[ #590 ] ConnectionFactory: support CancellationToken
2024-09-04 17:09:53 -07:00
xinchen
da9139a204
Run tests with and without external test broker
2024-05-16 16:54:21 -07:00
xinchen
ff7c33f7c0
Test listener: support the Service Bus client
2024-03-07 10:00:09 -08:00
xinchen
b1a7eef36e
[ #579 ] Timestamp encoding precision
2024-02-27 14:27:28 -08:00
Xin Chen
772d0d3b6b
Fix570 ( #571 )
...
* Doc: message BodySection and possible types.
* Handle DataList in GetEstimatedBodySize
* [#570 ] ConnectionFactory should fail connection as early as possible
* Build error
2023-09-07 17:31:04 -07:00
Xin Chen
ff3ea9ea46
[ #566 ] Support custom message format (no custom encoding)
2023-04-30 20:40:57 -07:00
xinchen
293d3c29b8
Test broker: remove implicit queue when the last connection is closed. [ #487 ]
2022-02-10 10:12:23 -08:00
xinchen
5fa1815f33
Update namespace, xml comments, etc.
2021-01-14 15:18:26 -08:00
Stephan Zehetner
d3a0117253
Introduce IStringDecoder to support custom string pooling on read
2021-01-14 14:19:52 -08:00
xinchen
c557566ed9
[ #439 ] Serialization does not handle circular type references
2020-12-15 15:04:49 -08:00
xinchen
a8c3cc8a3d
[ #425 ] Encoder: check timestamp against DateTime value range.
2020-08-03 09:10:58 -07:00
Bill Johnson
fbdd91de02
Update TaskTests.cs ( #419 )
...
Fixing typo in test case
2020-05-11 14:24:09 -07:00
xinchen
2c38af646d
Handler support.
2019-08-12 16:49:45 -07:00
xinchen
4e9e328ea2
Test: delivery link validation
2019-01-31 16:06:05 -08:00
xinchen
782373decd
Test: concurrent link creation and closing
2018-09-10 15:44:26 -07:00
xinchen
f7499c1942
Test: concurrent senders
2018-09-07 15:49:06 -07:00
Nicolas Deslandes
17da976b6f
Fix SendAsync deadlock ( #288 )
...
* Added missing ConfigureAwait(false)
* Added marshalling of multiple delivery dispose
* Fix code to add support for .NET 3.5 and .NET MF
* Added test case for deadlock fix
* Simplify test
* Fix unit tests in AppVeyor
* Remove marshalling of delivery notifications to other tasks, to avoid unecessary context switching.
2018-08-01 16:51:55 -07:00
xinchen
852c1f8ec1
csproj rearrangement
2018-07-09 11:39:25 -07:00
xinchen
51eb827180
[ #276 ] ReceiverLink receive timeout issue
2018-06-07 14:12:27 -07:00
xinchen
a98038e6fd
Custom contract resolver
2018-04-24 11:14:42 -07:00
xinchen
f854ad10cb
#223 Add Decimal type for protocol passthrough
2018-01-05 11:27:56 -08:00
xinchen
b7cf22f7ff
API cleanup and testability #197
2017-06-15 16:33:02 -07:00
Chuck Rolke
11a48a578c
trivial typo fixes
2017-01-20 12:37:44 -05:00
xinchen
0867cce435
Client race condition detecting a link rejected by broker #179
2017-01-19 21:53:26 -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
35bc4eb90c
Test: use ipv4 for both client and listener to avoid unnecessary socket error with ipv6
2016-10-29 20:03:16 -07:00
xinchen
ef40b5a2c8
Close connection on any protocol error ( #166 )
2016-10-29 17:15:57 -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
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
xinchen
db44342b50
Add custom transport test and example
2016-07-11 08:00:07 -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
67c52f75c3
Tests for dotnet core
2016-06-10 23:46:34 -07:00
xinchen
f3d6e1e412
Rearrange test files
2016-05-24 21:16:39 -07:00
xinchen
d65ee5a2b6
More tests for dotnet
2016-05-24 20:57:04 -07:00
xinchen
03277f6fa2
Add net35 tests
2016-05-24 15:27:20 -07:00
xinchen
17142eadfe
Add unit tests for dotnet (.Net Core 1.0)
2016-05-22 22:01:29 -07:00
xinchen
3668b95db9
NullReferenceException when Close() is called on ConnectionListener before Open() is called #123
2016-05-18 13:50:28 -07:00
xinchen
aa30968912
IMessageSource support for outgoing messages ( #103 , #119 )
2016-05-09 16:25:33 -07:00
xinchen
d48f4dc9ce
#113 Support wildcard in WebSockets listener address
2016-05-03 23:23:42 -07:00
xinchen
c20f732d47
Connection with sync transport cannot receive multi-transfer message.
2016-04-28 16:34:52 -07:00
xinchen
6b20c25862
Support SASL ANONYMOUS
2016-03-11 20:42:21 -08:00
xinchen
79af04dccc
#109 expose IPrincipal on connection when identify is established through SASL or transport
2016-03-11 09:26:57 -08:00
xinchen
96d009ee96
WebSocketTest validation
2016-03-09 14:46:18 -08:00
xinchen
0ad98e7de6
#106 Cannot establish connection between client and listener when using WebSockets
2016-03-09 14:41:17 -08:00
xinchen
f90cf03381
Fix flaky test
2016-03-09 14:41:15 -08:00
xinchen
6052a4aa37
#98 apply protocol defaults in container host when client does not send any
2016-02-23 18:14:09 -08:00
xinchen
175cac70e3
Returned attach is not handled in link ClosePipe state
2016-02-23 18:14:07 -08:00
robreeves
4b00cf09dd
handling invalid client link addresses better
2016-02-22 09:35:11 -08:00