Commit Graph

12 Commits

Author SHA1 Message Date
Anton Kaliaev 1842e03315
revert using local import
this breaks the client's code (e.g. tendermint)
2017-03-08 17:33:46 +04:00
Anton Kaliaev d033cd54b8
add editorconfig 2017-03-08 17:17:42 +04:00
Anton Kaliaev 2dc6ab3896
use golang default if an arg is missing (Refs #7) 2017-03-08 17:16:01 +04:00
Anton Kaliaev 6d66cc68ed
make sure we are using correct server
also remove it afterwards
2017-03-08 16:55:15 +04:00
Anton Kaliaev 51d760f29f
use local import for testing 2017-03-08 16:23:38 +04:00
Anton Kaliaev e1d5873bdf
support key-value params in JSONRPC (Refs #1)
More changes:

- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
  and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8)
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
2017-03-07 19:27:27 +04:00
Ethan Buchman ac443fa61f run tests from bash script 2017-01-12 21:59:02 -05:00
Ethan Buchman 94fed25975 fix test 2017-01-12 10:22:23 -05:00
Matt Bell 4d7aa62a10 Added test for unexpected hex string type HTTP args 2017-01-07 20:40:45 -08:00
Matt Bell af1212897c Exit early in bash tests 2017-01-07 14:00:27 -08:00
Matt Bell 34a806578a Handle hex strings and quoted strings in HTTP params
Use 0x-prefixed hex strings in client

server: Decode hex string args

Encode all string args as 0x<hex> without trying to encode as JSON

Added tests for special string arguments

Fix server handling quoted string args

Added string arg handling test cases to bash test script
2017-01-07 13:59:33 -08:00
Ethan Buchman a44e0e0f4b add test example 2016-06-23 20:37:35 -04:00