Michael Croes
36b59a2926
Cleanup whitespace, usings
2021-06-06 23:20:19 +02:00
Michael Croes
8d081859da
Remove unused sync methods
2021-06-06 23:19:56 +02:00
Serge Camille
1069641606
Add more extensive response code validation.
...
Fixes #310
2020-09-16 20:25:20 +02:00
Serge Camille
8f3c701a2f
Revert UnitTest IP address to 127.0.0.1.
...
Seems there are sometimes performance regressions when using localhost. Might be related to IPv6, who know.
Fix some TestContext not being public.
2020-09-13 10:28:06 +02:00
Serge Camille
6c4d4605f0
Add CancellationToken support to async functions.
2020-09-09 21:24:36 +02:00
Serge Camille
09c8b18d3d
Adjust ReadFixed implementation somewhat. Exceeding the length of the buffer was already an error before.
...
Change the tests by replacing the memory buffer with a Fake stream giving 1 byte at a time.
2020-09-03 20:48:18 +02:00
Jakob Ledermann
7d570f93c1
Unittests for issue #283
...
These unittests fail intentionally as the issue discussion has not reached
a consesual solution. Any solution should pass the unittests added in this commit.
2020-09-03 20:48:17 +02:00
Thomas Jäger
64e485c54a
Revert "Use socket instead of TcpClient and stream."
...
Revert back to using Stream/TcpClient. High performance stuff is moved
to highperformancesockets branch. I think this is interesting, but i also
feel that this is premature optimization. I doubth that this will be a
performance bottleneck ofr the forseeable future.
This reverts commit 1b34716a30 .
2018-05-18 08:52:19 +02:00
Thomas Jäger
1b34716a30
Use socket instead of TcpClient and stream.
...
Async implemented with wrapper.
2018-05-16 11:24:21 +02:00
Thomas Jäger
e6f1114bc1
Add COTP.ReadTSDU test
2018-04-19 15:39:41 +02:00
Thomas Jäger
74af1c0da7
Change project to allow testing internal classes.
...
Add protocol tests
Simplify async tests
2018-04-19 15:08:52 +02:00