Commit Graph

158 Commits

Author SHA1 Message Date
cheatfate 49e965bbf4 Disable IPv6 resolve tests. 2018-09-01 02:30:53 +03:00
cheatfate 530905f276 Fix #8 and related issues, added more tests for it.
Fix Unix connection failed bug.
2018-08-24 15:20:08 +03:00
cheatfate f94cedb47b Attempt to fix macos tests. 2018-08-18 00:35:36 +03:00
cheatfate 44565b398e Improved test for #6. 2018-08-06 22:33:52 +03:00
cheatfate 9fb0eb8f36 Fix #6.
Add tests for #6.
2018-08-06 21:13:44 +03:00
cheatfate f4f98d617c Fix #9.
Add tests for #9.
Temporary disable some tests in testaddress.nim.
2018-08-06 21:12:16 +03:00
cheatfate 293f993bed Fix 32bit windows tests. 2018-07-31 13:11:47 +03:00
cheatfate 2e1f45a472 Attempt to fix stuck test on 32bit Windows. 2018-07-31 13:01:51 +03:00
cheatfate d5b887f3d8 Add more utility procedures and tests for AsyncQueue.
Bump version to 2.0.6.
2018-07-31 12:50:22 +03:00
cheatfate 40bfc25ea3 Increase timeout for VM testing. 2018-07-24 17:02:32 +03:00
cheatfate f4803c61ae Improve wait() test. 2018-07-24 16:55:51 +03:00
cheatfate 32bbbb051c Add asynchronous specific exception AsyncError.
Add AsyncTimeoutError.
Add wait[T]() procedure and tests.
Bump version to 2.0.2.
2018-07-20 11:58:01 +03:00
cheatfate 0ca2cd8e5c Fix GC issues with sending, according to latest Nim changes.
Changed datagram.nim API to allow sending parts of strings and seqs.
2018-06-15 13:54:26 +03:00
cheatfate a0c724e9d8 Fix Windows/Unix behavior on datagram CONNRESET.
Add test for CONNRESET
2018-06-15 03:28:02 +03:00
cheatfate 525aaf6837 Comment out asyncmacro2 skipStmtList().
Many changes in datagram.nim.
Fixed testdatagram.nim.
Fixed testserver.nim.
2018-06-14 09:49:59 +03:00
cheatfate 978203691e Add `var` arguments to GC procedures, to disallow runtime exceptions. 2018-06-11 23:50:45 +03:00
cheatfate d2b93f309b Fix createStreamServer[T]().
Add test for bug with createStreamServer[T]().
2018-06-11 22:54:08 +03:00
cheatfate deb22a8b4a Fix Linux. 2018-06-11 02:21:36 +03:00
cheatfate 5815897de6 Fix windows asyncLoop.
Fix OSError -> TransportOSError.
Add inherited objects initialization.
Add tests for inherited objects.
2018-06-11 02:08:17 +03:00
cheatfate 0ee9a148c7 Fix for TransportAddress resolveTAddress behavior.
Added more tests for TransportAddress.
2018-06-10 03:55:19 +03:00
cheatfate 3842120217 Temporary disable DatagramServer test. 2018-06-07 19:06:41 +03:00
cheatfate 5dd9c0b177 Fix testaddress.nim test. 2018-06-07 18:51:00 +03:00
cheatfate 6709d0b78d Added IPv6 specific test for resolveTAddress. 2018-06-07 15:05:22 +03:00
cheatfate a5be5303e3 Add resolveTAddress(string, Port) and test for it. 2018-06-07 01:15:31 +03:00
cheatfate 3eb4a00397 Fix testserver.nim according to latest API changes. 2018-06-07 00:38:13 +03:00
cheatfate 38f30e0f18 Added createStreamServer() for GC userdata types. 2018-06-07 00:29:37 +03:00
cheatfate b8e8d96f3b Fix datagram: for send/sendTo (string, seq[T]) versions.
Fix stream: for write (string, seq[T]) versions
More tests for both datagram/stream.
2018-06-05 23:21:07 +03:00
cheatfate 2e6697d0d7 Disable DatagramServer test. 2018-06-05 11:44:56 +03:00
cheatfate 6f8be9f067 Attempt to fix datagram bug. 2018-06-05 11:31:18 +03:00
cheatfate 3cb521c920 Add datagram transport utility templates send(string) send(seq[byte]).
Fix bugs in stream.nim
Add more tests for stream.nim
2018-06-05 08:51:59 +03:00
cheatfate 2b8eeef7aa Added templates write(string), write(seq[byte])
Added consume()
Added tests for write(string), write(seq[byte]), consume().
2018-06-04 19:42:54 +03:00
cheatfate a834cb1a00 Changed server behavior.
Removed pause function.
Updated testserver.
2018-06-04 12:57:17 +03:00
cheatfate ac32dd24c3 Fix compilation error in testserver.nim. 2018-06-02 17:30:36 +03:00
cheatfate 960b675d62 Changed TransportAddress API.
Introduced resolveTAddress().
Added TransportAddress tests.
2018-06-02 17:25:26 +03:00
cheatfate 6985626e1c Test teststream2 renamed to testserver.
Fix compilation errors.
2018-05-31 11:10:32 +03:00
cheatfate 027e7c02a9 Added DatagramServer.
Changed StreamServer API a bit.
Added test for DatagramServer.
2018-05-31 11:03:58 +03:00
cheatfate 6faceb3b8c Added removeCallback() test. 2018-05-30 07:35:27 +03:00
cheatfate 3fb9a91cbe Investigated Transport close bug and fixed it.
Removed old integrated tests and hexdump
Removed trailing whitespaces.
2018-05-29 12:59:39 +03:00
cheatfate e3171a132a Add more documentation.
Add (#7197) test.
2018-05-27 08:49:47 +03:00
cheatfate 9e63caf694 More tests added. 2018-05-25 23:00:32 +03:00
cheatfate a4528ab705 Add asynchronous posix signal handling.
Add signal tests.
2018-05-25 04:05:13 +03:00
cheatfate d75487948b Fix testsoon for new behavior. 2018-05-23 15:57:07 +03:00
cheatfate 0853b6a216 Add server pause/resume test. 2018-05-23 14:03:39 +03:00
cheatfate 608924d9f4 Added Future[T] tests. 2018-05-23 02:28:16 +03:00
cheatfate bd6375d97c Remove compilation hints from tests. 2018-05-23 01:44:16 +03:00
cheatfate a8212e8910 Added timers test. 2018-05-23 01:29:07 +03:00
cheatfate d28e4d0c49 Enable all tests.
Adding more iterations for UDP stream test.
Fixed bugs in TCP stream.
2018-05-22 18:21:58 +03:00
cheatfate 871af1b60d Final fix testsoon.nim for all platforms. 2018-05-22 14:08:25 +03:00
cheatfate 7330027f7e Fix testsoon.nim for 32 bit systems. 2018-05-22 13:59:47 +03:00
cheatfate fdbeddb49b Fix testsync.nim to remove unnecessary imports.
Refactored new callsoon test testsoon.nim
Replace test1.nim with testsoon.nim
2018-05-22 13:16:56 +03:00
cheatfate c220b05a4c Optimize asyncsync primitives 2018-05-22 11:51:11 +03:00
Your Name e935c7e518 Fix test file path location. 2018-05-22 01:12:30 +03:00
Your Name 23a81b6492 Refactoring, more tests. 2018-05-22 00:52:57 +03:00
Your Name 5c6c723cb9 Fix nasty GC misuse bug 2018-05-18 02:40:42 +03:00
Your Name 570467a306 Attempts to fix #01 2018-05-17 11:45:18 +03:00
cheatfate 868ae64ae0 Fix compilation warning at asyncfutures2.nim
Add spawn procedure
Add usage of spawn procedure in datagram.nim
Some fixes at stream.nim
Increase number of clients in testdatagram.nim
2018-05-16 18:28:23 +03:00
cheatfate bb36fc98a4 Fix [SYSASSERT] genericResetAux on Windows part. 2018-05-16 15:29:19 +03:00
cheatfate 4d144753ee Initial commit 2018-05-16 11:22:34 +03:00