Commit Graph

270 Commits

Author SHA1 Message Date
Nicholas Dudfield
83442825e5 Shutdown rippled before http server in json rpc test to avoid http server potentially receiving messages due to automatic ledger close interval. 2014-02-03 22:36:28 -08:00
wltsmrz
6c5f88aa25 Update ripple-lib integration tests 2014-02-03 10:42:34 -08:00
Nicholas Dudfield
aad074cd8e Tweak to path-finding tests. Specify test patterns outside of mocha.opts 2014-01-31 19:05:10 -08:00
JoelKatz
fb63aa737a Revert d2953f602e 2014-01-23 13:36:31 -08:00
sublimator
d2953f602e Error reporting tests 2014-01-21 10:28:35 -05:00
Nicholas Dudfield
da3881a486 Make websocket-test the first test, and give custom timeouts of 1000ms 2014-01-05 13:40:47 +07:00
Nicholas Dudfield
ff12d9adaa Run server-test and websocket-test first. Show stderr upon abnormal rippled exit 2014-01-05 13:09:42 +07:00
JoelKatz
f04b9131cc terNO_LINE should never be the final result of a payment transaction that can claim a fee. 2013-11-08 10:32:15 -08:00
Nicholas Dudfield
8d5378a2ca Ensure no offers cancel each other out 2013-11-05 23:20:45 -08:00
Nicholas Dudfield
aabd6980ac Fix a bug in websocket-test.js referencing done() not declared in test() function signature, was causing failure of subsequent test suite, due to mocha's enveloped exception handling style 2013-10-24 19:03:03 -07:00
Nicholas Dudfield
3b19310252 Declarative path tests 2013-10-24 19:03:03 -07:00
wltsmrz
a6c2fe4761 Remove coffeescript compiler from mocha.opts until it is needed and added to dependencies 2013-10-21 17:54:36 -07:00
Vinnie Falco
0d5a8ca300 Revert "Ported declarative path tests to mocha"
This reverts commit abe4f1ba03.
2013-10-17 11:11:06 -07:00
Vinnie Falco
da22f06d85 Revert "Make mocha use test/mocha.opts to DRY up options used by npm test and test/runall.sh and support coffee. Add coffee-script as devDependency to package.json"
This reverts commit 9dfbffa4b8.

Conflicts:

	test/mocha.opts
2013-10-17 11:10:48 -07:00
Nicholas Dudfield
abe4f1ba03 Ported declarative path tests to mocha 2013-10-13 18:24:41 +07:00
Nicholas Dudfield
9dfbffa4b8 Make mocha use test/mocha.opts to DRY up options used by npm test and test/runall.sh and support coffee. Add coffee-script as devDependency to package.json 2013-10-13 15:38:04 +07:00
David Schwartz
7e82612cd5 Improve test runner. 2013-09-24 16:52:21 -07:00
David Schwartz
ac90baa831 New test runner for Mocha 2013-09-24 16:01:43 -07:00
wltsmrz
c76e2b54a9 Update system tests for mocha and new ripple-lib transaction submission 2013-09-24 14:12:18 -07:00
wltsmrz
4109e51e30 Improvements to js tests and increment of the ripple-lib version 2013-09-18 17:36:34 -07:00
Stefan Thomas
3d6215fd1e JS Tests: Refactored config handling.
Still far from perfect, but better than it was.
2013-07-27 20:18:59 -07:00
Stefan Thomas
ccde264282 JS Tests: Fallback to config-example if config is not present. 2013-07-27 19:48:17 -07:00
Nicholas Dudfield
c13f759ada Make test suites pass (with tip of ripple-lib). Needs refactoring to use mocha 2013-07-27 12:46:26 -07:00
Stefan Thomas
a4b19019ee JS Tests: Replace one of the hard-coded fees in the testsuite. More to go. 2013-07-26 12:59:07 -07:00
wltsmrz
91a6720a1c Update config-example 2013-07-25 10:18:06 +09:00
Vinnie Falco
62bf19a727 Add runall shell script for Windows unit tests 2013-07-05 19:23:27 -07:00
Vinnie Falco
6a3715baa7 Fix package.json for Windows and ripple org URI 2013-07-05 19:16:19 -07:00
Vinnie Falco
a150d771b6 Fix config-example for local signing 2013-07-03 13:48:49 -07:00
Arthur Britto
475ce2b899 Implement optional offer cancel on offer_create. 2013-06-15 22:10:15 -07:00
Arthur Britto
dda1b6c8a6 Fix RequireDestTag and RequireAuth. 2013-05-13 22:05:51 -07:00
Stefan Thomas
e627daa410 JS: Use correct inheritance for Server class. Fixes test suite in Node 0.10.x. 2013-05-13 11:32:23 +02:00
Arthur Britto
9bfb5922c5 UT: New test for client issue 535. 2013-05-06 20:10:13 -07:00
Arthur Britto
f769308a1f UT: Log error messages from server. 2013-05-05 20:38:08 -07:00
Stefan Thomas
0a2e7664b8 JS: Remove ripple-lib and link to it via package.json instead. 2013-04-26 22:02:36 +02:00
Arthur Britto
78c867d714 Add tfSell support for OfferCreate. 2013-04-25 15:23:53 -07:00
Arthur Britto
8747b0a5d2 JS: Fix request_ripple_balance() setting issuer. 2013-04-20 15:43:27 -07:00
Arthur Britto
fc637f50ed 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-20 15:42:13 -07:00
jatchili
6313041025 Disable verbosity by default in account_tx-test.js (still commented out) 2013-04-08 16:05:11 -07:00
Arthur Britto
c7da4546f1 UT: Disable account_tx tests for littering output. 2013-04-05 19:40:41 -07:00
jatchili
f37737edd3 account_tx-test.js - uses new ordering scheme 2013-04-04 16:09:30 -07:00
jatchili
2c20b313c9 Made some changes to account_tx-test.js 2013-04-04 12:02:52 -07:00
Arthur Britto
437fd44e42 Comment out broken account_tx-test.js 2013-04-03 17:21:46 -07:00
jatchili
9565b21740 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/js/remote.js
2013-04-01 16:50:02 -07:00
jatchili
5659fb44b3 Added unit test: account_tx-test.js. Also, revised request_account_tx in remote.js to use the new argument list for account_tx. 2013-04-01 16:24:48 -07:00
Arthur Britto
96733c2874 Add trust auto clear. Fixes #28 2013-03-31 16:15:45 -07:00
Arthur Britto
7887ca1b05 UT: Fix server stopping. 2013-03-23 19:02:04 -07:00
Arthur Britto
837de8a7a7 Fix ripple through micro offer reverse. 2013-03-20 18:32:34 -07:00
Arthur Britto
83e347c839 #27 Error creating offer without auth. 2013-03-20 01:21:41 -07:00
Arthur Britto
fde60c1b19 UT: New test for quality payment. 2013-03-14 18:03:51 -07:00
Arthur Britto
56308f39ce UT: Verify quality setting. 2013-03-14 16:40:43 -07:00