Commit Graph

190 Commits (master)

Author SHA1 Message Date
Pavol Rusnak 6a27ce2d5c rewrite sign/verify tests to test long messages 10 years ago
Pavol Rusnak 69d2d2ded3 verify test without address does not make sense 10 years ago
Pavol Rusnak 1c6ed65921 add more tests to test_msg_verifymessage 10 years ago
Pavol Rusnak f790c95df0 add longer strings to ecies tests 10 years ago
Pavol Rusnak f9e45d8e94 rework EncryptMessage/DecryptMessage 10 years ago
Pavol Rusnak 399d4e10d7 create test_ecies for testing ECIES 10 years ago
Pavol Rusnak 06214d52b4 fix unittests using client.get_public_node method 10 years ago
Pavol Rusnak 4f621b1da0 fix test_recovery_device in test_protection_levels.py 10 years ago
Pavol Rusnak 9ed0604b65 use HidTransport by default again 10 years ago
Pavol Rusnak a527456db5 add transport for bridge 10 years ago
Pavol Rusnak a0d73b25fe change logic of recovery 10 years ago
Pavol Rusnak 2d2e31fa50 refactor pprint (add new inspection fields, but comment them) 10 years ago
Pavol Rusnak 7305a77f3e make test_255_outputs more general and rename to test_lots_of_outputs
new test test_lots_of_inputs
10 years ago
Pavol Rusnak d46bdf2f6e reenable TestDebugLink.test_layout 10 years ago
Pavol Rusnak 260a4322a6 add ClearSession message with unit test 10 years ago
Pavol Rusnak a3d22dc56e add tests for EncryptMessage/DecryptMessage 10 years ago
Pavol Rusnak c38f4346f6 add run-separate.sh script 10 years ago
Pavol Rusnak f17f7d0569 don't use simplesigntx in tests where signtx can be used 10 years ago
Pavol Rusnak 1038a0a3e6 added test for cipherkeyvalue 10 years ago
Pavol Rusnak 0307307dad fix tests to match reality :) 10 years ago
Pavol Rusnak c06a45c1a8 disable utf tests for sign/verify message for now 10 years ago
Pavol Rusnak 83c93ba3a0 copy test_spend_coinbase to simplesigntx suite as well 10 years ago
slush0 3077b752d4 test_spend_coinbase 10 years ago
Pavol Rusnak b7f5849ecc fix ButtonRequestType in Ping and GetEntropy 10 years ago
Pavol Rusnak cff0b5fbf7 add test_signtx to test_protection_levels 10 years ago
Pavol Rusnak deec6fc2fc simplify test for test_255_outputs using list comprehensions 10 years ago
Pavol Rusnak 615473409a add expected responses to test_msg_signtx test 10 years ago
Pavol Rusnak 3865d22c56 add expected responses to test_msg_signtx.test_one_one_fee unit test 10 years ago
slush0 99af68388d Added unittest test_attack_change_outputs
Removed obsolete tests, enabled test with 255 outputs
10 years ago
Pavol Rusnak 35661161c9 simplify test_255_outputs 10 years ago
Pavol Rusnak b91bd9d628 use simplesigntx tests for signtx 10 years ago
Pavol Rusnak c642605ad2 modify simplesigntx to match signtx semantics 10 years ago
Pavol Rusnak 7ae8894214 fix two more unit tests 10 years ago
slush0 2964cc4f9c Temporary disabled unit test 10 years ago
slush0 cbe8b42eed First unit test for streaming tx 10 years ago
slush0 d017ae2adf Fixed RequestTx structure 10 years ago
slush0 e9dbedfd33 Added unit test for PAYTOSCRIPTHASH 10 years ago
Pavol Rusnak 38ed16934f use bitcore for tx api 10 years ago
Pavol Rusnak 860aa753c9 put TXAPIs into one location 10 years ago
Pavol Rusnak dc0d7fd1d6 initialize version/lock_time in TransactionType 10 years ago
Pavol Rusnak 51b9d4e177 recompile pb, adjust TransactionType constructors 10 years ago
slush0 21f3481c61 Removed button presses for LoadDevice/ResetDevice/RecoveryDevice 10 years ago
slush0 d2a787821b Fixed reset device 10 years ago
Pavol Rusnak 25631221c5 fix test_word_fail in test_msg_recoverydevice 10 years ago
slush0 e0efe950c0 Fixed typos 10 years ago
slush0 40f8c56eb4 Updated tests to do 10 years ago
slush0 bf7fb7928b Numbered mnemonic 10 years ago
Pavol Rusnak da6ce3acb8 add test for failed word in recovery device 10 years ago
Pavol Rusnak 4fc8868589 rename word variables in DebugLinkState message 10 years ago
Pavol Rusnak 14007cc613 add test_verify_bitcoind to test_msg_verifymessage 10 years ago
Pavol Rusnak 2f498f63e2 don't request confirmation of change addresses 10 years ago
Pavol Rusnak 1e148a7b7b really query for internal entropy before sending external one
use strength to compute number of words
10 years ago
Pavol Rusnak 006812a0b3 add one more test to test_msg_changepin 10 years ago
Pavol Rusnak 50d1537f43 disable layout retrieval in debuglink for now 10 years ago
slush0 8e97281f29 Unit tests of recovery device, apply settings 10 years ago
slush0 2708ccd8ba Test of change pin failure 10 years ago
slush0 39348895f9 Fixed unittest for get_subnode CKD 10 years ago
slush0 e19c8881c0 Removed 'version' from HDNodeType & fixed unit tests 10 years ago
Pavol Rusnak 4ca5b9e5e2 fix get_public_node call in test_msg_getaddress 10 years ago
Pavol Rusnak 729fac2077 add coin param to get_public_node call; new test for getpublickey message 10 years ago
slush0 640d290129 Implements 'with' + set_expected_responses 10 years ago
slush0 9310465946 ChangePin unittest 10 years ago
slush0 2e326bae91 Reworked&updated unittest todo 10 years ago
slush0 c743765a1b Renamed unit tests 10 years ago
slush0 ca14d1a995 Renamed unit tests for better consistency 10 years ago
slush0 1a15cbafb4 Changed unittest's TODO 10 years ago
slush0 f6845089d5 Added utf8 tests to sign/verify messages 10 years ago
slush0 c870b65f22 Renamed unittests for better consistency 10 years ago
slush0 e2aca677c0 WipeDevice test 10 years ago
slush0 56a9a4b384 DeviceLoad using UTF8 mnemonic 10 years ago
slush0 dfeb6de331 Test for Reset Device 10 years ago
Pavol Rusnak 8f7c8799a4 forgot Success 10 years ago
Pavol Rusnak b63418c8b8 add read_passphrase_protection to debuglink 10 years ago
Pavol Rusnak 74f3502637 don't call load_device in tests setup 10 years ago
Pavol Rusnak 86f1c716a9 use set_expected_responses in test_entropy and test_pings 10 years ago
slush0 5ed9fc8b1a Tests use new "set_expected_responses" 10 years ago
slush0 a0bc12375c Add tests for too long message and for testnet addresses 10 years ago
slush0 a117057dea Slightly refactored mixin structure, added debugging output 10 years ago
slush0 1f893afedd Root path is [], not [0] 10 years ago
slush0 21b3b0ab91 Tests reworked to new TrezorClient API, all tests passes. 10 years ago
slush0 36b0c8095d Fixed tx hash 10 years ago
Pavol Rusnak 59f4dcbaa5 compute root node via bip39 in test_bip32_speed before checking speed 10 years ago
slush0 2e9104f3c2 Reworked unit tests for using sigencode=sigencode_der_canonize in emu/trezor. 10 years ago
slush0 0d25c8974e Added basic testnet tests 10 years ago
slush0 f5606d6824 Edited list of useful tests 10 years ago
slush0 e160afa56d Added signing tests 10 years ago
Pavol Rusnak 33d4fc9f24 autodetect type of device in config 10 years ago
Pavol Rusnak 6ee8d7d949 and test_pings for combinations of input params 10 years ago
Pavol Rusnak 17e28c0e10 add asserts to debuglink tests 10 years ago
Pavol Rusnak 49cecb563d add test_debuglink test 10 years ago
slush0 919c216ac5 First attempt to use ButtonRequestType 10 years ago
slush0 1a71d7634b Comments 10 years ago
Pavol Rusnak 07137cae91 test_entropy does not need load_device 10 years ago
Pavol Rusnak 1716093dbb compile pb once again 10 years ago
slush0 98868b15a6 Added bip32 speed test
Fixed some unit tests
10 years ago
slush0 a437ae1022 Fixed some tests 10 years ago
slush0 c9a348d4a9 Unit tests for signing messages 10 years ago
Pavol Rusnak 7a35872ccf unit test for signing/verifying messages 10 years ago
slush0 845f874aea Added Features.initialized
Implemented wipe_device
10 years ago
Pavol Rusnak 366a7aa07d monkeypatching: text formatting of protobuf messages 10 years ago