Commit Graph

511 Commits

Author SHA1 Message Date
Matias Alejo Garcia 2ea8ae38f0 Merge pull request #1121 from greggzigler/fix_karma
Clean up karma console errors.
Chrome 36.0.1985 (Mac OS X 10.9.4): Executed 82 of 82 SUCCESS (0.47 secs / 0.141 secs)
2014-08-19 10:49:26 -04:00
Ryan X. Charles 8700e3062c Merge pull request #1125 from chjj/paypro_logs
paypro: test - remove logging.
2014-08-18 16:19:53 -07:00
Christopher Jeffrey 630e631b60 paypro: test - remove logging. 2014-08-18 16:16:36 -07:00
Matias Alejo Garcia c7d04418b0 fix backup restore + tests 2014-08-18 18:11:30 -04:00
Gregg Zigler d5a64d0db0 add more tests to mocha index 2014-08-18 13:54:23 -07:00
Gregg Zigler 4e8fa24fc0 fix miscellaneous karma console errors
point to new bitcore bundle
remove online.wav file usage, clean up console error
remove unused crypto var from storage.File test, clean up console error
2014-08-18 11:36:25 -07:00
Gregg Zigler ecf262ceea add skipped tests to mocha index page 2014-08-18 10:18:45 -07:00
Matias Alejo Garcia ed78c79416 add bitcore link 2014-08-16 00:42:59 -04:00
Yemel Jardi bb744ef271 Update karma tests 2014-08-15 23:04:13 -03:00
Yemel Jardi b19a0daa64 Replace parseBitcoinURI with bitcore implementation 2014-08-15 23:04:13 -03:00
Matias Alejo Garcia d4dbeb8b13 rm unused code 2014-08-15 19:54:39 -04:00
Matias Alejo Garcia 534895a009 rebase 2014-08-15 18:55:26 -04:00
Matias Alejo Garcia 18aadede29 fix tests and stringify for localstorage 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 5753f406e0 add tests to getSEssionId 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 54bc98f0bd add sessionStorage param 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia eb9acb958f mocha test passing on console 2014-08-15 18:34:03 -04:00
Matias Alejo Garcia bcb61810d5 WIP: better lock 2014-08-15 18:29:30 -04:00
Matias Alejo Garcia d8e0d50dce add WalletLock class 2014-08-15 18:26:33 -04:00
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
Christopher Jeffrey 919681633a paypro: 9 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 9c4ee94e35 paypro: 4 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 785a9cdd31 paypro: tests - send raw http requests to test mock server. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey f67e30bfd2 paypro: start writing more tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6d64935889 paypro: begin refactoring tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey a93f4532c5 paypro: fix paypro tests. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8cb2a96aff paypro: do not return error on untrusted cert. let peer decide whether to trust. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 1c4d292a96 paypro: fix mock server. unit controller tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey b89ad8f3cc paypro: controller unit tests for payment protocol. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 4cbc9ebf63 paypro: test - add mock paypro server. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 96c02c1e37 paypro: clean up tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 9d81cc0006 paypro: start mocking up tests for running in browser and node. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey e0ff9ca6bd paypro: fix parseBitcoinURI. start using bitcoin uris in tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 283dec1f2e paypro: clean up test again. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 5e885da184 paypro: clean up test. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey f6e9d647b4 paypro: add hideous test for payment protocol. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 58b9345f59 test: fix wallet test if copay is in ./node_modules. 2014-08-14 09:52:08 -04:00
Gregg Zigler 5853a197e5 replace try/catch with browserify for copay.js 2014-08-13 15:04:55 -07:00
Yemel Jardi 815c98f7e8 Merge pull request #1076 from matiu/bug/02-open-wallet
Bug/02 open wallet
2014-08-13 12:33:46 -03:00
Matias Alejo Garcia 35ab711846 refactor lock warning and add tests 2014-08-12 15:26:15 -04:00
Matias Alejo Garcia 1733f5491b fix settings page and add tests 2014-08-11 16:26:48 -04:00
Gustavo Maximiliano Cortez fb3a7191e5 Updated mocha test 2014-08-07 20:40:39 -03:00
Gustavo Maximiliano Cortez 8ad1fa7b02 Fixes: tests. Added karma and mocha tests. 2014-08-07 20:07:41 -03:00
Gustavo Maximiliano Cortez fe53f1b87c Merge pull request #1059 from yemel/feature/change-menu
Refactor menu, split transactions tab into send and history
2014-08-07 10:26:40 -03:00
Yemel Jardi 17a66f7ad7 update karma tests 2014-08-07 10:20:24 -03:00
Gregg Zigler c8c7a57416 1. Add TxProposals to mocha test page
2. The jshint tool found some instances where var was declared twice within a function. Seemed to originate from copy/paste-style coding. Most were unambiguously intended for a single block within the function. In a few cases, two declarations were consumed by one later reference. In those cases, I removed the duplicate var or I refactored slightly.
2014-08-06 18:44:04 -04:00
Matias Alejo Garcia cc164af28b Merge pull request #1045 from cmgustavo/feature/01-version
Feature/01 version
2014-08-06 18:34:03 -03:00
Matias Alejo Garcia ddc8649bd3 fix `comment` handling 2014-08-06 15:56:17 -03:00
Yemel Jardi ad75265e93 Refactor menu, split transactions tab into send and history 2014-08-06 13:59:33 -03:00
Matias Alejo Garcia 91a05a896e rm removeRepeated fn 2014-08-05 17:18:02 -03:00
Matias Alejo Garcia 5a2dfe690d add rebroadcast test 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 91829f8410 remove sender sig check 2014-08-05 16:41:29 -03:00