Nim/tests/async
Dominik Picheta 4f5f98f0b1 Fixes incorrect async exception handling. Adds sleepAsync.
The tasyncexceptions test has been added which tests for this incorrect
exception handling behaviour. The problem was that the exception was
raised inside a callback which was called from a previously finished async
procedure. This caused a "Future already finished" error. The fix was to
simply reraise the exception if the retFutureSym is already finished.

sleepAsync was added to help with the reproduction of this test. It should
also be useful for users however.

Finally some debug information was added to futures to help with future
bugs.
2014-08-09 17:13:22 +01:00
..
tasyncawait.nim Fix broken async tests. 2014-07-13 11:02:34 +01:00
tasyncdiscard.nim Fix broken async tests. 2014-07-13 11:02:34 +01:00
tasyncexceptions.nim Fixes incorrect async exception handling. Adds sleepAsync. 2014-08-09 17:13:22 +01:00
tasynciossl.nim Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01:00
tasyncudp.nim new tester; all tests categorized 2014-01-13 02:10:03 +01:00
tnestedpfuturetypeparam.nim Fix broken async tests. 2014-07-13 11:02:34 +01:00