Commit Graph

104 Commits

Author SHA1 Message Date
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
slush0 ca14d1a995 Renamed unit tests for better consistency 2014-02-21 02:33:23 +01:00
slush0 1a15cbafb4 Changed unittest's TODO 2014-02-21 02:33:08 +01:00
slush0 f6845089d5 Added utf8 tests to sign/verify messages 2014-02-21 02:32:09 +01:00
slush0 c870b65f22 Renamed unittests for better consistency 2014-02-21 02:31:34 +01:00
slush0 e2aca677c0 WipeDevice test 2014-02-21 01:48:50 +01:00
slush0 56a9a4b384 DeviceLoad using UTF8 mnemonic 2014-02-21 01:48:32 +01:00
slush0 dfeb6de331 Test for Reset Device 2014-02-20 19:15:43 +01:00
Pavol Rusnak 8f7c8799a4 forgot Success 2014-02-17 11:17:44 +01:00
Pavol Rusnak b63418c8b8 add read_passphrase_protection to debuglink 2014-02-17 02:16:43 +01:00
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