Commit Graph

278 Commits

Author SHA1 Message Date
Arthur Britto
8045059894 JS: Add is_native() to Amount. 2012-11-03 15:03:36 -07:00
Arthur Britto
0f0cc86ca1 UT: Add payments helper. 2012-11-03 14:52:33 -07:00
Arthur Britto
f5231f353f UT: Add credit_limits helper. 2012-11-03 14:28:59 -07:00
Arthur Britto
7b268647a0 UT: Add helper for setting transfer rate. 2012-11-03 13:06:55 -07:00
Arthur Britto
f4d4b3920d Fix ripple best path determination. 2012-11-03 04:32:46 -07:00
Arthur Britto
dfaf33aa0a UT: Add test of transfer fees. 2012-11-03 04:18:55 -07:00
Arthur Britto
8b8b8ce612 UT: Add utility to verify multiple balances. 2012-11-03 04:13:37 -07:00
Arthur Britto
435d73ca4e UT: Test ripple over multiple paths simulatenously. 2012-11-01 15:14:46 -07:00
Arthur Britto
76c7385cbb UT: Add test for specifying a path. 2012-10-31 16:43:15 -07:00
Arthur Britto
00b7893c9c UT: Fix build tearDown for send-test.js 2012-10-27 17:01:33 -07:00
Arthur Britto
39d91e2dd5 Add tests for ripple partial sends. 2012-10-27 16:06:42 -07:00
Arthur Britto
06f7347d89 UT: Fix build_teardown merge error. 2012-10-25 18:19:42 -07:00
Arthur Britto
522f064d9e Work on testing indirect ripple.
- WS: Make ripple_state more strict.
- UT: Add an indirect ripple test.
- UT: Add more testutils functions.
2012-10-25 16:38:51 -07:00
Stefan Thomas
bbec036837 UT: Fixed host configurations and having multiple instances of test suite. 2012-10-24 09:35:31 +02:00
Stefan Thomas
cb2fb10b65 UT: Added verbosity and no_server options to setUp routine. 2012-10-23 23:19:09 +02:00
Arthur Britto
6e2637356c UT: Enable some ripple unit tests. 2012-10-23 12:05:30 -07:00
Arthur Britto
72f434c670 UT: Quiet tests. 2012-10-22 21:40:26 -07:00
Arthur Britto
0105009d21 UT: Add more ripple testing. 2012-10-22 21:33:38 -07:00
Arthur Britto
ef1066cbfa UT: Add a verbose setup short cut. 2012-10-22 21:31:02 -07:00
Arthur Britto
9ea2fa8c69 UT: Add another Amount test. 2012-10-22 21:30:29 -07:00
Arthur Britto
f4d48f56d8 JS: Fix UInt160 comparison. 2012-10-22 16:56:00 -07:00
Arthur Britto
c5dce0e270 JS: Add support for parsing and encoding base58. 2012-10-22 16:15:58 -07:00
Arthur Britto
bd0dc68a22 JS: More fixes and tests for Amount.negate(). 2012-10-21 21:45:04 -07:00
Arthur Britto
fff39797c0 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.
2012-10-21 20:33:11 -07:00
Arthur Britto
cc3c640322 UT: Share setUp and tearDown code. 2012-10-21 15:30:16 -07:00
Arthur Britto
704aec5b89 UT: Silence offer-test.js 2012-10-20 17:18:36 -07:00
Arthur Britto
27ea314f8d UT: Rework server.js and clean up test output. 2012-10-20 17:04:33 -07:00
Arthur Britto
23b29956d3 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-19 23:10:54 -07:00
Arthur Britto
49f1b42d26 Cosmetic. 2012-10-19 23:10:49 -07:00
Andrey Fedorov
b395b943ca new offer_create test to crash server 2012-10-20 02:08:19 -04:00
Arthur Britto
7ed60afad5 JS: Fix config nicknames for remote-test.js. 2012-10-19 22:31:05 -07:00
Arthur Britto
c6cb483631 UT: offer-test.js remove extra functions 2012-10-19 21:36:05 -07:00
Arthur Britto
3691def75e UT: Add offer-test.js 2012-10-19 21:32:01 -07:00
Arthur Britto
fd1122c673 JS: Fix request_ripple_balance. 2012-10-18 20:00:36 -07:00
Arthur Britto
32b70e638e WS: Change ledger entry to take 'ledger_closed' instead of 'ledger'. 2012-10-18 12:48:49 -07:00
Arthur Britto
bacfcff48c 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.
2012-10-17 18:15:04 -07:00
Arthur Britto
b23f596e3f JS: Automatically subscribe to server. 2012-10-17 15:37:23 -07:00
Arthur Britto
edf47a7a07 JS: Automatically maintain connection. 2012-10-17 13:26:31 -07:00
Arthur Britto
56a7e48cd9 UT: Allow tests to use existing server. 2012-10-16 20:32:40 -07:00
Arthur Britto
a189230984 Cosmetic. 2012-10-16 15:50:33 -07:00
Arthur Britto
d98e415107 JS: Fix offer_create. 2012-10-14 02:50:34 -07:00
Arthur Britto
d5c9cc78c7 JS: Fix transaction creation. 2012-10-14 02:23:52 -07:00
Arthur Britto
5fc3d98ef5 UT: Clean up and faster tearDown. 2012-10-14 01:33:00 -07:00
Arthur Britto
085ff2af22 UT: Split up tests. 2012-10-13 19:42:28 -07:00
Arthur Britto
1c2d16f1ad Rework remote.js to be event oriented. 2012-10-13 19:38:19 -07:00
Arthur Britto
2af15db40a Rename everything from newcoin to ripple except the protocol buffers. 2012-10-12 15:48:33 -07:00
Arthur Britto
fcd88f12fc UT: Adjust to new address encoding. 2012-10-12 15:10:39 -07:00
Arthur Britto
31b1aab851 UT: enable ledger_closed test. 2012-10-12 14:23:42 -07:00
Arthur Britto
bb83bcf0d1 Revise remote.js and unit tests to use new amount.js. 2012-10-11 21:41:07 -07:00
Arthur Britto
f419dcc77b JS: fixes and tests from amounts. 2012-10-11 20:08:08 -07:00