Commit Graph

777 Commits

Author SHA1 Message Date
Matias Alejo Garcia 4bf7bbe73f defaults to localStorage 2014-09-18 19:34:27 -03:00
Matias Alejo Garcia 238d36c0a7 fix pubkey param. add test 2014-09-18 18:29:00 -03:00
Matias Alejo Garcia 9bfc0dd193 revert to setPassphrase 2014-09-18 16:38:18 -03:00
Matias Alejo Garcia 56a7a7b5c5 rename setPassphrase 2014-09-18 16:15:23 -03:00
Ivan Socolsky e0263cf594 Removed 'funds received' notification for change addresses 2014-09-17 17:39:53 -03:00
Matias Alejo Garcia c7378c90ec karma passing again! 2014-09-17 13:03:12 -03:00
Matias Alejo Garcia 7fd93d4ffd fix all tests in mocha 2014-09-17 12:11:33 -03:00
Matias Alejo Garcia 1ab7a4f8e8 fix walletlock tests 2014-09-17 12:10:26 -03:00
Matias Alejo Garcia 8bc1eb15e4 burn in hell fake storage 2014-09-17 09:42:23 -03:00
Gustavo Maximiliano Cortez d360c8eeb5 fix test 2014-09-17 09:36:16 -03:00
Matias Alejo Garcia 5886af5420 WIP karma tests 2014-09-17 08:58:23 -03:00
Matias Alejo Garcia e2af5ac782 Merge pull request #1418 from matiaspando/test/addingCoverage
Test added on Wallet.js
2014-09-17 06:30:46 -03:00
Matias Pando a316d04474 Test added 2014-09-16 15:58:23 -03:00
Matias Alejo Garcia 415861df29 all test passing, after rebasing 2014-09-15 17:45:06 -03:00
Matias Alejo Garcia fd97b12c4d . 2014-09-15 16:46:24 -03:00
Matias Alejo Garcia b38c26fbd4 . 2014-09-15 16:42:45 -03:00
Matias Alejo Garcia 52a8423df9 trying to fix tests 2014-09-15 16:11:26 -03:00
Matias Alejo Garcia 5cf4fe0b66 ALL TEST PASSING!!! 2014-09-15 14:23:02 -03:00
Matias Alejo Garcia ad22b24d83 more tests 2014-09-15 14:21:49 -03:00
Matias Alejo Garcia c3574ae57f refactor WalletFactory test to use sinon instead of mocks WIP 2014-09-15 14:18:10 -03:00
Matias Alejo Garcia 9f30c9ade5 fix more tests en wallet f 2014-09-15 14:17:52 -03:00
Matias Alejo Garcia f48898033f more tests fixes 2014-09-15 14:17:52 -03:00
Matias Alejo Garcia f1e6d6cfc6 fix walletLock test 2014-09-15 14:17:20 -03:00
Matias Alejo Garcia b3ed2a2ea8 start fixing tests 2014-09-15 14:17:20 -03:00
Matias Alejo Garcia bbd762a1fe rm encrypted to storage 2014-09-15 14:08:42 -03:00
Matias Alejo Garcia 2849f773e2 change name to Encrypted 2014-09-15 14:07:43 -03:00
Gustavo Maximiliano Cortez d85fcbfe07 Remove forceNetwork 2014-09-15 10:16:40 -03:00
Ivan Socolsky 8d7e420524 No copayer nickname on 1-1 wallets 2014-09-12 11:10:45 -03:00
Ivan Socolsky 7cf2a474dd removed old test 2014-09-12 10:41:17 -03:00
Ivan Socolsky 81a73e6f2a resolved 2014-09-12 10:40:47 -03:00
Ivan Socolsky 19a8733a9c resolved conflicts 2014-09-12 10:28:16 -03:00
Ivan Socolsky 1f83f85189 separated subscribeToAddresses from getAddressesInfo 2014-09-12 10:25:38 -03:00
Manuel Araoz c47318c728 settings: fix send in livenet 2014-09-11 11:19:19 -07:00
Manuel Araoz 63423d92ed settings: fix tests 2014-09-11 10:15:00 -07:00
Manuel Araoz f2f5179b0a settings: fix tests 6 2014-09-10 14:06:54 -07:00
Manuel Araoz 85af562350 settings: fix tests 5 2014-09-10 14:02:11 -07:00
Manuel Araoz d4f7401e23 settings: fix tests 4 2014-09-10 14:01:40 -07:00
Manuel Araoz d57e5e73e7 settings: fix tests 3 2014-09-10 14:01:10 -07:00
Manuel Araoz 28dff691fd settings: fix tests 2 2014-09-10 13:56:49 -07:00
Manuel Araoz 91033f3fcb settings: fix tests 1 2014-09-10 13:46:20 -07:00
Manuel Araoz 7159cdb712 settings: added test for new secret scheme 2014-09-10 13:43:58 -07:00
Manuel Araoz b36564fcb7 settings: fix angular test 6 2014-09-10 13:41:40 -07:00
Manuel Araoz 0a531a47f9 settings: fix angular test 5 2014-09-10 13:41:40 -07:00
Manuel Araoz 2a976d2673 settings: fix angular test 4 2014-09-10 13:41:40 -07:00
Manuel Araoz 7277d29965 settings: fix angular test 3 2014-09-10 13:40:52 -07:00
Manuel Araoz 258ae5c79c settings: fix angular test 2 2014-09-10 13:40:52 -07:00
Manuel Araoz 6bdeaadb94 settings: fix angular test 1 2014-09-10 13:40:20 -07:00
Manuel Araoz 69b70d7d2b settings: fix tests 2014-09-10 13:40:20 -07:00
Manuel Araoz 296ddf3625 settings: fix test 3 2014-09-10 13:40:20 -07:00
Manuel Araoz 6a9ad9c01e settings: fix test 2 2014-09-10 13:39:22 -07:00
Manuel Araoz aba883ed2d settings: fix test spelling 2014-09-10 13:39:22 -07:00
Manuel Araoz 1d0f12f4cb settings: fix test 1 2014-09-10 13:39:22 -07:00
Manuel Araoz 09ec6f04bb settings: fix references to alternativeName 2014-09-10 13:39:22 -07:00
Manuel Araoz 08db6831ce settings: Insight.js refactor 2 2014-09-10 13:27:16 -07:00
Manuel Araoz f9a31ce9aa settings: nuke verbose 2 2014-09-10 13:19:27 -07:00
Ivan Socolsky baf92d4c1b resolved conflict 2014-09-10 15:09:11 -03:00
Esteban Ordano 00774b62fd Revert "Delete BuilderMockV0"
This is a combination of 3 commits:
* Revertion of commit b39a683339.
* Revertion of commit 61aea8db3d.
* Revertion of commit 5f666aef66.
2014-09-10 10:02:57 -03:00
Matias Alejo Garcia 38ed6e2df6 fix karma tests 2014-09-09 22:33:31 -03:00
Matias Alejo Garcia 194913c561 fix insight tests 2014-09-09 22:33:31 -03:00
Matias Alejo Garcia d838a29d02 fix some wallet tests 2014-09-09 22:33:31 -03:00
Matias Alejo Garcia c45495eeff lazy connect 2014-09-09 22:30:21 -03:00
Gustavo Maximiliano Cortez 43c0a0bb32 tests for copayers controller 2014-09-09 12:59:48 -03:00
Gustavo Maximiliano Cortez f811f91952 Merge pull request #1322 from matiu/builderOpts2
Builder opts2
2014-09-09 10:55:20 -03:00
Matias Alejo Garcia 740be93836 fix fee / feeSat opts 2014-09-09 10:43:13 -03:00
Gustavo Maximiliano Cortez ea91c603f9 Merge pull request #1315 from isocolsky/fix/insight_down
Catching errors when trying to create new TXP
2014-09-09 10:38:52 -03:00
Matias Alejo Garcia 765d3dd658 fix sighash opts + add tests 2014-09-09 08:42:32 -03:00
Ivan Socolsky 9ee04fe45f Fixed 'Use all funds' link for amounts below fee 2014-09-08 17:35:55 -03:00
Ivan Socolsky cef93325f4 Catch error when creating new TXP 2014-09-08 16:37:33 -03:00
Ivan Socolsky 152ab7aa44 Refactored Wallet#createTx 2014-09-08 15:50:20 -03:00
Matias Alejo Garcia ff7b6d6ad8 Merge pull request #1265 from eordano/fix/1052
Remove BuilderMockV0
2014-09-08 15:08:12 -03:00
Gustavo Maximiliano Cortez db3ca4ceef Merge pull request #1270 from isocolsky/fix/remove_spent
Removed proposals with spent inputs
2014-09-04 18:25:11 -03:00
Ivan Socolsky 48a4e8b555 Test 2014-09-04 17:38:09 -03:00
Ivan Socolsky ace301d1f8 Only remove pending txps 2014-09-04 17:37:38 -03:00
Ivan Socolsky e9e36020fe Add method to FakeWallet 2014-09-03 18:06:58 -03:00
Matias Pando 89dba4c616 Added secret number feature 2014-09-03 16:51:02 -03:00
Ivan Socolsky ea394de56a Tests 2014-09-03 11:55:12 -03:00
Ivan Socolsky a07ffee068 Precondition check for TxProposals#deleteOne 2014-09-03 11:55:05 -03:00
Ivan Socolsky 25064829e0 Tests 2014-09-03 11:54:57 -03:00
Esteban Ordano 61aea8db3d Fix tests 2014-09-02 18:43:40 -03:00
Esteban Ordano a0c7d2cb66 Merge pull request #1258 from cmgustavo/feature/01-remove-peerjs
Feature: remove peerjs
2014-09-02 18:23:36 -03:00
Manuel Araoz 89ec5ad61e add wallet import test 2014-09-02 17:08:09 -03:00
Manuel Araoz 5a3134212c fix passphrase test 2014-09-02 17:08:09 -03:00
Gustavo Maximiliano Cortez 76748bc5f9 remove video test 2014-09-02 11:51:05 -03:00
Esteban Ordano 6520f8c5e6 Fixes tests 2014-09-01 17:00:34 -03:00
Matias Alejo Garcia e73a3f8160 Merge pull request #1228 from eordano/feature/fiat
Allow user to select an alternative currency and specify amount of money in a fiat currency
2014-09-01 11:53:17 -03:00
Manuel Aráoz 21d7ea5411 Merge pull request #1239 from matiu/bug/create
rename #setup to #create
2014-09-01 11:25:49 -03:00
Esteban Ordano 22b92aca61 Address needed change to transaction resume, fix tests 2014-08-30 10:59:11 -03:00
Esteban Ordano ac6dfc8035 Add more tests to controller 2014-08-30 10:59:10 -03:00
Esteban Ordano cf143898f9 test for rate service 2014-08-30 10:59:10 -03:00
Yemel Jardi b97a332ae9 Add reconnecting notification, change subscribed list to dict, update balance after reconnect 2014-08-29 15:01:07 -03:00
Matias Alejo Garcia b8b40f21f6 rename #setup to #create 2014-08-29 13:20:47 -03:00
Yemel Jardi 0623c87727 Update tests 2014-08-29 12:27:53 -03:00
Yemel Jardi 16091bd330 Refactor controllers 2014-08-29 12:27:53 -03:00
Yemel Jardi 33801e9587 Refactor blockchain backing service 2014-08-29 12:27:53 -03:00
Matias Alejo Garcia 2c354525ea test passing 2014-08-28 19:19:28 -03:00
Manuel Aráoz dfa383b351 Merge pull request #1197 from matiaspando/tmp
Added a test to PublicKeyRing to increase coverage
2014-08-27 17:29:35 -03:00
Matias Pando 028f3dbd8d Fixing test PublicKeyRing 2014-08-27 11:13:32 -03:00
Manuel Aráoz a37e31ec80 Merge pull request #1199 from isocolsky/test/sendTx
Test wallet#sendTx
2014-08-27 11:03:41 -03:00
Ivan Socolsky 0710c002ca Fail to send should check if already sent 2014-08-27 10:36:01 -03:00
Ivan Socolsky 63fb94c2be Check fail when sending incomplete tx 2014-08-27 09:47:45 -03:00
Matias Pando d4ce4e3c01 Added a test to PublicKeyRing to increase coverage 2014-08-26 17:01:41 -03:00
Manuel Araoz d6fb7280c8 fix browser to firefox 2014-08-26 16:41:22 -03:00
Manuel Araoz 4e96abe2f7 make tests run with separate script 2014-08-26 16:41:22 -03:00
Manuel Araoz 685c4c06a7 remove only 2014-08-26 16:41:21 -03:00
Manuel Araoz 68014db04a fix firefox bugs 2014-08-26 16:41:21 -03:00
Manuel Araoz 9047f4f30b skip PayPro test in browser, they break in travis 2014-08-26 16:41:21 -03:00
Manuel Araoz 23e6971e76 remove File class 2014-08-26 16:41:21 -03:00
Manuel Araoz 3062dd1227 remove test/index.html yay :D 2014-08-26 16:41:21 -03:00
Manuel Araoz 5206547a61 add some mocha tests to karma 10 2014-08-26 16:41:21 -03:00
Manuel Araoz f70fa396b7 add some mocha tests to karma 8 2014-08-26 16:41:21 -03:00
Manuel Araoz 88bf042e3c add some mocha tests to karma 6 2014-08-26 16:41:21 -03:00
Matias Alejo Garcia 64afc4b914 Merge pull request #1185 from isocolsky/test/passphrase
Add tests for passphrase
2014-08-26 16:19:46 -03:00
Ivan Socolsky fbf021cd09 Add tests for passphrase 2014-08-26 13:02:02 -03:00
Manuel Araoz c07055b012 fix new tests from rebase 2014-08-26 11:43:44 -03:00
Manuel Araoz 1f0215b6e1 fix test after rebase 3 2014-08-26 11:43:44 -03:00
Manuel Araoz e00997bad8 fix test after rebase 2 2014-08-26 11:43:43 -03:00
Manuel Araoz 0d22524885 fix test after rebase 2014-08-26 11:43:43 -03:00
Manuel Araoz 0aa63be74b remove old Message class 2014-08-26 11:43:43 -03:00
Manuel Araoz 774400d7a7 add a broadcast test 2014-08-26 11:43:43 -03:00
Manuel Araoz 0d837faaec fix more tests 2014-08-26 11:43:43 -03:00
Manuel Araoz 043fb16d64 fix more tests 2014-08-26 11:43:43 -03:00
Manuel Araoz 7bb0e84995 remove console log 2014-08-26 11:43:43 -03:00
Manuel Araoz c905668195 fix test 16 2014-08-26 11:43:43 -03:00
Manuel Araoz 614d8d63ad fix test 15 2014-08-26 11:43:43 -03:00
Manuel Araoz 1cca496a66 fix test 14 2014-08-26 11:43:43 -03:00
Manuel Araoz 78f338f446 fix test 13 2014-08-26 11:43:43 -03:00
Manuel Araoz 3a84bee9bf fix test 13 2014-08-26 11:43:43 -03:00
Manuel Araoz f22c3e3be2 fix test 13 2014-08-26 11:43:42 -03:00
Manuel Araoz 50348a171f fix test 13 2014-08-26 11:43:42 -03:00
Manuel Araoz 5ace0c7e46 fix test 11+12 2014-08-26 11:43:42 -03:00
Manuel Araoz c4515d644d fix test 10 2014-08-26 11:43:42 -03:00
Manuel Araoz 609d0327cc refactor into simpler tests 2014-08-26 11:43:42 -03:00
Manuel Araoz 302bc4bf7e fix test 9 2014-08-26 11:43:42 -03:00
Manuel Araoz 372d230e17 fix test 8 2014-08-26 11:43:42 -03:00
Manuel Araoz ed7916f1be fix test 7, removed a test that made no sense 2014-08-26 11:43:42 -03:00
Manuel Araoz 6fa50f1dc2 fix test 5 2014-08-26 11:43:42 -03:00
Manuel Araoz 850c4c6f70 fix test 4 2014-08-26 11:43:42 -03:00
Manuel Araoz 8709d91b37 fix test 4 2014-08-26 11:43:42 -03:00
Manuel Araoz f5e7886a72 fix test 3 2014-08-26 11:43:42 -03:00
Manuel Araoz 73390cebf8 fix test 2 2014-08-26 11:43:42 -03:00
Manuel Araoz 0b80373894 fix test 1 2014-08-26 11:43:42 -03:00
Manuel Araoz e0b8f3319f remove WebRTC 2014-08-26 11:43:42 -03:00
Manuel Araoz 3ebacd50cc working towards refactoring network 2014-08-26 11:43:41 -03:00
Manuel Araoz 48dd8549ef fixing stuff 2014-08-26 11:43:41 -03:00
Manuel Araoz 7dc37a272a starting with async networking 2014-08-26 11:43:41 -03:00
Matias Alejo Garcia a69f090c9c add tests 2014-08-22 22:05:08 -04:00
Matias Alejo Garcia 35e9508b28 fix formatting 2014-08-22 14:44:40 -04:00
Matias Alejo Garcia 51a42cce8e mocha tests passing 2014-08-22 13:26:03 -04:00
Matias Alejo Garcia 18ffaa172a refactor txProposal input signature handling 2014-08-22 13:25:55 -04:00
Matias Alejo Garcia bb9fbfa1e7 fix tests 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 291ed73916 add test and adv opts to create 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia e11ac3e956 add tests 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 4931c9d618 add purge to tx prosposals 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 2617b76428 mv backup to more filenames 2014-08-22 10:26:18 -04:00
Matias Alejo Garcia ca23aed70f add test for priv key import 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 7f0e9cd03d implements skipping fields in backup imports 2014-08-22 10:25:30 -04:00
Ivan Socolsky ce910fe52f Check tx proposal minimum amount 2014-08-21 16:02:02 -03:00
Gustavo Maximiliano Cortez 852eed3439 Merge pull request #1134 from matiu/bitcorelib
Bitcorelib
2014-08-19 17:03:20 -03:00
Gustavo Maximiliano Cortez 068f8cad52 Merge pull request #1133 from matiu/bug/nn-name
Bug/nn name
2014-08-19 16:45:51 -03:00
Matias Alejo Garcia ecfdaf00cb Merge pull request #1132 from yemel/refactor/remove-old-code
Remove old code
2014-08-19 15:20:02 -04:00
Matias Alejo Garcia 51fcce5b93 add link to bitcore.js 2014-08-19 14:30:16 -04:00
Matias Alejo Garcia 202e9a4270 Merge pull request #1129 from greggzigler/skipped_tests
Add skipped tests to mocha index.html
2014-08-19 14:26:39 -04:00
Yemel Jardi 1e9b83a195 Remove old code 2014-08-19 15:06:44 -03:00
Matias Alejo Garcia 9e5bec9b9b rm cache from storage/network from Priv Key 2014-08-19 13:31:35 -04:00
Gregg Zigler e16492e64b add HDParams test to moch index, get rid of unused code that caused errors 2014-08-19 09:06:37 -07:00
Matias Alejo Garcia 20af614f40 remove pubkey cache from network and storage 2014-08-19 11:48:29 -04:00
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