Commit graph

443 commits

Author SHA1 Message Date
Manuel Araoz
98beeefefe trying to get tests working WORKS! 2014-08-15 17:47:37 -04:00
Manuel Araoz
0ffc28962d update browser build 2014-08-15 17:47:37 -04:00
Manuel Araoz
031d101a21 rename test 2014-08-15 17:47:36 -04:00
Manuel Araoz
70dc68485b trying to get tests working 2014-08-15 17:47:36 -04:00
Manuel Araoz
439d44cf80 remove console.logs 2014-08-15 17:46:48 -04:00
Manuel Araoz
5b558e18fb remove soop from tests 2014-08-15 17:46:48 -04:00
Manuel Araoz
3081f1ef9a remove soop 3 2014-08-15 17:46:48 -04:00
Manuel Araoz
d0f264cdae remove soop 2 2014-08-15 17:46:48 -04:00
Manuel Araoz
69edb7c7e3 remove soop 1 2014-08-15 17:46:48 -04:00
Manuel Araoz
e7967486a3 remove soop dependency 2014-08-15 17:46:47 -04:00
Gregg Zigler
38cfc69229 Remove API #
Does not include changes to try/catch for require copay
2014-08-15 13:02:51 -07:00
Christopher Jeffrey
1c264deb2c test: use is_browser instead of try/catch to detect browser. 2014-08-14 12:29:11 -04:00
Manuel Araoz
e857e34b1d fixing index.html and karma tests 2014-08-14 11:51:56 -04:00
Manuel Araoz
7f07e7b8ac fixing build.js one error at a time 6 2014-08-14 11:25:15 -04:00
Manuel Araoz
2725b7f6e1 fixing build.js one error at a time 5 2014-08-14 11:19:50 -04:00
Christopher Jeffrey
9aee71e8fd paypro: fix tests for unspent outputs. 2014-08-14 09:52:43 -04:00
Manuel Araoz
0067ab4da6 fix some karma tests problems 2014-08-14 09:52:42 -04:00
Manuel Araoz
10bd5ba6bf moving torwards fixing tests 2014-08-14 09:52:42 -04:00
Manuel Araoz
d43e7943d3 move towards fixing karma tests 2014-08-14 09:52:42 -04:00
Manuel Araoz
e2ab9dd0c8 fix one test 2014-08-14 09:52:42 -04:00
Manuel Araoz
1a186b4640 fix requires for karma 2014-08-14 09:52:42 -04:00
Christopher Jeffrey
6ec8a087f3 paypro: fix POST route in fake paypro server. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey
efe41cead4 paypro: use unspecified GET method for first paypro request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey
61f20605f5 paypro: minor - fix test messages for unit controller tests. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey
05859b77d6 paypro: test - remove old function. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey
d4d33ed2e7 paypro: update tests to use wallet.isShared(). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
9d94fa0b75 paypro: remove old comments and logs from tests. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
a8ab012601 paypro: fix tests for latest master rebase. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
17f3402dab Revert "Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged.""
This reverts commit 6fcd27b3ea0f7aa1ef7985560ca917393510c65e.
2014-08-14 09:52:41 -04:00
Christopher Jeffrey
8bebbe8ec6 paypro: fix mock server to handle txs as buffers when browserified. tests passing in browser. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
f9bd8c3a04 paypro: try to keep everything big endian to avoid bignum bug in node. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
3931e73da4 paypro: debugging endianness issue in bignum (browser vs node). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
6f4af88662 paypro: tests - fix browser hanging. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
bc716646dc paypro: figure out why paypro tests are hanging in the browser. 2014-08-14 09:52:40 -04:00
Christopher Jeffrey
5c97649f83 paypro: run paypro tests in browser. whitespace. 2014-08-14 09:52:40 -04:00
Christopher Jeffrey
b254dea911 Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged."
This reverts commit c826acb3e539c4deb047053fd08a2a5e8fb8f8e8.
2014-08-14 09:52:12 -04:00
Christopher Jeffrey
3ade672561 paypro: prepare for txp refactor. will stay reverted until #1001 is merged. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey
f20836a24c paypro: use server outputs for creating txs again. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey
052e2522be paypro: stop using global $http. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
d51c1c552f paypro: potentially use verbatim scripts after setting outputs. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
ac32f56afa paypro: drop old tx code. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
093fd68c78 paypro: extract addresses from server outputs and craft txs in this manner. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
18d1e4f6e7 paypro: reorganize createPaymentTxSync. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
5f20b09b0b paypro: remove logs from tests. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
696323d496 paypro: tests - add more should() calls. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
6505805196 paypro: add separate tests for verifying abstract txp tx and pr. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
a942df63df paypro: drop sign() calls in verify tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
a0137b9e55 paypro: sign an untampered payment request in tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
3ff4eb26ea paypro: add tests for verifyPaymentRequest and signing tampered txs/prs. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
31719e62dd paypro: 12 tests passing. 2014-08-14 09:52:11 -04:00