Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge proxy unit tests #223

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Conversation

CostinCarabas
Copy link
Contributor

No description provided.

@CostinCarabas CostinCarabas changed the base branch from feat/v3.5 to create-mock-contracts October 11, 2024 06:22
Copy link

Coverage Summary

Totals

Count Covered %
Lines 9355 6724 71.88
Regions 1599 1051 65.73
Functions 803 508 63.26
Instantiations 4828 1357 28.11

Files

Expand
File Lines Regions Functions Instantiations
/home/runner/.cargo/git/checkouts/mx-contracts-rs-13011bd47afef959/9c18d7c/contracts/crowdfunding-esdt/src/crowdfunding_esdt.rs 51.56% 57.14% 77.78% 64.00%
/home/runner/.cargo/git/checkouts/mx-contracts-rs-13011bd47afef959/9c18d7c/contracts/crowdfunding-esdt/src/crowdfunding_esdt_proxy.rs 100.00% 100.00% 100.00% 100.00%
/bridge-proxy/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/bridge-proxy/src/bridge-proxy.rs 75.00% 74.00% 76.92% 20.73%
/bridge-proxy/src/config.rs 60.71% 53.33% 75.00% 21.74%
/bridge-proxy/tests/bridge_proxy_blackbox_test.rs 94.72% 92.59% 83.33% 83.33%
/bridged-tokens-wrapper/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/bridged-tokens-wrapper/src/dfp_big_uint.rs 100.00% 100.00% 100.00% 50.00%
/bridged-tokens-wrapper/src/events.rs 100.00% 33.33% 100.00% 6.90%
/bridged-tokens-wrapper/src/lib.rs 99.10% 96.88% 100.00% 21.86%
/bridged-tokens-wrapper/tests/bridged_tokens_wrapper_whitebox_test.rs 90.06% 91.28% 90.62% 90.62%
/bridged-tokens-wrapper/tests/dfp_big_uint_test.rs 100.00% 100.00% 100.00% 100.00%
/bridged-tokens-wrapper/tests/scenario_go_test.rs 100.00% 100.00% 100.00% 100.00%
/common/eth-address/src/lib.rs 93.33% 66.67% 88.89% 48.39%
/common/fee-estimator-module/src/lib.rs 100.00% 93.75% 100.00% 21.98%
/common/fee-estimator-module/src/price_aggregator_proxy.rs 6.14% 4.76% 6.67% 5.26%
/common/max-bridged-amount-module/src/lib.rs 100.00% 87.50% 100.00% 18.45%
/common/mock-contracts/mock-bridged-tokens-wrapper/src/mock_bridged_tokens_wrapper.rs 100.00% 66.67% 100.00% 12.90%
/common/sc-proxies/src/bridge_proxy_contract_proxy.rs 45.88% 44.44% 44.44% 45.83%
/common/sc-proxies/src/bridged_tokens_wrapper_proxy.rs 41.80% 41.67% 41.67% 40.74%
/common/sc-proxies/src/crowdfunding_esdt_proxy.rs 0.00% 0.00% 0.00% 0.00%
/common/sc-proxies/src/esdt_safe_proxy.rs 57.71% 52.00% 52.00% 34.04%
/common/sc-proxies/src/multi_transfer_proxy.rs 35.29% 36.36% 36.36% 34.48%
/common/sc-proxies/src/multisig_proxy.rs 15.93% 12.63% 14.63% 14.29%
/common/token-module/src/lib.rs 85.00% 78.05% 85.71% 27.85%
/common/transaction/src/lib.rs 60.38% 50.98% 66.67% 31.84%
/common/transaction/src/transaction_status.rs 83.33% 66.67% 83.33% 41.67%
/common/tx-batch-module/src/batch_status.rs 66.67% 50.00% 66.67% 20.00%
/common/tx-batch-module/src/lib.rs 88.07% 80.82% 87.50% 21.81%
/common/tx-batch-module/src/tx_batch_mapper.rs 92.54% 89.66% 100.00% 41.25%
/esdt-safe/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/esdt-safe/src/lib.rs 82.14% 73.02% 82.14% 25.60%
/esdt-safe/tests/esdt_safe_blackbox_test.rs 98.53% 77.78% 100.00% 100.00%
/esdt-safe/tests/esdt_safe_scenario_rs_test.rs 100.00% 100.00% 100.00% 100.00%
/esdt-safe/tests/scenario_go_test.rs 100.00% 100.00% 100.00% 100.00%
/multi-transfer-esdt/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/multi-transfer-esdt/src/lib.rs 61.14% 60.66% 68.75% 25.33%
/multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs 99.85% 95.65% 100.00% 100.00%
/multi-transfer-esdt/tests/multi_transfer_esdt_scenario_rs_test.rs 57.14% 30.00% 30.00% 30.00%
/multi-transfer-esdt/tests/scenario_go_test.rs 30.00% 30.00% 30.00% 30.00%
/multisig/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/multisig/src/action.rs 25.00% 22.22% 33.33% 30.77%
/multisig/src/events.rs 100.00% 66.67% 100.00% 12.90%
/multisig/src/lib.rs 72.58% 72.00% 73.68% 27.08%
/multisig/src/multisig_general.rs 80.00% 65.38% 75.00% 30.77%
/multisig/src/queries.rs 64.52% 61.76% 57.89% 15.79%
/multisig/src/setup.rs 25.97% 32.61% 25.81% 7.00%
/multisig/src/storage.rs 100.00% 66.67% 100.00% 27.41%
/multisig/src/user_role.rs 83.33% 72.73% 75.00% 41.67%
/multisig/src/util.rs 94.44% 84.38% 100.00% 44.12%
/multisig/tests/multisig_blackbox_test.rs 100.00% 100.00% 100.00% 100.00%
/multisig/tests/multisig_scenario_rs_test.rs 82.69% 72.73% 72.73% 72.73%
/multisig/tests/scenario_go_test.rs 70.00% 70.00% 70.00% 70.00%
/test-caller/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/test-caller/src/test-caller.rs 0.00% 0.00% 0.00% 0.00%

@CostinCarabas CostinCarabas merged commit 3bc6706 into create-mock-contracts Oct 11, 2024
@CostinCarabas CostinCarabas deleted the bridge-proxy-unit-tests branch October 11, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant