Commit Graph

102 Commits

Author SHA1 Message Date
Coline
1214e1f44c fix: move new zemu test into zemu folder 2022-06-28 15:11:30 +02:00
Coline
63a8d94f48 feat: avoid test_eip1559 2022-06-28 15:11:29 +02:00
Coline
51fdc01065 fix: rename functional to zemu 2022-06-28 15:11:29 +02:00
Coline
b941145337 docs: some description in plugin class 2022-06-28 15:11:28 +02:00
Coline
f9673dfca7 feat: erc1155 tests with screen 2022-06-28 15:11:28 +02:00
Coline
3491bd5fa2 fix: rm try except into test 2022-06-28 15:11:27 +02:00
Coline
8313fc3938 rm: test_plugin_cmd.py -> mv to test_erc721 2022-06-28 15:11:27 +02:00
Coline
52769eb522 feat: erc721 test with screen and path argument for binary 2022-06-28 15:11:26 +02:00
Coline
45a054de09 feat: send raw apdu 2022-06-28 15:11:26 +02:00
Coline
df1434cf8a feat: first test erc721 (set_plugin apdu) 2022-06-28 15:11:25 +02:00
Coline
0d130e1de6 feat: plugin object (set_plugin & provide_nft_info) 2022-06-28 15:11:25 +02:00
Coline
4bdf0e3c7a feat: apdu_as_string in utils 2022-06-28 15:11:25 +02:00
Coline
1ae8042d09 feat: test nanosp 2022-06-28 15:11:24 +02:00
Coline
e069e2c2f1 refacto: name boilerplate to ethereum 2022-06-28 15:11:23 +02:00
Coline
19cdb505b3 feat: add more test and add screen compare 2022-06-28 15:11:23 +02:00
Coline
c663289328 feat: screenshot for compare in test 2022-06-28 15:11:22 +02:00
Coline
3490407b83 feat: all simple test of sign transaction without screen 2022-06-28 15:11:22 +02:00
Coline
249b976219 feat: simple sign test 2022-06-28 15:11:21 +02:00
Coline
e7fca8ee88 feat: zemu approve test for speculos (hard APDU) 2022-06-28 15:11:21 +02:00
Coline
35363e256d feat: tests sign
Signed-off-by: Coline <coline.seguret@ledger.fr>
2022-06-28 15:11:20 +02:00
Coline
104bfee2a9 feat: first test with speculos 2022-06-28 15:11:20 +02:00
Coline
18b74a582c fix: Makefile .gitignore into functional tests 2022-06-28 15:11:19 +02:00
Coline
ebc0e24589 fix: .PHONY in unit makefile 2022-06-28 15:11:18 +02:00
Coline
f103e2a023 docs: readme unit tests 2022-06-28 15:11:18 +02:00
Coline
ef07f77d8a fix: lint 2022-06-28 15:11:18 +02:00
Coline
2931fdaee0 fix: rm build into tests/unit 2022-06-28 15:11:17 +02:00
Coline
019f053634 feat: add tests folder 2022-06-28 15:11:16 +02:00
Coline
7cf98f419d fix: rm node modules 2022-06-28 15:11:16 +02:00
Alexandre Paillier
ad8334e54c feat: unit-test with cmocka
- Test only 1 function which is in utils2.c
    - Because is not inlude nano sdk
- Move zemu's into functional folder
    - Change path of zemu's test in CI and Makefile
2022-06-28 15:11:15 +02:00
dependabot[bot]
1f50dbe19b Bump minimist from 1.2.5 to 1.2.6 in /tests
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 11:40:38 +02:00
dependabot[bot]
5b6efe8f82 Bump protobufjs from 6.11.2 to 6.11.3 in /tests
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 09:14:00 +00:00
dependabot[bot]
26e0d19484 Bump tmpl from 1.0.4 to 1.0.5 in /tests
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 11:03:47 +02:00
Alexandre Paillier
b937717f12 Added Zemu tests for EIP-191 2022-06-08 11:45:21 +02:00
Alexandre Paillier
af67739aeb Removed unused Jest configuration 2022-06-08 11:45:21 +02:00
Alexandre Paillier
fa7c4476d7 Update Zemu framework 2022-06-08 11:45:20 +02:00
dependabot[bot]
8d448cbff3 Bump ansi-regex from 4.1.0 to 4.1.1 in /tests
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 16:01:19 +00:00
Alexandre Paillier
8739b29338 Updated the NFT Zemu tests 2022-03-09 16:42:02 +01:00
Alexandre Paillier
b3a36f9b11 Added new tests for ERC-1155 2022-02-15 14:13:48 +01:00
Alexandre Paillier
9a4d193de2 Added new tests for ERC-721 2022-02-15 10:39:34 +01:00
Alexandre Paillier
dfa7ed4013 Re-generated the test reference screenshots
An issue was introduced in 2.0 SDK for LNX, making text that should be
bold not bold.
2022-02-10 15:02:53 +01:00
Alexandre Paillier
10c0b00933 Updated Starkware test
Removed hacky workaround
2022-02-08 18:31:30 +01:00
Alexandre Paillier
55cc84f65d Updated send ECT test
Removed hacky workaround
2022-02-08 18:31:30 +01:00
Alexandre Paillier
68a16374f6 Updated send BSC test
Removed hacky workaround
2022-02-08 18:31:29 +01:00
Alexandre Paillier
8437cc3fe5 Updated send test
Removed hacky workaround
2022-02-08 18:31:29 +01:00
Alexandre Paillier
399a95a464 Updated ERC 721 test
Removed hacky workaround. Also now properly waits for the promise of the last APDU.
2022-02-08 18:31:09 +01:00
Alexandre Paillier
6be9b49228 Updated ERC 1155 test
Removed hacky workaround. Also now properly waits for the promise of the last APDU.
2022-02-08 18:29:59 +01:00
Alexandre Paillier
c2aadf0aad Updated EIP 1559 test
Removed hacky workaround
2022-02-08 17:54:20 +01:00
Alexandre Paillier
675e72edec Updated chainid test
Removed hacky workaround
2022-02-08 17:47:12 +01:00
Alexandre Paillier
e51be2f041 Updated blind compound deposit test
Removed hacky workaround
2022-02-08 17:35:05 +01:00
Alexandre Paillier
1417120b4f Updated approve test
Removed hacky workaround
2022-02-08 17:35:03 +01:00