Commit Graph

158 Commits (1daf60313591007ef6446206a1cd6a1debce1277)

Author SHA1 Message Date
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
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
11 years ago
slush0 2708ccd8ba Test of change pin failure
11 years ago
slush0 39348895f9 Fixed unittest for get_subnode CKD
11 years ago
slush0 e19c8881c0 Removed 'version' from HDNodeType & fixed unit tests
11 years ago
Pavol Rusnak 4ca5b9e5e2 fix get_public_node call in test_msg_getaddress
11 years ago
Pavol Rusnak 729fac2077 add coin param to get_public_node call; new test for getpublickey message
11 years ago
slush0 640d290129 Implements 'with' + set_expected_responses
11 years ago
slush0 9310465946 ChangePin unittest
11 years ago
slush0 2e326bae91 Reworked&updated unittest todo
11 years ago
slush0 c743765a1b Renamed unit tests
11 years ago
slush0 ca14d1a995 Renamed unit tests for better consistency
11 years ago
slush0 1a15cbafb4 Changed unittest's TODO
11 years ago
slush0 f6845089d5 Added utf8 tests to sign/verify messages
11 years ago
slush0 c870b65f22 Renamed unittests for better consistency
11 years ago
slush0 e2aca677c0 WipeDevice test
11 years ago
slush0 56a9a4b384 DeviceLoad using UTF8 mnemonic
11 years ago
slush0 dfeb6de331 Test for Reset Device
11 years ago
Pavol Rusnak 8f7c8799a4 forgot Success
11 years ago
Pavol Rusnak b63418c8b8 add read_passphrase_protection to debuglink
11 years ago
Pavol Rusnak 74f3502637 don't call load_device in tests setup
11 years ago
Pavol Rusnak 86f1c716a9 use set_expected_responses in test_entropy and test_pings
11 years ago
slush0 5ed9fc8b1a Tests use new "set_expected_responses"
11 years ago
slush0 a0bc12375c Add tests for too long message and for testnet addresses
11 years ago
slush0 a117057dea Slightly refactored mixin structure, added debugging output
11 years ago
slush0 1f893afedd Root path is [], not [0]
11 years ago
slush0 21b3b0ab91 Tests reworked to new TrezorClient API, all tests passes.
11 years ago
slush0 36b0c8095d Fixed tx hash
11 years ago
Pavol Rusnak 59f4dcbaa5 compute root node via bip39 in test_bip32_speed before checking speed
11 years ago
slush0 2e9104f3c2 Reworked unit tests for using sigencode=sigencode_der_canonize in emu/trezor.
11 years ago
slush0 0d25c8974e Added basic testnet tests
11 years ago
slush0 f5606d6824 Edited list of useful tests
11 years ago
slush0 e160afa56d Added signing tests
11 years ago
Pavol Rusnak 33d4fc9f24 autodetect type of device in config
11 years ago
Pavol Rusnak 6ee8d7d949 and test_pings for combinations of input params
11 years ago
Pavol Rusnak 17e28c0e10 add asserts to debuglink tests
11 years ago
Pavol Rusnak 49cecb563d add test_debuglink test
11 years ago
slush0 919c216ac5 First attempt to use ButtonRequestType
11 years ago
slush0 1a71d7634b Comments
11 years ago
Pavol Rusnak 07137cae91 test_entropy does not need load_device
11 years ago
Pavol Rusnak 1716093dbb compile pb once again
11 years ago
slush0 98868b15a6 Added bip32 speed test
11 years ago
slush0 a437ae1022 Fixed some tests
11 years ago
slush0 c9a348d4a9 Unit tests for signing messages
11 years ago
Pavol Rusnak 7a35872ccf unit test for signing/verifying messages
11 years ago
slush0 845f874aea Added Features.initialized
11 years ago
Pavol Rusnak 366a7aa07d monkeypatching: text formatting of protobuf messages
11 years ago
slush0 fe0e409e77 Implementation of ChangePin
11 years ago
Pavol Rusnak e34874b7c1 add entropy message test
11 years ago
Pavol Rusnak 24861a1b58 add check for expected type of message responses
11 years ago
Pavol Rusnak 733a4e979c adapt config.py to new api
11 years ago
slush0 93d7fe5341 Estimate tx size
11 years ago
slush0 91b2b637b4 BIP32 public CKD
11 years ago
slush0 b9925432cd Basic blockchain.info API
11 years ago
slush0 c6db133907 Fixed tests
11 years ago
slush0 e542c2dc29 Fixed load_device, including command line
11 years ago
Pavol Rusnak d3df313442 cleanup protobuf mess
11 years ago
slush0 1f7bfa556a Bootup test tuned also for RPi
11 years ago
slush0 121e189643 Implemented test of pin exponential backoff
11 years ago
slush0 b8ddd0279a Test of PIN cancel function
11 years ago
slush0 42419a129a Profiles for pipe transport / USB hid
11 years ago
slush0 851fa37a0a serial_number -> device_id
11 years ago
slush0 5d32d7f20e Seeds reflect changes in BIP39 wordlist
11 years ago
slush0 c692f60782 Refactored module structure
11 years ago
slush0 4530dc3684 All current tests passed
11 years ago
slush0 d273cdf86b Added unit tests for BTC, tBTC & LTC address generation
11 years ago
slush0 8d100bee0c Implemented ApplySettings, removed SetMaxFeeKb
11 years ago
slush 8e5abb560e Fixed imports
11 years ago
slush 3e39a4c267 test_addresses.py passed (although it uses Electrum algo, not BIP32)
11 years ago
slush 702460d153 Protect call test passed!
11 years ago
slush cb594df790 Updated test structure to comply with latest changes.
11 years ago
slush 29bd7a10f8 Tests fixed to work with latest sources
11 years ago
slush 4b9a6675c7 SignTx test
11 years ago
slush a6f0657de7 Fixes workflow for failed test
11 years ago
slush 53ffe3b755 Fixed address_n
12 years ago
slush 83aa0e6e66 UUID is exactly 9 bytes long
12 years ago
slush 29de33fa98 Data for testing private key generation
12 years ago
slush ca94e682d3 Unit test for Electrum address generation
12 years ago
slush 2730631e6d Implemented responder for signing
12 years ago