Commit Graph

46 Commits

Author SHA1 Message Date
wltsmrz
1fa196037e Fix direct requirements for tests 2013-11-18 13:08:05 -08:00
Stefan Thomas
64df821b38 JSBN and coverage tests cleanup.
Fixes compiler warning about SJCL.
Fixes coverage source highlighting issue.
Move JSBN outside of src/js/jsbn/.
2013-09-21 05:41:19 -07:00
wltsmrz
6f9c103d78 Update tests for future test coverage 2013-09-10 15:48:57 -07:00
wltsmrz
25401bd08d Update ripple-lib tests to use mocha 2013-09-08 17:33:08 -07:00
Stefan Thomas
be2d647d48 Testutils is not used in this testsuite. 2013-07-27 19:46:32 -07:00
Stefan Thomas
6bb9f9e5e4 Implement Remote#reserve(). 2013-07-26 13:02:26 -07:00
Stefan Thomas
22a954deed Changed directory structure to be more like server's. src/js/*.js -> src/js/ripple/ 2013-05-06 21:32:25 +02:00
Arthur Britto
5756cf277c Add trust auto clear. Fixes #28 2013-04-26 09:00:23 +02:00
Arthur Britto
b438bba775 UT: Fix server stopping. 2013-04-26 09:00:23 +02:00
Arthur Britto
af0c3bf517 UT: Verify quality setting. 2013-04-26 09:00:23 +02:00
Arthur Britto
85fdbac840 UT: Revise for new request_ripple_balance. 2013-04-26 09:00:23 +02:00
Stefan Thomas
4f09337aea JS: Add a way for the test suite to change Amount#equals, so it ignores issuers. 2013-04-26 09:00:21 +02:00
Stefan Thomas
49af9f20d9 JS: Added ripple.config.load convenience function. 2013-04-26 08:59:49 +02:00
Stefan Thomas
6f34cfa369 Refactor JavaScript library.
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-04-26 08:59:48 +02:00
Arthur Britto
ba41b1b27d UT: Update offer-test for new Transaction split. 2013-04-26 08:59:48 +02:00
Arthur Britto
ce4c9a502a UT: Add ledger_close to testutils. 2013-04-26 08:59:48 +02:00
Arthur Britto
385cae7ca3 UT: More work on detecting standalone server exit. 2013-04-26 08:59:48 +02:00
Arthur Britto
53d04fd61a Add a http server config to the example test config. 2013-04-26 08:59:47 +02:00
Arthur Britto
96c93247e6 UT: Test offer counts. 2013-04-26 08:59:47 +02:00
Arthur Britto
6f66cf734c UT: Fix intermitent timeouts. 2013-04-26 08:59:47 +02:00
Arthur Britto
702d328e89 UT: Fixes for reserves. 2013-04-26 08:59:47 +02:00
Arthur Britto
184c059354 JS & UT: add et to vim setting. 2013-04-26 08:59:45 +02:00
Arthur Britto
405fdccfae UT: Test cross currency bridged payment and fixes. 2013-04-26 08:59:00 +02:00
Arthur Britto
c0e514d8a3 UT: Add support to verify XRP balances. 2013-04-26 08:59:00 +02:00
Arthur Britto
6220d6b793 UT: Improve logging. 2013-04-26 08:59:00 +02:00
jed
d2cc68b3cd . 2013-04-26 08:59:00 +02:00
jed
c03cb2408f . 2013-04-26 08:59:00 +02:00
Arthur Britto
7d348d9e90 UT: Work toward dumping an account's history. 2013-04-26 08:59:00 +02:00
Arthur Britto
7412fe043b JS: Make currency and issuer private in Amount. 2013-04-26 08:59:00 +02:00
Arthur Britto
10ce6f3a12 UT: Add support for verifying offers & fix amount checking. 2013-04-26 08:59:00 +02:00
Arthur Britto
9b01b0a60a Rework config.js to not be add to web pack. 2013-04-26 08:59:00 +02:00
Stefan Thomas
bd781bcf3f Moved cpp code to src/cpp and js code to src/js. 2013-04-26 08:59:00 +02:00
Arthur Britto
5db1dafc98 JS: Add is_native() to Amount. 2013-04-26 08:58:59 +02:00
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
9e36297c0e UT: Add helper for setting transfer rate. 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
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
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
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