jatchili
0c18f6157d
SerializedObject to_json method, and a simple test for that. Tests are still preliminary, and refactoring is still necessary.
2013-08-14 18:33:01 -07:00
jatchili
63038d3603
basic tests for serializedtypes.js
2013-08-12 15:19:04 -07:00
Stefan Thomas
78b1e4f570
More work on new serialization/parsing functions. Added more tests.
2013-07-30 22:48:07 -07:00
Stefan Thomas
815e2af3cf
Fix code indentation.
2013-07-30 21:32:28 -07:00
jatchili
5bc1603f43
begin testing serialization/parsing functions
2013-07-30 20:02:30 -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
wltsmrz
45a3ac3f66
Fallback to config-example for tests
2013-06-11 08:27:31 +09:00
Arthur Britto
b0c8d67d27
Fixed adding negative to zero. Fixes #6 .
2013-05-30 23:59:58 -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
d37f0b9082
Fix currency from integer.
2013-04-26 15:38:04 -07:00
Stefan Thomas
0813e312d6
New test suite name. See #1 .
2013-04-26 10:05:18 +02:00
Arthur Britto
1ed5d6b3e5
JS: Fixes and improvements for Amount.
...
- Add from_quality()
- Add parse_quality()
- Improve add.
- Better peformance for copyTo().
- Fix parse_issuer(), set_issuer(), & set_currency() not to modify sub
object.
- Correctly set currency and issuer of XRP in parse_json().
- Make not_equals_why more explicit.
2013-04-26 09:01:44 +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
Arthur Britto
f5047521ce
JS: Rename ADDRESS_ to ACCOUNT_ to be consistent with C++.
2013-04-26 09:00:22 +02:00
Stefan Thomas
ef7ef4ae9d
JS: Fix erroneous base58 decoding and add tests for issue.
2013-04-26 09:00:21 +02:00
Stefan Thomas
4eb29890c0
JS: More tests for equals.
2013-04-26 09:00:21 +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
0a13875c53
JS: More tests for Amount#equals and Amount#not_equals_why.
2013-04-26 09:00:21 +02:00
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