Commit Graph

60 Commits

Author SHA1 Message Date
Stefan Thomas
d394b074db JS: Failing test. Amount#equals does not compare exponent. 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
e5c6acde7d JS: Restrict UInt160 parse_json to wire format. 2013-04-26 08:59:47 +02:00
Arthur Britto
329447d4f3 UT: Fix example http server. 2013-04-26 08:59:47 +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
790ee6ebef Improve documentation for config-example.js 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
Stefan Thomas
aff2b5583e Fix infinite loop when using a zero amount in a multiplication. 2013-04-26 08:59:47 +02:00
Arthur Britto
702d328e89 UT: Fixes for reserves. 2013-04-26 08:59:47 +02:00
Stefan Thomas
ef23babf8b Add tests for Amount#multiply. 2013-04-26 08:59:47 +02:00
Stefan Thomas
eefaea7a74 Added some test cases for Amount.add(). 2013-04-26 08:59:46 +02:00
Stefan Thomas
d8076d5f9b Add support for mixed operands to divide(). 2013-04-26 08:59:46 +02:00
Stefan Thomas
d24271a740 Add WebSocket Secure (SSL) support to client library. 2013-04-26 08:59:46 +02:00
Arthur Britto
fe055b1bee UT: Move test account configuration from config-example.js. 2013-04-26 08:59:45 +02:00
Stefan Thomas
24df8d85cf Make local fee determination configurable. 2013-04-26 08:59:45 +02:00
Arthur Britto
6319c4cbce Fix config-example.js 2013-04-26 08:59:45 +02:00
Arthur Britto
184c059354 JS & UT: add et to vim setting. 2013-04-26 08:59:45 +02:00
Arthur Britto
e40d8b7b6f JS: Fix and another unit-test. 2013-04-26 08:59:44 +02:00
Arthur Britto
135fe39db4 Add UInt160.is_valid(), Amount.is_valid(), Currency.is_valid(), & Currency.is_valid_full(). 2013-04-26 08:59:44 +02:00
Stefan Thomas
b61c5e9f5f Make local sequence number tracking optional. 2013-04-26 08:59:44 +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
19ec41e7bd JS and UT: XNS -> XRP 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
209b70db77 JS: Hide some variables. 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
4917a01c69 UT: Add another Amount test. 2013-04-26 08:58:59 +02:00