Commit Graph

103 Commits

Author SHA1 Message Date
Arthur Britto
252a81f3e2 UT: Add payments helper. 2013-04-26 08:58:59 +02:00
Arthur Britto
f4946ab6a9 UT: Add credit_limits helper. 2013-04-26 08:58:59 +02:00
Arthur Britto
cbc244c1cb JS: Fix account sequence caching. 2013-04-26 08:58:59 +02:00
Arthur Britto
aac7f698ee UT: remove mapOr. 2013-04-26 08:58:59 +02:00
Arthur Britto
9e36297c0e UT: Add helper for setting transfer rate. 2013-04-26 08:58:59 +02:00
Arthur Britto
f5988fd66e JS: Add support for setting transfer fee. 2013-04-26 08:58:59 +02:00
Arthur Britto
8fbc2cf883 UT: Add utility to verify multiple balances. 2013-04-26 08:58:59 +02:00
Arthur Britto
5e083eb32f JS: Improve error handling. 2013-04-26 08:58:59 +02:00
Arthur Britto
d7dffc2041 JS: Add support for paths to payments. 2013-04-26 08:58:59 +02:00
Arthur Britto
1a1f4db2c2 JS: Add Currency.json_rewrite(). 2013-04-26 08:58:59 +02:00
Arthur Britto
1db7da9f63 UT: Adjust fees for unit tests. 2013-04-26 08:58:59 +02:00
Arthur Britto
8fa4224bb5 Add tests for ripple partial sends. 2013-04-26 08:58:59 +02:00
Arthur Britto
2f4dd47963 UT: Fix build_teardown merge error. 2013-04-26 08:58:59 +02:00
Arthur Britto
40b5622016 Work on testing indirect ripple.
- WS: Make ripple_state more strict.
- UT: Add an indirect ripple test.
- UT: Add more testutils functions.
2013-04-26 08:58:59 +02:00
Stefan Thomas
e8e7ce04b4 UT: Fixed host configurations and having multiple instances of test suite. 2013-04-26 08:58:59 +02:00
Stefan Thomas
82c357ac26 UT: Added verbosity and no_server options to setUp routine. 2013-04-26 08:58:59 +02:00
Arthur Britto
f6d1e2d40b JS: Optimize base58 decoding. 2013-04-26 08:58:59 +02:00
Arthur Britto
e128938179 UT: Quiet tests. 2013-04-26 08:58:59 +02:00
Arthur Britto
215b373087 UT: Add a verbose setup short cut. 2013-04-26 08:58:59 +02:00
Arthur Britto
4917a01c69 UT: Add another Amount test. 2013-04-26 08:58:59 +02:00
Arthur Britto
d4fad4fcf9 JS: Fix Remote.request_ripple_balnce(). 2013-04-26 08:58:59 +02:00
Arthur Britto
bbfc348b85 JS: Fix Amount.copyTo(). 2013-04-26 08:58:59 +02:00
Arthur Britto
45c54b6484 JS: Fix UInt160 comparison. 2013-04-26 08:58:59 +02:00
Arthur Britto
c0eec780de JS: Add support for parsing and encoding base58. 2013-04-26 08:58:59 +02:00
Arthur Britto
114ec072c4 JS: Add arraySet() and stringToArray() to utils.js 2013-04-26 08:58:58 +02:00
Arthur Britto
02805651cf JS: More fixes and tests for Amount.negate(). 2013-04-26 08:58:58 +02:00
Arthur Britto
1aac962116 UT: Lots of improvements and fixes.
- Parse negative amounts.
- Make Amount.negate() return a new value.
- Add Amount.equals().
- Rename Remote.trace() to set_trace().
- Fix request_ripple_balnce.
- Add more tests to send-test.js.
- Add more tests to amount-test.js.
- Add helper functions create_accounts and credit_limits to
  testutils.js.
2013-04-26 08:58:58 +02:00
Arthur Britto
0beab03255 UT: Share setUp and tearDown code. 2013-04-26 08:58:58 +02:00
Arthur Britto
b4fbf076b4 JS: Add support for more types of transactions to remote.js. 2013-04-26 08:58:58 +02:00
Arthur Britto
a5eed197d2 JS: Add Date support to offer_create. 2013-04-26 08:58:58 +02:00
Arthur Britto
a6a8b0b29a UT: Rework server.js and clean up test output. 2013-04-26 08:58:58 +02:00
Arthur Britto
d658f0b685 Cosmetic. 2013-04-26 08:58:58 +02:00
Arthur Britto
70f950cba0 JS: Add offer_cancel. 2013-04-26 08:58:58 +02:00
Arthur Britto
8c3c33e638 JS: Fix UInt160 to use config. 2013-04-26 08:58:58 +02:00
Arthur Britto
b54bac5add JS: Fix request_ripple_balance. 2013-04-26 08:58:58 +02:00
Arthur Britto
c020f14c19 JS: Lots of fix for Amount parsing. 2013-04-26 08:58:58 +02:00
Arthur Britto
09b29f7ab3 JS: Make remote.js more flexible. 2013-04-26 08:58:58 +02:00
Arthur Britto
19c887e64f JS: Make Amount more flexible. 2013-04-26 08:58:58 +02:00
Arthur Britto
234272a0bf WS: Change ledger entry to take 'ledger_closed' instead of 'ledger'. 2013-04-26 08:58:58 +02:00
Arthur Britto
a033980b66 JS: Add negate() and parse_issuer() to Amount. 2013-04-26 08:58:58 +02:00
Arthur Britto
84d0057c91 Clean up. 2013-04-26 08:58:58 +02:00
Arthur Britto
eca2631491 JS: Have remote look in the current ledger to get Sequence for new accounts. 2013-04-26 08:58:58 +02:00
Arthur Britto
0f80fa79e2 JS: Fix ripple_line_set. 2013-04-26 08:58:58 +02:00
Arthur Britto
9f9ad852a1 JS: Add support for config accounts to UInt160.parseJson(). 2013-04-26 08:58:58 +02:00
Arthur Britto
8792871e48 Improve remote.js and test starts.
- Transactions now emit 'pending' and 'lost'
- Remote now supports once().
- Tests now use 'ledger_closed' to know when to start.
- Fix quick close of remote.
2013-04-26 08:58:58 +02:00
Arthur Britto
a4481dc4d1 JS: report final transaction status. 2013-04-26 08:58:58 +02:00
Arthur Britto
8b57357231 JS: Automatically subscribe to server. 2013-04-26 08:58:58 +02:00
Arthur Britto
43b7b5f2ff JS: Automatically maintain connection. 2013-04-26 08:58:58 +02:00
Arthur Britto
7a579f3d51 JS: Improvements to transaction result handling for remote.js 2013-04-26 08:58:58 +02:00
Arthur Britto
a989f8b599 JS: Fix offer_create. 2013-04-26 08:58:58 +02:00