Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala committed Jul 7, 2022
1 parent b06db61 commit fd4f440
Show file tree
Hide file tree
Showing 12 changed files with 21,213 additions and 21,740 deletions.
2 changes: 1 addition & 1 deletion tests/printing_compact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ TEST_P(CompactPrintTests, CompactPrinting) {
char tmpOut[100];
char prefix[0];
uint8_t dummy;
err = _toStringCompactInt(&cvalue, GetParam().decimals, 0, prefix, tmpOut, 100, 0, &dummy);
err = _toStringCompactInt(&cvalue, GetParam().decimals, false, 0, prefix, tmpOut, 100, 0, &dummy);
EXPECT_EQ(err, parser_ok) << parser_getErrorDescription(err);

EXPECT_EQ(std::string(tmpOut), GetParam().expected);
Expand Down
21,825 changes: 10,649 additions & 11,176 deletions tests/testcases_current.json

Large diffs are not rendered by default.

21,102 changes: 10,551 additions & 10,551 deletions tests/testcases_previous.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions tests_tools/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests_zemu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"testSR25519": "jest tests/sr25519.test.ts"
},
"dependencies": {
"@zondax/ledger-substrate": "^0.31.0",
"@zondax/ledger-substrate": "^0.32.0",
"@zondax/zemu": "^0.32.0"
},
"devDependencies": {
Expand Down
Binary file modified tests_zemu/snapshots/s-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/s-mainmenu/00010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-mainmenu/00010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-mainmenu/00010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests_zemu/tests/zemu_blobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
******************************************************************************* */

export const txBalances_transfer =
'050000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05c0e2400000c00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
'050000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05c222400000d00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'

export const txStaking_nominate =
'070510003132333435363738393031323334353637383930313233343536373839303132003132333435363738393031323334353637383930313233343536373839303133003132333435363738393031323334353637383930313233343536373839303134003132333435363738393031323334353637383930313233343536373839303135d5038d2433158139ae28a3dfaac5fe1560a5e9e05c0e2400000c00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
'070510003132333435363738393031323334353637383930313233343536373839303132003132333435363738393031323334353637383930313233343536373839303133003132333435363738393031323334353637383930313233343536373839303134003132333435363738393031323334353637383930313233343536373839303135d5038d2433158139ae28a3dfaac5fe1560a5e9e05c222400000d00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'

export const txSession_setKeys =
'0900313233343536373839303132333435363738393031323334353637383930313231323334353637383930313233343536373839303132333435363738393031323132333435363738393031323334353637383930313233343536373839303132313233343536373839303132333435363738393031323334353637383930313200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100c293435d5038d2433158139ae28a3dfaac5fe1560a5e9e05c0e2400000c00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
'0900313233343536373839303132333435363738393031323334353637383930313231323334353637383930313233343536373839303132333435363738393031323132333435363738393031323334353637383930313233343536373839303132313233343536373839303132333435363738393031323334353637383930313200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100c293435d5038d2433158139ae28a3dfaac5fe1560a5e9e05c222400000d00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'

export const txUtility_batch =
'1a000800002c000000000058000000d5038d2433158139ae28a3dfaac5fe1560a5e9e05c0e2400000c00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
'1a000800002c000000000058000000d5038d2433158139ae28a3dfaac5fe1560a5e9e05c222400000d00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'

export const txProxy_proxy =
'1d00a0ae695f581cb80718d074388e9e5769659f38d6f6581bf8cfe9b1bb8c164f360100050000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05c0e2400000c00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
'1d00a0ae695f581cb80718d074388e9e5769659f38d6f6581bf8cfe9b1bb8c164f360100050000313233343536373839303132333435363738393031323334353637383930313233158139ae28a3dfaac5fe1560a5e9e05cd5038d2433158139ae28a3dfaac5fe1560a5e9e05c222400000d00000091b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c391b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'

0 comments on commit fd4f440

Please sign in to comment.