35 Commits

Author SHA1 Message Date
coffeepots
e1fad2e3ba Fix test using wrong rpc path 2018-11-26 18:33:47 +00:00
coffeepots
77b485c6ce More tests for optional fields inside objects 2018-11-26 18:12:26 +00:00
coffeepots
798e86112c Cover optional cases within objects 2018-11-26 18:03:56 +00:00
coffeepots
0160295743 Improve non-builtin optional test 2018-11-23 16:56:00 +00:00
coffeepots
066b06862d Add test for Option[T] where T is not a builtin 2018-11-23 16:11:12 +00:00
andri lim
a1fe7d57b4 allow optional parameters in the middle of parameters list 2018-11-16 20:07:39 +07:00
andri lim
ee3ba6d5ad add optional arg support to rpc macro 2018-11-12 17:47:03 +07:00
coffeepots
7a27a78122 Update testEthCalls and testRpcMacro with closeWait 2018-09-13 19:20:16 +01:00
coffeepots
0acb6997c7 Tests for option types 2018-08-29 14:16:03 +03:00
Zahary Karadjov
642fdd591f fix the package structure to make Nimble happy 2018-07-20 19:34:10 +03:00
andri lim
4aedb214b6 fixes #18, rpc macro now can accept multiple variables of one type 2018-07-17 10:06:29 +07:00
coffeepots
e3a7ffd121 Merge rpcsocket into rpcserver 2018-07-12 09:43:44 +01:00
coffeepots
13ae592738 Rename sockets.nim to socket.nim and rpcsockets.nim to rpcsocket.nim 2018-07-11 10:40:20 +01:00
coffeepots
b218529d2d Remove generics from server and update sockettransport 2018-07-11 10:19:13 +01:00
coffeepots
cf44cc552d Remove DSL, add router and simplify server 2018-07-06 17:47:43 +01:00
coffeepots
8d1174b136 Updated paths to use rpcserver now that streamservers are in there 2018-06-19 18:17:56 +01:00
coffeepots
746232a928 Revert "Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer"
This reverts commit 0dfb4be55c4cbf852370b50971ba89f6539bf921.
2018-06-15 11:11:10 +01:00
coffeepots
0dfb4be55c Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer 2018-06-15 10:34:24 +01:00
coffeepots
bb07650f33 Update tests to use streamserver 2018-06-14 16:55:10 +01:00
cheatfate
2b12f3699a Added reviews requirements. 2018-06-10 04:09:51 +03:00
cheatfate
7607cc4106 Fix connect(). 2018-06-08 09:31:51 +03:00
cheatfate
aea1798897 Add close() procedure for RpcServer.
Fixed tests to stop/close server.
2018-06-07 11:20:33 +03:00
cheatfate
cbfe945fff Use asyncdispatch2 instead of asyncdispatch. 2018-06-07 10:02:14 +03:00
coffeepots
92bae923c9 Split tests into standard client-server, rpc macro tests and ethtests 2018-05-30 16:36:55 +01:00
coffeepots
ce86719f4c on is now rpc for now to fix compilation issue 2018-05-29 13:20:07 +03:00
coffeepots
df83872a74 Add tests for stint return values and parameters 2018-05-29 13:20:07 +03:00
coffeepots
b4c31d5ada add test for return statement within on macro 2018-05-29 13:20:07 +03:00
coffeepots
0a2b4fa1d8 rpcserver must be before asyncdispatch for correct parsing 2018-05-29 13:20:07 +03:00
coffeepots
14ef63294e fix result not found by changing import order... 2018-05-29 13:20:07 +03:00
coffeepots
1953a35532 Added some more simple tests 2018-05-29 13:20:07 +03:00
coffeepots
0193ba2bab Use rpcserver import 2018-05-29 13:20:07 +03:00
coffeepots
ca7a1efa97 Remove redundant tests, add more error checks 2018-05-29 13:20:07 +03:00
coffeepots
444bbc1493 Updated tests to check return type processing 2018-05-29 13:20:07 +03:00
coffeepots
758653fb62 Remove {.rpc.} macro and merged testing into testrpcmacro 2018-05-29 13:20:07 +03:00
coffeepots
1cf3a930b5 Moved rpc macro tests out into separate module 2018-05-29 13:20:07 +03:00