Crate icrc1_test_suite

Source

Structs§

Test

Enums§

Outcome

Functions§

execute_tests
Executes the list of tests concurrently and prints results using the TAP protocol (https://testanything.org/).
icrc1_test_bad_fee
Checks the ICRC-2 transfer from endpoint for correct handling of the insufficient bad fee error.
icrc1_test_burn
Checks whether the ledger supports token burns. Skips the checks if the ledger does not have a minting account.
icrc1_test_future_transfer
Checks the ICRC-2 transfer from endpoint for correct handling of the future transfer error.
icrc1_test_memo_bytes_length
Checks the ICRC-2 transfer from endpoint for correct handling of the length of the memo.
icrc1_test_metadata
Checks whether the ledger metadata entries agree with named methods.
icrc1_test_suite
Returns the entire list of icrc1 tests.
icrc1_test_supported_standards
Checks whether the ledger advertizes support for ICRC-1 standard.
icrc1_test_transfer
Checks whether the ledger supports token transfers and handles default sub accounts correctly.
icrc1_test_tx_deduplication
Checks whether the ledger applies deduplication of transactions correctly
icrc2_test_approve
Checks basic functionality of the ICRC-2 approve endpoint.
icrc2_test_approve_expected_allowance
Checks the ICRC-2 approve endpoint for correct handling of the expected allowance functionality.
icrc2_test_approve_expiration
Checks the ICRC-2 approve endpoint for correct handling of the expiration functionality.
icrc2_test_suite
Returns the entire list of icrc2 tests.
icrc2_test_supported_standards
Checks whether the ledger advertizes support for ICRC-2 standard.
icrc2_test_transfer_from
Checks the basic functionality of the ICRC-2 transfer from endpoint.
icrc2_test_transfer_from_insufficient_allowance
Checks the ICRC-2 transfer from endpoint for correct handling of the insufficient allowance error.
icrc2_test_transfer_from_insufficient_funds
Checks the ICRC-2 transfer from endpoint for correct handling of the insufficient funds error.
icrc2_test_transfer_from_self
Checks the ICRC-2 transfer from endpoint for correct handling of self transfers.
test
test_suite

Type Aliases§

TestResult