Commit Graph

335 Commits

Author SHA1 Message Date
Matias Alejo Garcia 88e6ea9f40 Merge pull request #748 from ryanxcharles/feature/speed-up-wallet-tests
speed up wallet tests by three times
2014-06-25 10:09:58 -03:00
Yemel Jardi 139f6f8e18 Merge pull request #739 from maraoz/optimize/redeemscriptmap
optimize redeemscript map generation
2014-06-25 09:58:25 -03:00
Ryan X. Charles fe25fa3ad8 speed up wallet tests by caching wallet creation 2014-06-24 17:48:05 -07:00
Ryan X. Charles cce602b4fb remove console.log in test 2014-06-24 15:51:42 -07:00
Manuel Araoz 7629ebe5d7 add tests for Structurewq 2014-06-24 17:08:53 -03:00
Manuel Araoz 326384cd4b optimize redeemscript map generation 2014-06-24 17:08:53 -03:00
Yemel Jardi 7d8d89ab38 Review copay features for 1-of-1 2014-06-24 15:54:10 -03:00
Matias Alejo Garcia 6b7b00769d add tests 2014-06-24 13:18:13 -03:00
Ryan X. Charles ea2e2d4e19 run js-beautify on everything
...with two spaces. Command: js-beautify -s 2 -r [filename]
2014-06-24 08:36:32 -07:00
Gustavo Maximiliano Cortez da445e7c69 Merge pull request #730 from yemel/fix/new-address-on-payment
Change default address list
2014-06-24 12:00:12 -03:00
Yemel Jardi f1faa96510 Add filter test 2014-06-24 11:41:22 -03:00
Ryan X. Charles b64449ae09 Merge pull request #721 from maraoz/feature/autotop-send
send all available balance button
2014-06-24 07:34:06 -07:00
Ryan X. Charles e0ed8044a7 Merge pull request #734 from cmgustavo/feature/wallet-creation
Feature/wallet creation
2014-06-24 07:19:59 -07:00
Gustavo Maximiliano Cortez 621dcc1d09 Merge pull request #733 from yemel/feature/display-address-label
Add directive to render address from the book with a tooltip
2014-06-24 10:53:40 -03:00
Ryan X. Charles 8657e39dd7 wrap getNumber test in another describe 2014-06-23 16:31:17 -07:00
Gustavo Cortez ac83477a88 Test for getNumber function. 2014-06-23 19:45:04 -03:00
Ryan X. Charles 0d54875bf2 Merge pull request #712 from maraoz/txp/protocol/security2
Improve tx proposal protocol security
2014-06-23 15:18:56 -07:00
Yemel Jardi 099a282fb9 Add directive to render address from the book with a tooltip 2014-06-23 17:34:54 -03:00
Manuel Araoz 83ecbcee2b add test 2014-06-23 15:12:18 -03:00
Manuel Araoz e09b1e4fdc trying to fix tests 2014-06-23 15:06:12 -03:00
Yemel Jardi 970a6f3d37 Add tests for block events at Socket service 2014-06-23 15:05:06 -03:00
Yemel Jardi 26c829f6de Add validation and tests for spendUnconfirmed = false 2014-06-23 14:58:11 -03:00
Manuel Araoz 3ce3af4408 fix merge with master 2014-06-23 11:24:08 -03:00
Manuel Araoz 6252047cd3 fix tests 2014-06-23 11:23:48 -03:00
Manuel Araoz cf159241a9 working towards fixing tests with new rules 2014-06-23 11:23:48 -03:00
Manuel Araoz 542f6d5cea add preconditions and tests 2014-06-23 11:23:48 -03:00
Manuel Aráoz 4d6e9f8a6d Merge pull request #677 from ryanxcharles/feature/ECIES
ECIES
2014-06-23 11:22:22 -03:00
Manuel Araoz 1f9e1a5f39 fix tests 2014-06-23 09:53:53 -03:00
Manuel Araoz 0347cb5bda add isMobile service and tests 2014-06-23 09:34:48 -03:00
Matias Alejo Garcia a07957d4a3 Merge pull request #719 from yemel/anti-feature/remove-email-backup
Remove email backup feature
2014-06-19 17:20:47 -03:00
Ryan X. Charles 952b2a6d36 add tests for WalletFactory 2014-06-19 13:15:41 -07:00
Ryan X. Charles 7ae6438478 add tests for Wallet 2014-06-19 13:15:41 -07:00
Ryan X. Charles bf36376dda got WalletFactory tests to work
...by removing the reference to netKey
2014-06-19 13:14:51 -07:00
Ryan X. Charles 57417287bd fix Wallet tests
...by removing references to now-nonexistent netKey
2014-06-19 13:13:42 -07:00
Ryan X. Charles 435e5c3e13 another test for WebRTC 2014-06-19 13:13:01 -07:00
Ryan X. Charles 98b864454f add some basic tests for WebRTC 2014-06-19 13:13:01 -07:00
Ryan X. Charles 2b2a807f7c remove unused "copay" dependency 2014-06-19 13:13:01 -07:00
Ryan X. Charles 8bba982978 make WebRTC tests work 2014-06-19 13:13:01 -07:00
Ryan X. Charles 434dad831d add tests for WebRTC and fix some mocha browser test problems
from now on you need to run "grunt shell --target=dev" to build the test
version of copay which you can run the mocha browser tests on, which includes
packages like sinon and soop.
2014-06-19 13:13:01 -07:00
Ryan X. Charles c78b7101db add tests for changes to private key 2014-06-19 13:13:01 -07:00
Ryan X. Charles a535d93b6f make mocha browser tests all run with no console errors
...except Wallet and WalletFactory.
2014-06-19 13:13:01 -07:00
Matias Alejo Garcia 1dc420b215 Merge pull request #697 from cmgustavo/feature/addressbook
Addressbook
2014-06-19 17:03:18 -03:00
Gustavo Cortez 47dcc12910 Fix Conflicts:
js/models/core/Wallet.js
2014-06-19 16:43:34 -03:00
Matias Alejo Garcia 44901cd635 fix conflics 2014-06-19 16:34:37 -03:00
Manuel Araoz 0c03af53a8 fixed karma test bug 2014-06-19 15:57:38 -03:00
Manuel Araoz d800a98df0 fix timeout test 2014-06-19 15:57:38 -03:00
Manuel Araoz b7af51ceee all tests passing 2014-06-19 15:57:38 -03:00
Manuel Araoz 889edf4b92 add preconditions and tests 2014-06-19 15:57:38 -03:00
Manuel Araoz 1457764930 change 'k' for 'ntxid' 2014-06-19 15:56:35 -03:00
Yemel Jardi 7847bdcb2c Remove email backup feature 2014-06-19 15:54:12 -03:00
Matias Alejo Garcia 50823ebd1c Merge pull request #699 from yemel/feature/one-time-backups
Add wallet addresses index discovery on importing backup
2014-06-19 15:32:37 -03:00
Gustavo Cortez 8398d8b663 Karma test for send Controller. Added another test for check handle of addressBook. 2014-06-19 14:21:38 -03:00
Gustavo Cortez f1b92ac67f update branch 2014-06-19 13:16:20 -03:00
Matias Alejo Garcia 8b5e616668 add tests for node 2014-06-19 00:33:27 -03:00
Matias Alejo Garcia 0481cf8e02 fixes POST request in node 2014-06-19 00:17:46 -03:00
Gustavo Cortez 4aa3915381 Sync address book with all copayer 2014-06-18 20:18:13 -03:00
Manuel Araoz 86633cd5b4 fix karma tests 2014-06-18 16:02:31 -03:00
Yemel Jardi 0958d9686e Add more tests 2014-06-18 14:24:48 -03:00
Ryan X. Charles 8c1c0b211e remove console.log from test
...cluttering the console.log output looks bad and can be avoided using methods
like this.
2014-06-18 09:32:19 -07:00
Yemel Jardi 29920abdb3 Add wallet addresses index discovery on importing backup 2014-06-18 11:10:51 -03:00
Gustavo Cortez 21baa103bd Fix Conflicts:
js/models/core/WalletFactory.js
2014-06-18 10:03:22 -03:00
Gustavo Cortez f5aad7bd15 Addressbook on SendPage 2014-06-18 01:00:32 -03:00
Matias Alejo Garcia a83aa869fd remove .only 2014-06-17 23:16:15 -03:00
Matias Alejo Garcia cd71ce4421 fix conflics 2014-06-17 16:25:38 -03:00
Matias Alejo Garcia 710c9c9657 fix tests 2014-06-17 14:02:39 -03:00
Ryan X. Charles 13350d21b3 fix more tests broken in last rebase 2014-06-17 09:39:41 -07:00
Ryan X. Charles 4ba6eeafb5 fix karma tests
by using require('sinon') not incorrect require('../sinon')
2014-06-17 09:08:58 -07:00
Ryan X. Charles e413ec43ef add TxProposals test; fix WalletFactory link 2014-06-17 09:03:30 -07:00
Ryan X. Charles de4225cc3f make WalletFactory tests work in mocha browser 2014-06-17 09:03:30 -07:00
Ryan X. Charles 46efea1243 make Wallet tests work in mocha browser 2014-06-17 09:03:30 -07:00
Ryan X. Charles f7e34acae8 make mocha browser tests all run with no console errors
...except Wallet and WalletFactory.
2014-06-17 09:03:30 -07:00
Manuel Aráoz 9e79e58c35 Merge pull request #687 from cmgustavo/bug/test-storage
Fixes on storage tests (removes current localStorage)
2014-06-17 11:04:48 -03:00
Gustavo Maximiliano Cortez 03993b5172 Merge pull request #686 from maraoz/automatic/backup
Automatic backup after create/join
2014-06-17 10:56:27 -03:00
Gustavo Cortez 9462da95c0 Fixes on storage tests (removes current localStorage)
* Fix test that removes localStorage (made clean() function).
* Enable the test for LocalPlain model.
2014-06-16 17:50:02 -03:00
Manuel Araoz 4b81bc1fdb add tests 2014-06-16 17:40:59 -03:00
Matias Alejo Garcia 2c60fd91c0 implements delete wallet, in backuptab 2014-06-16 17:37:33 -03:00
Yemel Jardi 6ab77e8711 Add user notifications on transaction signed and rejected events 2014-06-16 15:38:26 -03:00
Matias Alejo Garcia 00ca9f1c32 make unit configurable in settings. update after @cmgustavo comments 2014-06-16 12:44:18 -03:00
Matias Alejo Garcia 4fe58ec446 update to master 2014-06-13 19:47:11 -03:00
Matias Alejo Garcia 727bf8524a implement BITS + tests 2014-06-13 19:46:47 -03:00
Gustavo Cortez 8c2a784d86 Fix Conflicts:
bower.json
2014-06-13 15:01:32 -03:00
Manuel Aráoz 8d3ebcc0e2 Merge pull request #673 from yemel/feature/proposal-comments
Add user comment to transaction propossal
2014-06-13 11:30:12 -03:00
Yemel Jardi bcbb6b54d1 Add user comment to transaction propossal 2014-06-13 10:33:30 -03:00
Manuel Araoz 2bec53135c fix older tests 2014-06-12 14:36:00 -03:00
Manuel Araoz 322a793b62 trying to fix tests 2014-06-12 14:36:00 -03:00
Manuel Araoz a5cef11e47 trying to fix failing test 2014-06-12 14:35:59 -03:00
Manuel Araoz b568473d0e add fail search script 2014-06-12 14:35:59 -03:00
Ryan X. Charles b1eb0bffbc Merge pull request #662 from yemel/fix/password-strength-hint
Change wording of very weak password, add strength tip, add tests
2014-06-12 09:45:50 -07:00
Gustavo Cortez d746110f96 Tests for different amounts. 2014-06-12 11:12:59 -03:00
Yemel Jardi 5c56b7972f Change wording of very weak password, add strength tip, add tests 2014-06-11 15:39:56 -03:00
Matias Alejo Garcia 57464a2a48 update references to bitcore 2014-06-11 10:05:48 -03:00
Ryan X. Charles c2ea0b79c2 fix getEncryptedObj test
getEncryptedObj doesn't even exist any more. I remove the test for that
function, and add a test for the new function, export, which replaces it.
2014-06-10 10:46:10 -07:00
Ryan X. Charles 87d9afdf91 fix broken test
test needed to be updated to be aware that obj must have a name
2014-06-10 07:55:58 -07:00
Matias Alejo Garcia d0e20c1bff progressive reconnect time 2014-06-09 20:09:18 -03:00
Matias Alejo Garcia be7e122b0a rm variable reconnect time 2014-06-09 20:09:18 -03:00
Gustavo Maximiliano Cortez 43806a5825 Merge pull request #623 from matiu/feature/livenet2
Feature/livenet2
2014-06-09 18:10:51 -03:00
Matias Alejo Garcia 8e8bf1fb84 update to use pkr.networkName 2014-06-09 18:01:15 -03:00
Matias Alejo Garcia 60ed55b564 fix tests 2014-06-09 17:52:51 -03:00
Manuel Araoz 2fe08a258d add test for sendTx 2014-06-09 17:52:08 -03:00
Manuel Araoz 697dea673a add more tests and fix some bugs 2014-06-09 17:29:13 -03:00
Matias Alejo Garcia 88116dab25 add config for video, add names in footer 2014-06-09 15:59:18 -03:00
Matias Alejo Garcia 5ff8ad236a fix tests 2014-06-09 11:41:13 -03:00
Matias Alejo Garcia abcbda8cf4 fixing tests 2014-06-09 11:34:43 -03:00
Manuel Araoz 84b3752a58 add coverage, skip failing tests 2014-06-09 11:19:53 -03:00
Manuel Araoz 70d95b6f68 add more test coverage for Wallet 2014-06-09 11:19:53 -03:00
Manuel Araoz 13a9eebd9d add Passphrase test 2014-06-09 11:19:53 -03:00
Manuel Araoz 4271a7ff1e remove log 2014-06-05 15:44:56 -03:00
Manuel Araoz c63331907e fix test 2014-06-05 15:43:43 -03:00
Gustavo Maximiliano Cortez 69e31e2a79 Merge pull request #565 from matiu/feature/reconnectInsight
insight REST API retry
2014-06-05 14:54:52 -03:00
Manuel Araoz 37d778c1c3 add coverage reports 2014-06-05 13:30:01 -03:00
Matias Alejo Garcia da7c2c88db insight REST API retry 2014-06-05 12:18:54 -03:00
Matias Alejo Garcia 1a1b235aef updates with @cmgustavo comments 2014-06-05 00:15:42 -03:00
Matias Alejo Garcia 9c24b45f4c fix in updateVersion with tests 2014-06-04 23:47:22 -03:00
Matias Alejo Garcia a7cba1197a add karma test for controller and service 2014-06-04 23:21:41 -03:00
Matias Alejo Garcia bfa5d4ac51 add tests for Socket service 2014-06-04 23:16:57 -03:00
Manuel Araoz 51d5d7164e add AddressIndex model 2014-06-04 14:25:21 -03:00
Gustavo Cortez 72b4d75e78 Removed console.log 2014-06-04 11:25:58 -03:00
Gustavo Cortez dbdd3c3500 Refactory ControllerSpect for test is now more clear. A simple test for transactions. 2014-06-04 11:24:49 -03:00
Matias Alejo Garcia 77f6a8221a change names in services 2014-06-03 17:49:11 -03:00
Matias Alejo Garcia ac58d9744e change angular module namespace to copayApp 2014-06-03 17:48:37 -03:00
Manuel Araoz 86016de19d add new tests for new reconnect feature 2014-06-03 13:07:31 -03:00
Manuel Araoz fe177eaba2 fix tests 2014-06-03 12:40:28 -03:00
Gustavo Cortez 2a94b14852 Test for check if there are wallets on localStorage 2014-06-03 10:57:01 -03:00
Gustavo Cortez fd33385536 Fix Karma tests 2014-06-03 10:10:03 -03:00
Manuel Araoz 55245650bd rename WF test 2014-06-02 18:59:50 -03:00
Manuel Araoz 7dcc8f8b34 minor fix and tests 2014-05-30 10:29:51 -03:00
Manuel Araoz f13dea2376 fix tests 2014-05-30 09:49:53 -03:00
Manuel Araoz 4cd90c45a2 fixing tests 2014-05-30 09:49:53 -03:00
Manuel Araoz 60e4be4d6a allow only valid cases for livenet 2014-05-28 09:45:17 -03:00
Manuel Araoz 89cdfb3f7c
finish m_n script 2014-05-21 16:10:39 -03:00
Manuel Araoz 73e7d2a827 advancing with m-n script 2014-05-21 15:14:48 -03:00
Manuel Araoz c8ebf0ce65 working on find_m_n script 2014-05-21 11:10:39 -03:00
Matias Alejo Garcia 2e99d9a8ea add version to networking 2014-05-15 00:02:58 -03:00
Matias Alejo Garcia 81c56d0a41 fix tests 2014-05-15 00:02:25 -03:00
Mario Colque a9416ce1cd fixed tests 2014-05-01 16:32:03 -03:00
Matias Alejo Garcia 84637bd12d fix conflicts 2014-05-01 11:04:21 -03:00
Matias Alejo Garcia 1e8895f4b8 fix conflics 2014-05-01 09:58:56 -03:00
Matias Alejo Garcia c688e0a7b3 fix tests 2014-04-30 14:31:19 -03:00
Matias Alejo Garcia 2dc59de87e add random key for network encryption 2014-04-30 12:58:40 -03:00
Manuel Araoz e14654cd80 small changes 2014-04-29 17:44:35 -03:00
Mario Colque f154f77a02 added test for the methods fromObj and toObj of WalletFactory 2014-04-28 12:28:55 -03:00
Mario Colque 47cb4bd3da added a wrapper for the method fromObj of Wallet 2014-04-28 12:02:43 -03:00
Matias Alejo Garcia 46fa0e518c fix conflics 2014-04-24 23:43:05 -03:00
Ryan X. Charles 486685f757 Merge pull request #173 from matiu/feature/peer-authentication
Feature/peer authentication
2014-04-24 12:35:58 -03:00
Mario Colque e2f40ad7f5 Merge pull request #174 from cmgustavo/feature/01-test-directives
Testing directives for AngularJS
2014-04-24 12:16:18 -03:00
Gustavo Cortez 9b56d425aa Testing directives for AngularJS 2014-04-24 12:01:06 -03:00
Matias Alejo Garcia 6ace16e20d peer authentication 2014-04-24 11:58:41 -03:00
Mario Colque 2ad86bad9c compare the type of window in order to avoid nodejs conflicts with test 2014-04-24 09:46:18 -03:00
Mario Colque 09532f0aaa added tests for angular services 2014-04-23 18:07:20 -03:00
Mario Colque 02af76cdb9 change var name from copay to copayApp 2014-04-23 18:03:22 -03:00