1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
Commit Graph

217 Commits

Author SHA1 Message Date
Pavol Rusnak
74f3502637 don't call load_device in tests setup 2014-02-17 01:54:54 +01:00
Pavol Rusnak
86f1c716a9 use set_expected_responses in test_entropy and test_pings 2014-02-15 21:50:45 +01:00
slush0
5ed9fc8b1a Tests use new "set_expected_responses" 2014-02-15 20:31:34 +01:00
slush0
a0bc12375c Add tests for too long message and for testnet addresses 2014-02-13 18:51:38 +01:00
slush0
a117057dea Slightly refactored mixin structure, added debugging output 2014-02-13 17:20:40 +01:00
slush0
1f893afedd Root path is [], not [0] 2014-02-13 16:50:16 +01:00
slush0
21b3b0ab91 Tests reworked to new TrezorClient API, all tests passes. 2014-02-13 16:47:52 +01:00
slush0
36b0c8095d Fixed tx hash 2014-02-13 16:47:52 +01:00
Pavol Rusnak
59f4dcbaa5 compute root node via bip39 in test_bip32_speed before checking speed 2014-02-11 21:03:17 +01:00
slush0
2e9104f3c2 Reworked unit tests for using sigencode=sigencode_der_canonize in emu/trezor. 2014-02-09 01:08:03 +01:00
slush0
0d25c8974e Added basic testnet tests 2014-02-09 00:13:32 +01:00
slush0
f5606d6824 Edited list of useful tests 2014-02-08 23:15:38 +01:00
slush0
e160afa56d Added signing tests 2014-02-08 23:15:38 +01:00
Pavol Rusnak
33d4fc9f24 autodetect type of device in config 2014-02-08 17:53:32 +01:00
Pavol Rusnak
6ee8d7d949 and test_pings for combinations of input params 2014-02-07 11:31:12 +01:00
Pavol Rusnak
17e28c0e10 add asserts to debuglink tests 2014-02-07 01:47:55 +01:00
Pavol Rusnak
49cecb563d add test_debuglink test 2014-02-06 23:34:13 +01:00
slush0
919c216ac5 First attempt to use ButtonRequestType 2014-02-06 10:44:10 +01:00
slush0
1a71d7634b Comments 2014-02-06 10:43:41 +01:00
Pavol Rusnak
07137cae91 test_entropy does not need load_device 2014-02-06 00:43:56 +01:00
Pavol Rusnak
1716093dbb compile pb once again 2014-02-05 22:15:05 +01:00
slush0
98868b15a6 Added bip32 speed test
Fixed some unit tests
2014-02-04 16:12:52 +01:00
slush0
a437ae1022 Fixed some tests 2014-02-04 00:32:10 +01:00
slush0
c9a348d4a9 Unit tests for signing messages 2014-02-03 16:17:13 +01:00
Pavol Rusnak
7a35872ccf unit test for signing/verifying messages 2014-02-03 15:44:52 +01:00
slush0
845f874aea Added Features.initialized
Implemented wipe_device
2014-02-01 13:39:21 +01:00
Pavol Rusnak
366a7aa07d monkeypatching: text formatting of protobuf messages 2014-01-31 21:21:53 +01:00
slush0
fe0e409e77 Implementation of ChangePin 2014-01-31 19:48:19 +01:00
Pavol Rusnak
e34874b7c1 add entropy message test 2014-01-29 19:09:24 +01:00
Pavol Rusnak
24861a1b58 add check for expected type of message responses 2014-01-27 20:19:12 +01:00
Pavol Rusnak
733a4e979c adapt config.py to new api 2014-01-20 13:21:49 +01:00
slush0
93d7fe5341 Estimate tx size 2014-01-16 23:08:20 +01:00
slush0
91b2b637b4 BIP32 public CKD 2014-01-14 14:29:18 +01:00
slush0
b9925432cd Basic blockchain.info API
SimpleSignTx basic unit test
2014-01-13 04:44:57 +01:00
slush0
c6db133907 Fixed tests 2014-01-12 16:16:07 +01:00
slush0
e542c2dc29 Fixed load_device, including command line 2013-12-30 23:35:20 +01:00
Pavol Rusnak
d3df313442 cleanup protobuf mess 2013-12-16 17:40:25 +01:00
slush0
1f7bfa556a Bootup test tuned also for RPi 2013-10-11 06:19:06 +02:00
slush0
121e189643 Implemented test of pin exponential backoff 2013-10-11 03:51:45 +02:00
slush0
b8ddd0279a Test of PIN cancel function 2013-10-10 17:18:02 +02:00
slush0
42419a129a Profiles for pipe transport / USB hid 2013-10-08 20:34:38 +02:00
slush0
851fa37a0a serial_number -> device_id 2013-10-08 20:34:21 +02:00
slush0
5d32d7f20e Seeds reflect changes in BIP39 wordlist 2013-10-08 20:33:09 +02:00
slush0
c692f60782 Refactored module structure 2013-09-13 05:28:56 +02:00
slush0
4530dc3684 All current tests passed 2013-09-13 05:28:29 +02:00
slush0
d273cdf86b Added unit tests for BTC, tBTC & LTC address generation 2013-09-13 05:27:21 +02:00
slush0
8d100bee0c Implemented ApplySettings, removed SetMaxFeeKb 2013-09-13 00:17:06 +02:00
slush
8e5abb560e Fixed imports 2013-09-01 03:42:26 +02:00
slush
3e39a4c267 test_addresses.py passed (although it uses Electrum algo, not BIP32) 2013-09-01 03:38:03 +02:00
slush
702460d153 Protect call test passed! 2013-09-01 03:35:31 +02:00
slush
cb594df790 Updated test structure to comply with latest changes.
test_basic.py passes succesfully, others will come soon...
2013-09-01 02:47:49 +02:00
slush
29bd7a10f8 Tests fixed to work with latest sources 2013-04-15 19:57:36 +02:00
slush
4b9a6675c7 SignTx test 2013-04-05 17:13:57 +02:00
slush
a6f0657de7 Fixes workflow for failed test 2013-04-05 17:13:29 +02:00
slush
53ffe3b755 Fixed address_n 2013-01-24 21:20:41 +01:00
slush
83aa0e6e66 UUID is exactly 9 bytes long 2013-01-24 15:51:12 +01:00
slush
29de33fa98 Data for testing private key generation 2013-01-17 17:01:37 +01:00
slush
ca94e682d3 Unit test for Electrum address generation 2013-01-17 13:37:48 +01:00
slush
2730631e6d Implemented responder for signing
Basic signtx unit test
2013-01-14 19:22:02 +01:00
slush
80e25b1410 Removed unnecessary import in test_protect_call 2013-01-14 19:21:48 +01:00
slush
1e6588e28f Test for protect_call 2013-01-14 17:05:38 +01:00
slush
9b4359fe01 Refactored tests, added common.BitkeyTest 2013-01-14 14:44:31 +01:00
slush
4aafd2deff Stub for protect_call tests 2013-01-14 14:44:11 +01:00
slush
b96b65e1ce Updated call parameters 2012-12-13 19:05:21 +00:00
slush
8f84e356ad Major refactoring
Added commandline tool cmd.py
2012-12-03 15:36:03 +00:00
slush
b6106fa681 Basic structure of unit tests 2012-11-15 20:05:57 +00:00
slush
b7a81c61eb Fixed paths and imports 2012-11-15 10:42:19 +00:00