1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00
Commit Graph

126 Commits

Author SHA1 Message Date
Pavol Rusnak
260a4322a6 add ClearSession message with unit test 2014-06-17 15:31:10 +02:00
Pavol Rusnak
a3d22dc56e add tests for EncryptMessage/DecryptMessage 2014-06-16 17:16:15 +02:00
Pavol Rusnak
c38f4346f6 add run-separate.sh script 2014-06-11 19:56:19 +02:00
Pavol Rusnak
f17f7d0569 don't use simplesigntx in tests where signtx can be used 2014-06-09 15:33:54 +02:00
Pavol Rusnak
1038a0a3e6 added test for cipherkeyvalue 2014-06-07 19:48:52 +02:00
Pavol Rusnak
0307307dad fix tests to match reality :) 2014-06-04 17:59:25 +02:00
Pavol Rusnak
c06a45c1a8 disable utf tests for sign/verify message for now 2014-06-02 17:53:41 +02:00
Pavol Rusnak
83c93ba3a0 copy test_spend_coinbase to simplesigntx suite as well 2014-05-28 14:54:06 +02:00
slush0
3077b752d4 test_spend_coinbase 2014-05-28 14:39:09 +02:00
Pavol Rusnak
b7f5849ecc fix ButtonRequestType in Ping and GetEntropy 2014-04-28 14:39:05 +02:00
Pavol Rusnak
cff0b5fbf7 add test_signtx to test_protection_levels 2014-04-27 23:06:06 +02:00
Pavol Rusnak
deec6fc2fc simplify test for test_255_outputs using list comprehensions 2014-04-24 16:23:06 +02:00
Pavol Rusnak
615473409a add expected responses to test_msg_signtx test 2014-04-24 15:59:10 +02:00
Pavol Rusnak
3865d22c56 add expected responses to test_msg_signtx.test_one_one_fee unit test 2014-04-23 23:44:56 +02:00
slush0
99af68388d Added unittest test_attack_change_outputs
Removed obsolete tests, enabled test with 255 outputs
2014-04-18 18:57:00 +02:00
Pavol Rusnak
35661161c9 simplify test_255_outputs 2014-04-17 18:33:26 +02:00
Pavol Rusnak
b91bd9d628 use simplesigntx tests for signtx 2014-04-17 16:37:09 +02:00
Pavol Rusnak
c642605ad2 modify simplesigntx to match signtx semantics 2014-04-17 16:30:19 +02:00
Pavol Rusnak
7ae8894214 fix two more unit tests 2014-04-11 15:17:36 +02:00
slush0
2964cc4f9c Temporary disabled unit test 2014-04-10 15:23:36 +02:00
slush0
cbe8b42eed First unit test for streaming tx 2014-04-10 15:23:36 +02:00
slush0
d017ae2adf Fixed RequestTx structure 2014-04-10 15:23:36 +02:00
slush0
e9dbedfd33 Added unit test for PAYTOSCRIPTHASH 2014-04-02 18:54:19 +02:00
Pavol Rusnak
38ed16934f use bitcore for tx api 2014-03-28 21:34:15 +01:00
Pavol Rusnak
860aa753c9 put TXAPIs into one location 2014-03-28 19:51:56 +01:00
Pavol Rusnak
dc0d7fd1d6 initialize version/lock_time in TransactionType 2014-03-27 19:10:24 +01:00
Pavol Rusnak
51b9d4e177 recompile pb, adjust TransactionType constructors 2014-03-25 19:36:46 +01:00
slush0
21f3481c61 Removed button presses for LoadDevice/ResetDevice/RecoveryDevice 2014-03-07 22:50:35 +01:00
slush0
d2a787821b Fixed reset device 2014-03-07 22:39:49 +01:00
Pavol Rusnak
25631221c5 fix test_word_fail in test_msg_recoverydevice 2014-03-07 22:38:16 +01:00
slush0
e0efe950c0 Fixed typos 2014-03-07 21:57:51 +01:00
slush0
40f8c56eb4 Updated tests to do 2014-03-07 21:57:50 +01:00
slush0
bf7fb7928b Numbered mnemonic 2014-03-07 21:57:50 +01:00
Pavol Rusnak
da6ce3acb8 add test for failed word in recovery device 2014-03-07 21:51:01 +01:00
Pavol Rusnak
4fc8868589 rename word variables in DebugLinkState message 2014-03-07 17:38:38 +01:00
Pavol Rusnak
14007cc613 add test_verify_bitcoind to test_msg_verifymessage 2014-03-06 22:02:07 +01:00
Pavol Rusnak
2f498f63e2 don't request confirmation of change addresses 2014-03-06 20:54:50 +01:00
Pavol Rusnak
1e148a7b7b really query for internal entropy before sending external one
use strength to compute number of words
2014-03-05 16:16:45 +01:00
Pavol Rusnak
006812a0b3 add one more test to test_msg_changepin 2014-03-03 00:29:17 +01:00
Pavol Rusnak
50d1537f43 disable layout retrieval in debuglink for now 2014-02-26 14:03:11 +01:00
slush0
8e97281f29 Unit tests of recovery device, apply settings 2014-02-22 02:15:21 +01:00
slush0
2708ccd8ba Test of change pin failure 2014-02-21 22:22:19 +01:00
slush0
39348895f9 Fixed unittest for get_subnode CKD 2014-02-21 22:19:55 +01:00
slush0
e19c8881c0 Removed 'version' from HDNodeType & fixed unit tests 2014-02-21 22:16:13 +01:00
Pavol Rusnak
4ca5b9e5e2 fix get_public_node call in test_msg_getaddress 2014-02-21 21:31:13 +01:00
Pavol Rusnak
729fac2077 add coin param to get_public_node call; new test for getpublickey message 2014-02-21 18:57:21 +01:00
slush0
640d290129 Implements 'with' + set_expected_responses 2014-02-21 07:28:56 +01:00
slush0
9310465946 ChangePin unittest 2014-02-21 04:46:33 +01:00
slush0
2e326bae91 Reworked&updated unittest todo 2014-02-21 04:46:12 +01:00
slush0
c743765a1b Renamed unit tests 2014-02-21 02:35:41 +01:00